Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMC_Transformer.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.001592/0.001592, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.47/1.47, allocations: 230.6 MB / 253.4 MB, free: 8.305 MB / 206.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.001675/0.001675, allocations: 223.5 kB / 310 MB, free: 3.152 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.04149/0.04149, allocations: 8.917 MB / 375.3 MB, free: 1.914 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) Ignoring simflag -noemit -jacobian= since it seems broken on HelloWorld Running command: translateModel(HanserModelica.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=25000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_Transformer") translateModel(HanserModelica.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=25000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_Transformer") [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.002702/0.002702, allocations: 91.8 kB / 0.4943 GB, free: 2.922 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.362/0.3647, allocations: 55.61 MB / 0.5486 GB, free: 29.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Transformer): time 0.05015/0.4148, allocations: 50.43 MB / 0.5978 GB, free: 8.223 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0409/0.4557, allocations: 13.18 MB / 0.6107 GB, free: 12.82 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0169/0.4726, allocations: 457.6 kB / 0.6111 GB, free: 12.37 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03802/0.5106, allocations: 14.03 MB / 0.6248 GB, free: 14.3 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02724/0.5379, allocations: 5.659 MB / 0.6304 GB, free: 8.625 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01481/0.5527, allocations: 3.436 MB / 0.6337 GB, free: 5.219 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.04416/0.5968, allocations: 24.51 MB / 0.6577 GB, free: 12.63 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.07049/0.6673, allocations: 30.41 MB / 0.6874 GB, free: 13.98 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0279/0.6952, allocations: 12.93 MB / 0.7 GB, free: 1.043 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.6473/1.343, allocations: 14.16 MB / 0.7138 GB, free: 38.12 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01539/1.358, allocations: 3.625 MB / 0.7174 GB, free: 38.12 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02307/1.381, allocations: 4.15 MB / 0.7214 GB, free: 38.12 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01936/1.4, allocations: 7.325 MB / 0.7286 GB, free: 37.32 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.03667/1.437, allocations: 13.8 MB / 0.742 GB, free: 31 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.06277/1.5, allocations: 48.86 MB / 0.7898 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.115e-05/1.5, allocations: 4 kB / 0.7898 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.545e-06/1.5, allocations: 0 / 0.7898 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.001737/1.502, allocations: 2.438 kB / 0.7898 GB, free: 0.5312 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5818 * Number of variables: 5818 Notification: Performance of Generate backend data structure: time 0.1123/1.614, allocations: 28.09 MB / 0.8172 GB, free: 6.367 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 6.047e-05/1.614, allocations: 8.031 kB / 0.8172 GB, free: 6.359 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07893/1.693, allocations: 13.82 MB / 0.8307 GB, free: 8.676 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0456/1.738, allocations: 15.28 MB / 0.8456 GB, free: 9.938 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002387/1.741, allocations: 1.574 MB / 0.8472 GB, free: 8.383 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01175/1.753, allocations: 2.076 MB / 0.8492 GB, free: 6.324 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.12/1.873, allocations: 34.78 MB / 0.8831 GB, free: 3.473 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001554/1.874, allocations: 28.94 kB / 0.8832 GB, free: 3.445 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01157/1.886, allocations: 0.8538 MB / 0.884 GB, free: 2.609 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001632/1.887, allocations: 1.153 MB / 0.8851 GB, free: 1.453 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08926/1.977, allocations: 32.41 MB / 0.9168 GB, free: 1.039 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6463/2.623, allocations: 105.5 MB / 1.02 GB, free: 153.3 MB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03679/2.66, allocations: 22.78 MB / 1.042 GB, free: 142.8 MB / 0.6232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01628/2.676, allocations: 8.978 MB / 1.051 GB, free: 135.1 MB / 0.6232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05249/2.728, allocations: 22.57 MB / 1.073 GB, free: 112.9 MB / 0.6232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001185/2.729, allocations: 133.9 kB / 1.073 GB, free: 112.7 MB / 0.6232 GB Notification: Performance of pre-optimization done (n=894): time 1.392e-05/2.729, allocations: 0 / 1.073 GB, free: 112.7 MB / 0.6232 GB Notification: Performance of matching and sorting (n=906): time 0.08457/2.813, allocations: 39.09 MB / 1.111 GB, free: 73.49 MB / 0.6232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001159/2.813, allocations: 172.5 kB / 1.111 GB, free: 73.3 MB / 0.6232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01865/2.832, allocations: 8.386 MB / 1.12 GB, free: 64.92 MB / 0.6232 GB Notification: Performance of collectPreVariables (initialization): time 0.002393/2.834, allocations: 173.7 kB / 1.12 GB, free: 64.75 MB / 0.6232 GB Notification: Performance of collectInitialEqns (initialization): time 0.005913/2.84, allocations: 8.999 MB / 1.128 GB, free: 55.73 MB / 0.6232 GB Notification: Performance of collectInitialBindings (initialization): time 0.004375/2.845, allocations: 3.203 MB / 1.132 GB, free: 52.57 MB / 0.6232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009229/2.854, allocations: 2.237 MB / 1.134 GB, free: 50.32 MB / 0.6232 GB Notification: Performance of setup shared object (initialization): time 6.069e-05/2.854, allocations: 305.1 kB / 1.134 GB, free: 50.02 MB / 0.6232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01076/2.865, allocations: 6.261 MB / 1.14 GB, free: 43.75 MB / 0.6232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01322/2.878, allocations: 9.97 MB / 1.15 GB, free: 32.15 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02443/2.902, allocations: 17.27 MB / 1.167 GB, free: 13.19 MB / 0.6232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001698/2.902, allocations: 39.94 kB / 1.167 GB, free: 13.15 MB / 0.6232 GB Notification: Performance of matching and sorting (n=1484) (initialization): time 0.4843/3.387, allocations: 20.2 MB / 1.187 GB, free: 188.3 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001417/3.387, allocations: 58.84 kB / 1.187 GB, free: 188.3 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002713/3.387, allocations: 117.4 kB / 1.187 GB, free: 188.3 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01374/3.401, allocations: 4.325 MB / 1.191 GB, free: 188.2 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0108/3.412, allocations: 2.426 MB / 1.193 GB, free: 188.2 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05873/3.47, allocations: 40.29 MB / 1.233 GB, free: 166.7 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01311/3.484, allocations: 0.602 MB / 1.233 GB, free: 166.6 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003194/3.487, allocations: 0.5232 MB / 1.234 GB, free: 166.5 MB / 0.6232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 531 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1],booleanStep2QS[3].y,booleanStep2QS[2].y,booleanStep2QS[1].y,booleanStep1QS[3].y,booleanStep1QS[2].y,booleanStep1QS[1].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1230): * Single equations (assignments): 1223 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 6 * 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): 6 systems {(3,25,77.8%), (1,8,100.0%), (1,1,100.0%), (1,13,100.0%), (1,1,100.0%), (30,174,25.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0185/3.505, allocations: 7.922 MB / 1.241 GB, free: 162.8 MB / 0.6232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002864/3.508, allocations: 0.9569 MB / 1.242 GB, free: 162.8 MB / 0.6232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0278/3.536, allocations: 16.74 MB / 1.259 GB, free: 156.1 MB / 0.6232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.898e-05/3.536, allocations: 94.25 kB / 1.259 GB, free: 156.1 MB / 0.6232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.505e-05/3.536, allocations: 38.5 kB / 1.259 GB, free: 156.1 MB / 0.6232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001417/3.536, allocations: 50.23 kB / 1.259 GB, free: 156.1 MB / 0.6232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07692/3.613, allocations: 35.83 MB / 1.294 GB, free: 124.7 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-05/3.613, allocations: 8 kB / 1.294 GB, free: 124.7 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006573/3.62, allocations: 1.432 MB / 1.295 GB, free: 123.3 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01328/3.633, allocations: 4.338 MB / 1.3 GB, free: 118.9 MB / 0.6232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001989/3.635, allocations: 227.6 kB / 1.3 GB, free: 118.7 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05142/3.686, allocations: 42.23 MB / 1.341 GB, free: 76.12 MB / 0.6232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/3.686, allocations: 8 kB / 1.341 GB, free: 76.11 MB / 0.6232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03739/3.724, allocations: 24.62 MB / 1.365 GB, free: 51.7 MB / 0.6232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00811/3.732, allocations: 2.286 MB / 1.367 GB, free: 49.42 MB / 0.6232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003422/3.735, allocations: 180 kB / 1.368 GB, free: 49.24 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00705/3.742, allocations: 487.5 kB / 1.368 GB, free: 48.77 MB / 0.6232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002218/3.745, allocations: 0.754 MB / 1.369 GB, free: 48.01 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006384/3.745, allocations: 267.9 kB / 1.369 GB, free: 47.75 MB / 0.6232 GB Notification: Performance of sorting global known variables: time 0.01051/3.756, allocations: 5.709 MB / 1.375 GB, free: 42.05 MB / 0.6232 GB Notification: Performance of sort global known variables: time 1.61e-07/3.756, allocations: 3.938 kB / 1.375 GB, free: 42.05 MB / 0.6232 GB Notification: Performance of remove unused functions: time 0.01927/3.775, allocations: 3.806 MB / 1.378 GB, free: 38.25 MB / 0.6232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 12 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,quadraticLoadTorqueQS.phi,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,transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,quadraticLoadTorque.phi) * Number of discrete variables: 12 (booleanStep1QS[1].y,booleanStep1QS[2].y,booleanStep1QS[3].y,booleanStep2QS[1].y,booleanStep2QS[2].y,booleanStep2QS[3].y,idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (703): * Single equations (assignments): 695 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (30,174,25.9%), (1,8,100.0%), (3,25,88.9%), (1,1,100.0%), (1,8,100.0%), (1,13,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002814/3.778, allocations: 465 kB / 1.379 GB, free: 37.81 MB / 0.6232 GB Notification: Performance of simCode: created initialization part: time 0.02725/3.805, allocations: 16.56 MB / 1.395 GB, free: 21.16 MB / 0.6232 GB Notification: Performance of simCode: created event and clocks part: time 1.992e-05/3.805, allocations: 448 / 1.395 GB, free: 21.16 MB / 0.6232 GB Notification: Performance of simCode: created simulation system equations: time 0.01609/3.821, allocations: 9.346 MB / 1.404 GB, free: 11.69 MB / 0.6232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01513/3.836, allocations: 2.562 MB / 1.406 GB, free: 9.184 MB / 0.6232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4503/4.287, allocations: 38.4 MB / 1.444 GB, free: 168.7 MB / 0.6232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.04/4.327, allocations: 12.82 MB / 1.457 GB, free: 167.6 MB / 0.6232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006808/4.333, allocations: 0.8117 MB / 1.457 GB, free: 167.6 MB / 0.6232 GB Notification: Performance of SimCode: time 1.753e-06/4.333, allocations: 3.469 kB / 1.457 GB, free: 167.6 MB / 0.6232 GB Notification: Performance of Templates: time 2.728/7.062, allocations: 1.137 GB / 2.594 GB, free: 50.74 MB / 0.67 GB " [Timeout remaining time 653] make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMC_Transformer.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.InductionMachines.IMC_Transformer.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMC_Transformer.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMC_Transformer.sim & ./HanserModelica_HanserModelica.InductionMachines.IMC_Transformer -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 43.76952645811252] Failed to read output from testmodel.py, exit status != 0: 7.073686711024493 7.082571886 5.579859224 Calling exit ...