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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001497/0.001497, allocations: 110.7 kB / 17.08 MB, free: 5.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.295/1.295, allocations: 222.9 MB / 242.7 MB, free: 15.21 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 186.6 kB / 295 MB, free: 12.67 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03827/0.03827, allocations: 8.798 MB / 356 MB, free: 15.9 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002786/0.002786, allocations: 83.88 kB / 476.8 MB, free: 1.945 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2248/0.2276, allocations: 51.57 MB / 0.516 GB, free: 12.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Transformer): time 0.05246/0.2801, allocations: 49.5 MB / 0.5643 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02596/0.3061, allocations: 12.89 MB / 0.5769 GB, free: 14.1 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008183/0.3144, allocations: 378.8 kB / 0.5773 GB, free: 13.73 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03042/0.3448, allocations: 13.81 MB / 0.5908 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01715/0.362, allocations: 5.429 MB / 0.5961 GB, free: 10.44 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009336/0.3713, allocations: 3.229 MB / 0.5992 GB, free: 7.227 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0303/0.4016, allocations: 24.21 MB / 0.6229 GB, free: 14.93 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.4459/0.8476, allocations: 46.96 MB / 0.6687 GB, free: 15.57 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01529/0.8629, allocations: 12.61 MB / 0.6811 GB, free: 14.61 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01741/0.8803, allocations: 13.82 MB / 0.6945 GB, free: 12.41 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008316/0.8887, allocations: 3.623 MB / 0.6981 GB, free: 12.41 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01103/0.8997, allocations: 4.105 MB / 0.7021 GB, free: 11.8 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00978/0.9096, allocations: 7.295 MB / 0.7092 GB, free: 9.66 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02068/0.9303, allocations: 13.89 MB / 0.7228 GB, free: 0 / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.06019/0.9905, allocations: 48.81 MB / 0.7704 GB, free: 2.398 MB / 0.4982 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.9905, allocations: 3.375 kB / 0.7704 GB, free: 2.398 MB / 0.4982 GB Notification: Performance of FrontEnd: time 1.583e-06/0.9905, allocations: 0 / 0.7704 GB, free: 2.398 MB / 0.4982 GB Notification: Performance of Transformations before backend: time 0.00106/0.9916, allocations: 0 / 0.7704 GB, free: 2.398 MB / 0.4982 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.07939/1.071, allocations: 28.12 MB / 0.7979 GB, free: 6.324 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/1.071, allocations: 8.031 kB / 0.7979 GB, free: 6.316 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07184/1.143, allocations: 14.05 MB / 0.8116 GB, free: 8.402 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02872/1.172, allocations: 15.03 MB / 0.8263 GB, free: 9.938 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001541/1.173, allocations: 1.575 MB / 0.8279 GB, free: 8.383 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006948/1.18, allocations: 2.077 MB / 0.8299 GB, free: 6.324 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07729/1.258, allocations: 34.72 MB / 0.8638 GB, free: 3.539 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006021/1.258, allocations: 31.45 kB / 0.8638 GB, free: 3.512 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004845/1.263, allocations: 0.8545 MB / 0.8647 GB, free: 2.676 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001194/1.264, allocations: 1.153 MB / 0.8658 GB, free: 1.52 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4304/1.695, allocations: 32.33 MB / 0.8974 GB, free: 191 MB / 0.592 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1321/1.827, allocations: 106.5 MB / 1.001 GB, free: 93.44 MB / 0.592 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03014/1.857, allocations: 50.86 MB / 1.051 GB, free: 39.2 MB / 0.592 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01223/1.869, allocations: 9.792 MB / 1.061 GB, free: 29.36 MB / 0.592 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03102/1.9, allocations: 22.55 MB / 1.083 GB, free: 7.172 MB / 0.592 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.147e-05/1.9, allocations: 133.9 kB / 1.083 GB, free: 7.027 MB / 0.592 GB Notification: Performance of pre-optimization done (n=894): time 8.857e-06/1.9, allocations: 0 / 1.083 GB, free: 7.027 MB / 0.592 GB Notification: Performance of matching and sorting (n=906): time 0.2654/2.166, allocations: 39.92 MB / 1.122 GB, free: 189.4 MB / 0.6077 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.151e-05/2.166, allocations: 167.4 kB / 1.122 GB, free: 189.3 MB / 0.6077 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009805/2.176, allocations: 8.356 MB / 1.13 GB, free: 186.3 MB / 0.6077 GB Notification: Performance of collectPreVariables (initialization): time 0.001293/2.177, allocations: 177.1 kB / 1.13 GB, free: 186.2 MB / 0.6077 GB Notification: Performance of collectInitialEqns (initialization): time 0.003448/2.18, allocations: 8.969 MB / 1.139 GB, free: 180.7 MB / 0.6077 GB Notification: Performance of collectInitialBindings (initialization): time 0.00244/2.183, allocations: 3.204 MB / 1.142 GB, free: 178.2 MB / 0.6077 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002907/2.186, allocations: 2.221 MB / 1.144 GB, free: 177.1 MB / 0.6077 GB Notification: Performance of setup shared object (initialization): time 3.665e-05/2.186, allocations: 304.4 kB / 1.145 GB, free: 176.8 MB / 0.6077 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007155/2.193, allocations: 6.248 MB / 1.151 GB, free: 174.5 MB / 0.6077 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009673/2.203, allocations: 9.958 MB / 1.16 GB, free: 167.5 MB / 0.6077 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01729/2.22, allocations: 17.24 MB / 1.177 GB, free: 156.7 MB / 0.6077 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.791e-05/2.22, allocations: 32.22 kB / 1.177 GB, free: 156.7 MB / 0.6077 GB Notification: Performance of matching and sorting (n=1484) (initialization): time 0.02828/2.248, allocations: 20.34 MB / 1.197 GB, free: 145.8 MB / 0.6077 GB Notification: Performance of prepare postOptimizeDAE: time 7.217e-05/2.249, allocations: 56 kB / 1.197 GB, free: 145.7 MB / 0.6077 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001443/2.249, allocations: 116.8 kB / 1.197 GB, free: 145.6 MB / 0.6077 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01085/2.26, allocations: 4.344 MB / 1.202 GB, free: 142.3 MB / 0.6077 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007828/2.267, allocations: 2.411 MB / 1.204 GB, free: 140.3 MB / 0.6077 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03862/2.306, allocations: 40.89 MB / 1.244 GB, free: 100.4 MB / 0.6077 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007778/2.314, allocations: 0.599 MB / 1.244 GB, free: 99.82 MB / 0.6077 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001355/2.315, allocations: 0.5195 MB / 1.245 GB, free: 99.3 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.009899/2.325, allocations: 7.919 MB / 1.253 GB, free: 91.37 MB / 0.6077 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001788/2.327, allocations: 0.951 MB / 1.254 GB, free: 90.41 MB / 0.6077 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02218/2.349, allocations: 17.02 MB / 1.27 GB, free: 73.25 MB / 0.6077 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-05/2.349, allocations: 92 kB / 1.27 GB, free: 73.16 MB / 0.6077 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.823e-05/2.349, allocations: 40 kB / 1.27 GB, free: 73.12 MB / 0.6077 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.879e-05/2.349, allocations: 47.81 kB / 1.27 GB, free: 73.07 MB / 0.6077 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04577/2.395, allocations: 35.83 MB / 1.305 GB, free: 37.15 MB / 0.6077 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.769e-05/2.395, allocations: 4 kB / 1.305 GB, free: 37.15 MB / 0.6077 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005342/2.4, allocations: 1.424 MB / 1.307 GB, free: 35.72 MB / 0.6077 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01106/2.412, allocations: 4.347 MB / 1.311 GB, free: 31.36 MB / 0.6077 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009764/2.413, allocations: 204 kB / 1.311 GB, free: 31.16 MB / 0.6077 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2499/2.662, allocations: 43.04 MB / 1.353 GB, free: 169.7 MB / 0.6077 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/2.662, allocations: 10.62 kB / 1.353 GB, free: 169.7 MB / 0.6077 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03125/2.694, allocations: 24.83 MB / 1.377 GB, free: 159.6 MB / 0.6077 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004455/2.698, allocations: 2.284 MB / 1.38 GB, free: 158.8 MB / 0.6077 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001661/2.7, allocations: 174.9 kB / 1.38 GB, free: 158.7 MB / 0.6077 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004617/2.705, allocations: 497.1 kB / 1.38 GB, free: 158.6 MB / 0.6077 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001425/2.706, allocations: 0.7073 MB / 1.381 GB, free: 158.5 MB / 0.6077 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005265/2.707, allocations: 257.3 kB / 1.381 GB, free: 158.4 MB / 0.6077 GB Notification: Performance of sorting global known variables: time 0.006943/2.713, allocations: 5.682 MB / 1.387 GB, free: 156.3 MB / 0.6077 GB Notification: Performance of sort global known variables: time 8.12e-07/2.713, allocations: 0 / 1.387 GB, free: 156.3 MB / 0.6077 GB Notification: Performance of remove unused functions: time 0.01091/2.724, allocations: 3.81 MB / 1.391 GB, free: 156 MB / 0.6077 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,13,100.0%), (1,8,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.001541/2.726, allocations: 466.8 kB / 1.391 GB, free: 155.7 MB / 0.6077 GB Notification: Performance of simCode: created initialization part: time 0.02096/2.747, allocations: 17.26 MB / 1.408 GB, free: 143.9 MB / 0.6077 GB Notification: Performance of simCode: created event and clocks part: time 8.797e-06/2.747, allocations: 4 kB / 1.408 GB, free: 143.8 MB / 0.6077 GB Notification: Performance of simCode: created simulation system equations: time 0.01272/2.76, allocations: 9.878 MB / 1.418 GB, free: 135.2 MB / 0.6077 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0107/2.77, allocations: 2.559 MB / 1.42 GB, free: 133.1 MB / 0.6077 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05177/2.822, allocations: 38.26 MB / 1.457 GB, free: 98.3 MB / 0.6077 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01296/2.835, allocations: 12.81 MB / 1.47 GB, free: 85.47 MB / 0.6077 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003148/2.838, allocations: 0.7493 MB / 1.471 GB, free: 84.72 MB / 0.6077 GB Notification: Performance of SimCode: time 5.21e-07/2.838, allocations: 1.094 kB / 1.471 GB, free: 84.72 MB / 0.6077 GB Notification: Performance of Templates: time 1.916/4.754, allocations: 1.131 GB / 2.602 GB, free: 154.8 MB / 0.6545 GB " [Timeout remaining time 655] 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: 30.693311874987558] Failed to read output from testmodel.py, exit status != 0: 4.7602639209944755 4.767826873 3.7756930250000003 Calling exit ...