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.001613/0.001613, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.475/1.475, allocations: 230.6 MB / 253.4 MB, free: 14.29 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.001595/0.001595, allocations: 204.1 kB / 310 MB, free: 3.082 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.04124/0.04124, allocations: 8.92 MB / 375.3 MB, free: 6.637 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.002615/0.002615, allocations: 87.86 kB / 0.4942 GB, free: 40.34 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0964/0.09901, allocations: 55.61 MB / 0.5485 GB, free: 0.6328 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Transformer): time 0.292/0.391, allocations: 42.85 MB / 0.5903 GB, free: 3.461 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03409/0.4251, allocations: 12.8 MB / 0.6028 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01433/0.4394, allocations: 459 kB / 0.6033 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.037/0.4764, allocations: 13 MB / 0.616 GB, free: 2.203 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02515/0.5016, allocations: 5.561 MB / 0.6214 GB, free: 13.72 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01417/0.5157, allocations: 3.343 MB / 0.6247 GB, free: 11.06 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.03901/0.5547, allocations: 24.49 MB / 0.6486 GB, free: 4.5 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.07521/0.63, allocations: 29.99 MB / 0.6779 GB, free: 6.27 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02846/0.6584, allocations: 12.96 MB / 0.6905 GB, free: 9.309 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02907/0.6875, allocations: 13.64 MB / 0.7038 GB, free: 11.62 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01201/0.6995, allocations: 3.625 MB / 0.7074 GB, free: 8 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01621/0.7157, allocations: 4.109 MB / 0.7114 GB, free: 3.891 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01455/0.7303, allocations: 7.314 MB / 0.7185 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.03079/0.7611, allocations: 10.76 MB / 0.729 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.07545/0.8365, allocations: 49.05 MB / 0.7769 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 9.638e-06/0.8365, allocations: 4 kB / 0.7769 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.445e-06/0.8365, allocations: 0 / 0.7769 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.001516/0.838, allocations: 4 kB / 0.777 GB, free: 0.543 MB / 0.545 GB 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.5888/1.427, allocations: 28.07 MB / 0.8044 GB, free: 147.7 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.893e-05/1.427, allocations: 13.58 kB / 0.8044 GB, free: 147.7 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07883/1.506, allocations: 13.81 MB / 0.8179 GB, free: 138.7 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03664/1.542, allocations: 15.25 MB / 0.8328 GB, free: 123.5 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001924/1.544, allocations: 1.576 MB / 0.8343 GB, free: 121.9 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01088/1.555, allocations: 2.077 MB / 0.8363 GB, free: 119.8 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09457/1.65, allocations: 35.39 MB / 0.8709 GB, free: 84.23 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001401/1.651, allocations: 27.89 kB / 0.8709 GB, free: 84.2 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009103/1.66, allocations: 0.8581 MB / 0.8718 GB, free: 83.36 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001102/1.661, allocations: 1.154 MB / 0.8729 GB, free: 82.21 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0659/1.727, allocations: 32.28 MB / 0.9044 GB, free: 49.89 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2119/1.939, allocations: 93.42 MB / 0.9956 GB, free: 3.246 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.596/2.535, allocations: 22.67 MB / 1.018 GB, free: 189 MB / 0.6077 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01746/2.553, allocations: 8.962 MB / 1.027 GB, free: 188.8 MB / 0.6077 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04946/2.602, allocations: 20.4 MB / 1.046 GB, free: 180.3 MB / 0.6077 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001139/2.602, allocations: 129.6 kB / 1.047 GB, free: 180.2 MB / 0.6077 GB Notification: Performance of pre-optimization done (n=894): time 1.404e-05/2.602, allocations: 0 / 1.047 GB, free: 180.2 MB / 0.6077 GB Notification: Performance of matching and sorting (n=906): time 0.07307/2.675, allocations: 39.05 MB / 1.085 GB, free: 160.3 MB / 0.6077 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.889e-05/2.675, allocations: 172.5 kB / 1.085 GB, free: 160.1 MB / 0.6077 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01176/2.687, allocations: 7.766 MB / 1.092 GB, free: 153.8 MB / 0.6077 GB Notification: Performance of collectPreVariables (initialization): time 0.001887/2.689, allocations: 175.7 kB / 1.093 GB, free: 153.6 MB / 0.6077 GB Notification: Performance of collectInitialEqns (initialization): time 0.004935/2.694, allocations: 9.025 MB / 1.101 GB, free: 146.5 MB / 0.6077 GB Notification: Performance of collectInitialBindings (initialization): time 0.003855/2.698, allocations: 3.203 MB / 1.105 GB, free: 143.6 MB / 0.6077 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003759/2.702, allocations: 2.242 MB / 1.107 GB, free: 141.5 MB / 0.6077 GB Notification: Performance of setup shared object (initialization): time 5.31e-05/2.702, allocations: 305.1 kB / 1.107 GB, free: 141.2 MB / 0.6077 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008812/2.71, allocations: 6.254 MB / 1.113 GB, free: 135.4 MB / 0.6077 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01224/2.723, allocations: 10.03 MB / 1.123 GB, free: 123.7 MB / 0.6077 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0214/2.744, allocations: 17.28 MB / 1.14 GB, free: 104.8 MB / 0.6077 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001506/2.744, allocations: 32 kB / 1.14 GB, free: 104.7 MB / 0.6077 GB Notification: Performance of matching and sorting (n=1484) (initialization): time 0.03724/2.781, allocations: 20.14 MB / 1.16 GB, free: 84.51 MB / 0.6077 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001079/2.782, allocations: 52 kB / 1.16 GB, free: 84.46 MB / 0.6077 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002255/2.782, allocations: 121.2 kB / 1.16 GB, free: 84.34 MB / 0.6077 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0117/2.793, allocations: 4.32 MB / 1.164 GB, free: 80.01 MB / 0.6077 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00944/2.803, allocations: 2.426 MB / 1.166 GB, free: 77.58 MB / 0.6077 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04479/2.848, allocations: 39.39 MB / 1.205 GB, free: 37.62 MB / 0.6077 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01019/2.858, allocations: 0.5971 MB / 1.205 GB, free: 37.02 MB / 0.6077 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002878/2.861, allocations: 0.5311 MB / 1.206 GB, free: 36.49 MB / 0.6077 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.01444/2.875, allocations: 7.921 MB / 1.214 GB, free: 28.55 MB / 0.6077 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00292/2.878, allocations: 0.8967 MB / 1.214 GB, free: 27.65 MB / 0.6077 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02703/2.905, allocations: 16.69 MB / 1.231 GB, free: 10.86 MB / 0.6077 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.292e-05/2.905, allocations: 88 kB / 1.231 GB, free: 10.77 MB / 0.6077 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-05/2.905, allocations: 55.88 kB / 1.231 GB, free: 10.72 MB / 0.6077 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001765/2.905, allocations: 43.83 kB / 1.231 GB, free: 10.68 MB / 0.6077 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3738/3.279, allocations: 31.24 MB / 1.261 GB, free: 181.5 MB / 0.6233 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.811e-05/3.279, allocations: 9.531 kB / 1.261 GB, free: 181.5 MB / 0.6233 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007194/3.287, allocations: 1.438 MB / 1.263 GB, free: 181.4 MB / 0.6233 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01436/3.301, allocations: 4.327 MB / 1.267 GB, free: 181.3 MB / 0.6233 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001922/3.303, allocations: 217.6 kB / 1.267 GB, free: 181.3 MB / 0.6233 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04849/3.351, allocations: 41.27 MB / 1.308 GB, free: 158.8 MB / 0.6233 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.095e-06/3.351, allocations: 15.78 kB / 1.308 GB, free: 158.8 MB / 0.6233 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03968/3.391, allocations: 24.54 MB / 1.332 GB, free: 148.9 MB / 0.6233 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007656/3.399, allocations: 2.207 MB / 1.334 GB, free: 148.3 MB / 0.6233 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00339/3.402, allocations: 176.6 kB / 1.334 GB, free: 148.1 MB / 0.6233 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006913/3.409, allocations: 480.9 kB / 1.334 GB, free: 148 MB / 0.6233 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002195/3.411, allocations: 0.7617 MB / 1.335 GB, free: 147.9 MB / 0.6233 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006573/3.412, allocations: 268.8 kB / 1.335 GB, free: 147.8 MB / 0.6233 GB Notification: Performance of sorting global known variables: time 0.009533/3.421, allocations: 5.111 MB / 1.34 GB, free: 144.8 MB / 0.6233 GB Notification: Performance of sort global known variables: time 3.81e-07/3.421, allocations: 4 kB / 1.34 GB, free: 144.8 MB / 0.6233 GB Notification: Performance of remove unused functions: time 0.01775/3.439, allocations: 3.795 MB / 1.344 GB, free: 141.1 MB / 0.6233 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.002867/3.442, allocations: 479.2 kB / 1.345 GB, free: 140.6 MB / 0.6233 GB Notification: Performance of simCode: created initialization part: time 0.027/3.469, allocations: 16.56 MB / 1.361 GB, free: 126.2 MB / 0.6233 GB Notification: Performance of simCode: created event and clocks part: time 1.381e-05/3.469, allocations: 4 kB / 1.361 GB, free: 126.2 MB / 0.6233 GB Notification: Performance of simCode: created simulation system equations: time 0.0159/3.485, allocations: 9.322 MB / 1.37 GB, free: 116.9 MB / 0.6233 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01512/3.5, allocations: 2.162 MB / 1.372 GB, free: 114.8 MB / 0.6233 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07651/3.576, allocations: 38.3 MB / 1.409 GB, free: 76.4 MB / 0.6233 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.024/3.6, allocations: 12.58 MB / 1.422 GB, free: 63.77 MB / 0.6233 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003986/3.604, allocations: 0.7766 MB / 1.422 GB, free: 62.99 MB / 0.6233 GB Notification: Performance of SimCode: time 1.422e-06/3.604, allocations: 4 kB / 1.422 GB, free: 62.99 MB / 0.6233 GB Notification: Performance of Templates: time 2.403/6.008, allocations: 1.137 GB / 2.56 GB, free: 26.43 MB / 0.7014 GB " [Timeout remaining time 654] 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: 37.91991379484534] Failed to read output from testmodel.py, exit status != 0: 6.0176873030141 6.027165726 5.18789859 Calling exit ...