Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 80.44 kB / 19.76 MB, free: 1.867 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.603/1.603, allocations: 177.2 MB / 200.1 MB, free: 9.012 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002818/0.002818, allocations: 157.4 kB / 256.6 MB, free: 0.7383 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.0396/0.0396, allocations: 6.656 MB / 319.6 MB, free: 12.05 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(HanserModelica.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_DOL") translateModel(HanserModelica.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_DOL") [Timeout 660] "Notification: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00262/0.00262, allocations: 83.88 kB / 446.4 MB, free: 2.727 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4432/0.4458, allocations: 55.58 MB / 0.4902 GB, free: 76.3 MB / 446.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_DOL): time 0.03126/0.477, allocations: 33.46 MB / 0.5229 GB, free: 54.11 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.03108/0.5081, allocations: 10.03 MB / 0.5327 GB, free: 46.96 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01676/0.5249, allocations: 358 kB / 0.5331 GB, free: 46.84 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02684/0.5517, allocations: 10.02 MB / 0.5428 GB, free: 41.18 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02228/0.574, allocations: 4.144 MB / 0.5469 GB, free: 38.58 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01159/0.5856, allocations: 2.413 MB / 0.5493 GB, free: 37.08 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.03335/0.6189, allocations: 16.66 MB / 0.5655 GB, free: 28.54 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04039/0.6593, allocations: 20.32 MB / 0.5854 GB, free: 12.05 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02107/0.6804, allocations: 8.724 MB / 0.5939 GB, free: 3.301 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02168/0.7021, allocations: 9.203 MB / 0.6029 GB, free: 10.06 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009802/0.7119, allocations: 2.414 MB / 0.6052 GB, free: 7.648 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01493/0.7268, allocations: 2.812 MB / 0.608 GB, free: 4.84 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01306/0.7399, allocations: 4.82 MB / 0.6127 GB, free: 8 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02775/0.7676, allocations: 7.172 MB / 0.6197 GB, free: 8.805 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.06296/0.8306, allocations: 32.37 MB / 0.6513 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.099e-05/0.8306, allocations: 0 / 0.6513 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.416e-06/0.8306, allocations: 0 / 0.6513 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.001338/0.8319, allocations: 0 / 0.6513 GB, free: 8.34 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3921 * Number of variables: 3921 Notification: Performance of Generate backend data structure: time 0.6378/1.47, allocations: 18.98 MB / 0.6698 GB, free: 99 MB / 0.4982 GB Notification: Performance of prepare preOptimizeDAE: time 5.778e-05/1.47, allocations: 12.09 kB / 0.6698 GB, free: 99 MB / 0.4982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04787/1.518, allocations: 8.287 MB / 0.6779 GB, free: 97.56 MB / 0.4982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02702/1.545, allocations: 10.35 MB / 0.688 GB, free: 92.63 MB / 0.4982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001622/1.546, allocations: 1.063 MB / 0.6891 GB, free: 92.16 MB / 0.4982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007996/1.554, allocations: 1.401 MB / 0.6904 GB, free: 91.69 MB / 0.4982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08871/1.643, allocations: 23.1 MB / 0.713 GB, free: 82.25 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001134/1.644, allocations: 20.16 kB / 0.713 GB, free: 82.23 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009264/1.653, allocations: 0.577 MB / 0.7136 GB, free: 81.79 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001558/1.655, allocations: 0.7771 MB / 0.7143 GB, free: 81.66 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05366/1.709, allocations: 20.99 MB / 0.7348 GB, free: 64.55 MB / 0.4982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1314/1.84, allocations: 63.08 MB / 0.7964 GB, free: 1.062 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02863/1.869, allocations: 13.87 MB / 0.81 GB, free: 5.137 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01051/1.879, allocations: 4.736 MB / 0.8146 GB, free: 384 kB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03034/1.909, allocations: 11.42 MB / 0.8258 GB, free: 5.07 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001032/1.91, allocations: 90.75 kB / 0.8258 GB, free: 4.973 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=498): time 9.258e-06/1.91, allocations: 3.938 kB / 0.8258 GB, free: 4.969 MB / 0.5294 GB Notification: Performance of matching and sorting (n=506): time 0.07688/1.986, allocations: 25.91 MB / 0.8511 GB, free: 10.92 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001292/1.987, allocations: 133.3 kB / 0.8513 GB, free: 10.77 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0114/1.998, allocations: 5.527 MB / 0.8567 GB, free: 5.254 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001429/1.999, allocations: 105.7 kB / 0.8568 GB, free: 5.145 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.006575/2.006, allocations: 6.387 MB / 0.863 GB, free: 14.7 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.003791/2.01, allocations: 1.821 MB / 0.8648 GB, free: 12.87 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003857/2.014, allocations: 1.485 MB / 0.8662 GB, free: 11.38 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001608/2.014, allocations: 301.1 kB / 0.8665 GB, free: 11.08 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006996/2.021, allocations: 3.634 MB / 0.8701 GB, free: 7.441 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01011/2.031, allocations: 6.532 MB / 0.8764 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01818/2.049, allocations: 10.79 MB / 0.887 GB, free: 3.484 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001633/2.049, allocations: 28 kB / 0.887 GB, free: 3.457 MB / 0.5919 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.3716/2.421, allocations: 11.99 MB / 0.8987 GB, free: 174.9 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003107/2.421, allocations: 48.81 kB / 0.8988 GB, free: 174.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004163/2.422, allocations: 93.25 kB / 0.8989 GB, free: 174.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009848/2.431, allocations: 1.601 MB / 0.9004 GB, free: 174.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01278/2.444, allocations: 1.667 MB / 0.902 GB, free: 174.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0387/2.483, allocations: 18.76 MB / 0.9204 GB, free: 162.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01188/2.495, allocations: 425.5 kB / 0.9208 GB, free: 162.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002289/2.497, allocations: 371.1 kB / 0.9211 GB, free: 162.3 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 423 * Number of states: 0 () * Number of discrete variables: 6 (booleanStepQS[3].y,booleanStepQS[2].y,booleanStepQS[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (865): * Single equations (assignments): 858 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,1,100.0%), (12,64,52.1%), (1,5,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01699/2.514, allocations: 5.196 MB / 0.9262 GB, free: 159.8 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003243/2.517, allocations: 0.5916 MB / 0.9268 GB, free: 159.8 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02944/2.547, allocations: 9.148 MB / 0.9357 GB, free: 156.1 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01667/2.563, allocations: 5.858 MB / 0.9414 GB, free: 153.9 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001114/2.563, allocations: 19.41 kB / 0.9414 GB, free: 153.9 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001562/2.564, allocations: 25.78 kB / 0.9415 GB, free: 153.9 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06156/2.625, allocations: 17.99 MB / 0.959 GB, free: 146.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.183e-05/2.625, allocations: 6.688 kB / 0.959 GB, free: 146.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004332/2.63, allocations: 0.868 MB / 0.9599 GB, free: 146.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005678/2.635, allocations: 1.64 MB / 0.9615 GB, free: 146 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009374/2.636, allocations: 133.1 kB / 0.9616 GB, free: 145.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02959/2.666, allocations: 22.05 MB / 0.9832 GB, free: 130.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-05/2.666, allocations: 9.688 kB / 0.9832 GB, free: 130.8 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02452/2.69, allocations: 13.54 MB / 0.9964 GB, free: 120.8 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005475/2.696, allocations: 1.305 MB / 0.9977 GB, free: 119.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002864/2.699, allocations: 107.3 kB / 0.9978 GB, free: 119.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005388/2.704, allocations: 284.5 kB / 0.998 GB, free: 119.5 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001789/2.706, allocations: 437.3 kB / 0.9985 GB, free: 119.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009459/2.707, allocations: 162.8 kB / 0.9986 GB, free: 119.1 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.008122/2.715, allocations: 3.597 MB / 1.002 GB, free: 115.6 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.71e-07/2.715, allocations: 0 / 1.002 GB, free: 115.6 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01303/2.728, allocations: 2.337 MB / 1.004 GB, free: 113.2 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,loadInertiaQS.w,quadraticLoadTorqueQS.phi,imcQS.rotorCage.port_p.reference.gamma) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (438): * Single equations (assignments): 430 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,1,100.0%), (1,5,100.0%), (1,8,100.0%), (1,13,100.0%), (2,12,100.0%), (1,1,100.0%), (12,64,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001816/2.73, allocations: 308.6 kB / 1.005 GB, free: 113 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0168/2.747, allocations: 9.462 MB / 1.014 GB, free: 103.4 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.636e-05/2.747, allocations: 0 / 1.014 GB, free: 103.4 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.009728/2.756, allocations: 5.15 MB / 1.019 GB, free: 98.18 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01073/2.767, allocations: 1.453 MB / 1.02 GB, free: 96.76 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0556/2.823, allocations: 25.03 MB / 1.045 GB, free: 71.63 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01002/2.833, allocations: 8.505 MB / 1.053 GB, free: 63.07 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.006725/2.839, allocations: 2.481 MB / 1.056 GB, free: 60.58 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001192/2.841, allocations: 464.4 kB / 1.056 GB, free: 60.13 MB / 0.5919 GB Notification: Performance of SimCode: time 1.263e-06/2.841, allocations: 0 / 1.056 GB, free: 60.13 MB / 0.5919 GB Notification: Performance of Templates: time 0.5266/3.367, allocations: 89.48 MB / 1.143 GB, free: 158.5 MB / 0.5919 GB " [Timeout remaining time 657] make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.InductionMachines.IMC_DOL.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMC_DOL.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMC_DOL.sim & ./HanserModelica_HanserModelica.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.458407131023705] Failed to read output from testmodel.py, exit status != 0: 3.3794030309654772 3.39267641 2.558320643 Calling exit ...