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.001362/0.001362, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.509/1.509, allocations: 230.6 MB / 252.6 MB, free: 8.297 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.001641/0.001641, allocations: 219.6 kB / 309.2 MB, free: 3.145 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.04899/0.04899, allocations: 8.919 MB / 374.6 MB, free: 1.895 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.002914/0.002914, allocations: 83.88 kB / 0.4935 GB, free: 2.898 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3621/0.365, allocations: 55.61 MB / 0.5478 GB, free: 29.16 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Transformer): time 0.04936/0.4144, allocations: 50.41 MB / 0.5971 GB, free: 8.207 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03922/0.4536, allocations: 13.19 MB / 0.61 GB, free: 12.81 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01532/0.4689, allocations: 457.6 kB / 0.6104 GB, free: 12.36 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03803/0.507, allocations: 14.04 MB / 0.6241 GB, free: 14.29 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02443/0.5314, allocations: 5.663 MB / 0.6296 GB, free: 8.602 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01367/0.5451, allocations: 3.429 MB / 0.633 GB, free: 5.207 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.03899/0.5841, allocations: 24.51 MB / 0.6569 GB, free: 12.61 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06538/0.6494, allocations: 30.41 MB / 0.6866 GB, free: 13.96 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02502/0.6745, allocations: 12.94 MB / 0.6992 GB, free: 1.02 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.6534/1.328, allocations: 14.17 MB / 0.7131 GB, free: 38.24 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.02298/1.351, allocations: 3.624 MB / 0.7166 GB, free: 38.24 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02997/1.381, allocations: 4.144 MB / 0.7207 GB, free: 38.24 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.02403/1.405, allocations: 7.32 MB / 0.7278 GB, free: 37.44 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.04682/1.452, allocations: 13.8 MB / 0.7413 GB, free: 31 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.06921/1.521, allocations: 48.86 MB / 0.789 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/1.521, allocations: 0 / 0.789 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.503e-06/1.521, allocations: 0 / 0.789 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.001428/1.522, allocations: 0 / 0.789 GB, free: 0.5156 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.1001/1.622, allocations: 28.09 MB / 0.8164 GB, free: 6.344 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 6.373e-05/1.622, allocations: 8.031 kB / 0.8164 GB, free: 6.336 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07817/1.701, allocations: 13.82 MB / 0.8299 GB, free: 8.656 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04524/1.746, allocations: 15.29 MB / 0.8449 GB, free: 9.918 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002703/1.749, allocations: 1.571 MB / 0.8464 GB, free: 8.367 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01249/1.761, allocations: 2.079 MB / 0.8484 GB, free: 6.309 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1136/1.875, allocations: 34.79 MB / 0.8824 GB, free: 3.461 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001087/1.876, allocations: 27.42 kB / 0.8824 GB, free: 3.438 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009112/1.885, allocations: 0.8588 MB / 0.8833 GB, free: 2.598 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001459/1.886, allocations: 1.157 MB / 0.8844 GB, free: 1.438 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08273/1.969, allocations: 32.4 MB / 0.916 GB, free: 1.027 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6402/2.609, allocations: 105.5 MB / 1.019 GB, free: 153.2 MB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0345/2.644, allocations: 22.78 MB / 1.041 GB, free: 142.8 MB / 0.6232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01568/2.659, allocations: 8.968 MB / 1.05 GB, free: 135.1 MB / 0.6232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05563/2.715, allocations: 22.57 MB / 1.072 GB, free: 112.8 MB / 0.6232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001561/2.715, allocations: 137.8 kB / 1.072 GB, free: 112.7 MB / 0.6232 GB Notification: Performance of pre-optimization done (n=894): time 1.53e-05/2.715, allocations: 4 kB / 1.072 GB, free: 112.7 MB / 0.6232 GB Notification: Performance of matching and sorting (n=906): time 0.0924/2.808, allocations: 39.09 MB / 1.11 GB, free: 73.42 MB / 0.6232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/2.808, allocations: 172.5 kB / 1.111 GB, free: 73.23 MB / 0.6232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01508/2.823, allocations: 8.382 MB / 1.119 GB, free: 64.86 MB / 0.6232 GB Notification: Performance of collectPreVariables (initialization): time 0.002361/2.825, allocations: 173.7 kB / 1.119 GB, free: 64.68 MB / 0.6232 GB Notification: Performance of collectInitialEqns (initialization): time 0.00488/2.83, allocations: 9.007 MB / 1.128 GB, free: 55.66 MB / 0.6232 GB Notification: Performance of collectInitialBindings (initialization): time 0.004919/2.835, allocations: 3.202 MB / 1.131 GB, free: 52.5 MB / 0.6232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004244/2.839, allocations: 2.24 MB / 1.133 GB, free: 50.25 MB / 0.6232 GB Notification: Performance of setup shared object (initialization): time 6.229e-05/2.839, allocations: 301.1 kB / 1.133 GB, free: 49.95 MB / 0.6232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009066/2.848, allocations: 6.253 MB / 1.139 GB, free: 43.69 MB / 0.6232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01251/2.861, allocations: 9.978 MB / 1.149 GB, free: 32.08 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02417/2.885, allocations: 17.27 MB / 1.166 GB, free: 13.12 MB / 0.6232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001564/2.885, allocations: 39.94 kB / 1.166 GB, free: 13.09 MB / 0.6232 GB Notification: Performance of matching and sorting (n=1484) (initialization): time 0.3947/3.28, allocations: 20.2 MB / 1.186 GB, free: 188.5 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001051/3.28, allocations: 57.62 kB / 1.186 GB, free: 188.5 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002366/3.28, allocations: 121.7 kB / 1.186 GB, free: 188.5 MB / 0.6232 GB Notification: Tearing is skipped for strong component 1 because system size of 204 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing=. Notification: Performance of postOpt tearingSystem (initialization): time 0.00297/3.283, allocations: 0.9277 MB / 1.187 GB, free: 188.4 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01037/3.294, allocations: 2.419 MB / 1.189 GB, free: 188.4 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01125/3.305, allocations: 11.98 MB / 1.201 GB, free: 180.9 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01515/3.32, allocations: 0.5983 MB / 1.202 GB, free: 180.8 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003665/3.324, allocations: 0.5215 MB / 1.202 GB, free: 180.7 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): 2 * 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): 2 systems {(2,100.0%), (204,1.3%)} * 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 {(3,25,77.8%), (1,8,100.0%), (1,1,100.0%), (1,13,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.02345/3.347, allocations: 7.926 MB / 1.21 GB, free: 177 MB / 0.6232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004612/3.352, allocations: 0.9583 MB / 1.211 GB, free: 177 MB / 0.6232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04201/3.394, allocations: 16.75 MB / 1.227 GB, free: 170.4 MB / 0.6232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001093/3.394, allocations: 89.12 kB / 1.227 GB, free: 170.4 MB / 0.6232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001433/3.394, allocations: 43.59 kB / 1.227 GB, free: 170.4 MB / 0.6232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002745/3.394, allocations: 44.3 kB / 1.227 GB, free: 170.4 MB / 0.6232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08696/3.481, allocations: 35.82 MB / 1.262 GB, free: 155.9 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001206/3.481, allocations: 8 kB / 1.262 GB, free: 155.9 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007265/3.489, allocations: 1.434 MB / 1.264 GB, free: 154.6 MB / 0.6232 GB Notification: Tearing is skipped for strong component 14 because system size of 204 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing=. Notification: Performance of postOpt tearingSystem (simulation): time 0.003397/3.492, allocations: 0.9876 MB / 1.265 GB, free: 153.6 MB / 0.6232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00222/3.494, allocations: 219.8 kB / 1.265 GB, free: 153.4 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0138/3.508, allocations: 16.45 MB / 1.281 GB, free: 136.3 MB / 0.6232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/3.508, allocations: 4 kB / 1.281 GB, free: 136.3 MB / 0.6232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04336/3.551, allocations: 24.61 MB / 1.305 GB, free: 112.1 MB / 0.6232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01051/3.562, allocations: 2.293 MB / 1.307 GB, free: 110.3 MB / 0.6232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004677/3.567, allocations: 180 kB / 1.307 GB, free: 110.1 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008571/3.575, allocations: 487.5 kB / 1.308 GB, free: 109.7 MB / 0.6232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003134/3.578, allocations: 0.8455 MB / 1.309 GB, free: 108.8 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001138/3.579, allocations: 267.9 kB / 1.309 GB, free: 108.5 MB / 0.6232 GB Notification: Performance of sorting global known variables: time 0.01184/3.591, allocations: 5.709 MB / 1.314 GB, free: 102.9 MB / 0.6232 GB Notification: Performance of sort global known variables: time 2.61e-07/3.591, allocations: 0 / 1.314 GB, free: 102.9 MB / 0.6232 GB Notification: Performance of remove unused functions: time 0.01906/3.61, allocations: 3.475 MB / 1.318 GB, free: 99.38 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): 1 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(204,1.3%)} * 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): 7 systems {(1,1,100.0%), (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.003076/3.613, allocations: 468.4 kB / 1.318 GB, free: 98.94 MB / 0.6232 GB Notification: Performance of simCode: created initialization part: time 0.02717/3.641, allocations: 15.37 MB / 1.333 GB, free: 83.51 MB / 0.6232 GB Notification: Performance of simCode: created event and clocks part: time 1.881e-05/3.641, allocations: 3.562 kB / 1.333 GB, free: 83.51 MB / 0.6232 GB Notification: Performance of simCode: created simulation system equations: time 0.01698/3.658, allocations: 8.144 MB / 1.341 GB, free: 75.29 MB / 0.6232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0223/3.68, allocations: 2.572 MB / 1.344 GB, free: 72.78 MB / 0.6232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08687/3.767, allocations: 38.82 MB / 1.382 GB, free: 33.86 MB / 0.6232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02855/3.795, allocations: 13.14 MB / 1.394 GB, free: 20.66 MB / 0.6232 GB Notification: Performance of simCode: alias equations: time 0.01309/3.808, allocations: 4.001 MB / 1.398 GB, free: 16.65 MB / 0.6232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00371/3.812, allocations: 0.6985 MB / 1.399 GB, free: 15.96 MB / 0.6232 GB Notification: Performance of SimCode: time 2.645e-06/3.812, allocations: 0 / 1.399 GB, free: 15.96 MB / 0.6232 GB Notification: Performance of Templates: time 0.6046/4.417, allocations: 152.2 MB / 1.548 GB, free: 86.73 MB / 0.6232 GB " [Timeout remaining time 656] 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: 16.940860914066434] Failed to read output from testmodel.py, exit status != 0: 4.427958361105993 4.442869817 2.917547707 Calling exit ...