Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMS_Start.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.001377/0.001377, allocations: 109.7 kB / 19.7 MB, free: 2.266 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.513/1.513, allocations: 230.6 MB / 253.4 MB, free: 14.43 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.00192/0.00192, allocations: 211.1 kB / 310 MB, free: 3.109 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.04368/0.04368, allocations: 8.914 MB / 375.3 MB, free: 6.754 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.IMS_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=15000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMS_Start") translateModel(HanserModelica.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=15000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMS_Start") [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.002811/0.002811, allocations: 83.88 kB / 0.4905 GB, free: 44.37 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.104, allocations: 55.6 MB / 0.5448 GB, free: 4.664 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMS_Start): time 0.3223/0.4263, allocations: 46.25 MB / 0.5899 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0424/0.4687, allocations: 12.15 MB / 0.6018 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01493/0.4837, allocations: 432.8 kB / 0.6022 GB, free: 9.871 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03392/0.5176, allocations: 12.56 MB / 0.6145 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02298/0.5406, allocations: 5.013 MB / 0.6194 GB, free: 13.5 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01284/0.5534, allocations: 3.113 MB / 0.6224 GB, free: 11 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.03612/0.5895, allocations: 21.25 MB / 0.6432 GB, free: 9.871 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06939/0.6589, allocations: 26.86 MB / 0.6694 GB, free: 14.79 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02515/0.6841, allocations: 11.23 MB / 0.6804 GB, free: 3.535 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02571/0.7098, allocations: 12.35 MB / 0.6924 GB, free: 7.141 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01069/0.7205, allocations: 3.137 MB / 0.6955 GB, free: 4.004 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01442/0.7349, allocations: 3.581 MB / 0.699 GB, free: 436 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01364/0.7485, allocations: 6.274 MB / 0.7051 GB, free: 10.13 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.03019/0.7787, allocations: 11.91 MB / 0.7167 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.06567/0.8444, allocations: 41.6 MB / 0.7574 GB, free: 4.441 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/0.8444, allocations: 4 kB / 0.7574 GB, free: 4.438 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.793e-06/0.8444, allocations: 7.938 kB / 0.7574 GB, free: 4.43 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.001449/0.8459, allocations: 0 / 0.7574 GB, free: 4.43 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5030 * Number of variables: 5030 Notification: Performance of Generate backend data structure: time 0.6187/1.465, allocations: 24.3 MB / 0.7811 GB, free: 148.2 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/1.465, allocations: 17.08 kB / 0.7811 GB, free: 148.2 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06211/1.527, allocations: 11.31 MB / 0.7922 GB, free: 146.4 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03557/1.562, allocations: 13.61 MB / 0.8055 GB, free: 140.2 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001945/1.564, allocations: 1.366 MB / 0.8068 GB, free: 139.6 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008692/1.573, allocations: 1.79 MB / 0.8085 GB, free: 139 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0728/1.646, allocations: 29.64 MB / 0.8375 GB, free: 115.3 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008614/1.647, allocations: 29.7 kB / 0.8375 GB, free: 115.3 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007068/1.654, allocations: 0.7413 MB / 0.8382 GB, free: 114.6 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008244/1.655, allocations: 0.9907 MB / 0.8392 GB, free: 113.6 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05594/1.71, allocations: 27.36 MB / 0.8659 GB, free: 86.2 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.159/1.869, allocations: 91.98 MB / 0.9558 GB, free: 9.676 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03448/1.904, allocations: 18.94 MB / 0.9743 GB, free: 9.812 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01414/1.918, allocations: 6.696 MB / 0.9808 GB, free: 3.105 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05054/1.969, allocations: 19.51 MB / 0.9998 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001251/1.969, allocations: 116.5 kB / 1 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=677): time 9.337e-06/1.969, allocations: 0 / 1 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of matching and sorting (n=685): time 0.6624/2.631, allocations: 37.32 MB / 1.036 GB, free: 187.9 MB / 0.6077 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/2.631, allocations: 148.5 kB / 1.037 GB, free: 187.8 MB / 0.6077 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01613/2.647, allocations: 7.155 MB / 1.044 GB, free: 185.3 MB / 0.6077 GB Notification: Performance of collectPreVariables (initialization): time 0.001522/2.649, allocations: 137.7 kB / 1.044 GB, free: 185.2 MB / 0.6077 GB Notification: Performance of collectInitialEqns (initialization): time 0.00549/2.654, allocations: 8.088 MB / 1.052 GB, free: 180.1 MB / 0.6077 GB Notification: Performance of collectInitialBindings (initialization): time 0.003237/2.658, allocations: 2.437 MB / 1.054 GB, free: 178.2 MB / 0.6077 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004259/2.662, allocations: 1.893 MB / 1.056 GB, free: 177.3 MB / 0.6077 GB Notification: Performance of setup shared object (initialization): time 5.297e-05/2.662, allocations: 304.8 kB / 1.056 GB, free: 177 MB / 0.6077 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007044/2.669, allocations: 4.866 MB / 1.061 GB, free: 175.2 MB / 0.6077 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009637/2.679, allocations: 8.354 MB / 1.069 GB, free: 168.9 MB / 0.6077 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01819/2.697, allocations: 14.02 MB / 1.083 GB, free: 159.6 MB / 0.6077 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001748/2.697, allocations: 31.94 kB / 1.083 GB, free: 159.6 MB / 0.6077 GB Notification: Performance of matching and sorting (n=1235) (initialization): time 0.03399/2.731, allocations: 15.95 MB / 1.098 GB, free: 152.3 MB / 0.6077 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001984/2.731, allocations: 56.03 kB / 1.098 GB, free: 152.2 MB / 0.6077 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002894/2.731, allocations: 112 kB / 1.098 GB, free: 152.1 MB / 0.6077 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006831/2.738, allocations: 2.568 MB / 1.101 GB, free: 150.1 MB / 0.6077 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008433/2.747, allocations: 2.109 MB / 1.103 GB, free: 148.3 MB / 0.6077 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03328/2.78, allocations: 30.01 MB / 1.132 GB, free: 118 MB / 0.6077 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01054/2.791, allocations: 0.5229 MB / 1.133 GB, free: 117.4 MB / 0.6077 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00255/2.793, allocations: 471.9 kB / 1.133 GB, free: 117 MB / 0.6077 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 511 * Number of states: 0 () * Number of discrete variables: 12 (booleanStepQS[3].y,booleanStepQS[2].y,booleanStepQS[1].y,rheostatQS.booleanStep[3].y,rheostatQS.booleanStep[2].y,rheostatQS.booleanStep[1].y,rheostatM.booleanStep[3].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[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 (1089): * Single equations (assignments): 1079 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 8 * 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): 8 systems {(1,1,100.0%), (18,100,38.3%), (1,5,100.0%), (1,1,100.0%), (1,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01568/2.809, allocations: 6.757 MB / 1.14 GB, free: 110.2 MB / 0.6077 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00374/2.813, allocations: 0.8074 MB / 1.141 GB, free: 109.4 MB / 0.6077 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02296/2.835, allocations: 12.71 MB / 1.153 GB, free: 96.54 MB / 0.6077 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01257/2.848, allocations: 8.189 MB / 1.161 GB, free: 88.25 MB / 0.6077 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.25e-05/2.848, allocations: 28.81 kB / 1.161 GB, free: 88.22 MB / 0.6077 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001385/2.848, allocations: 35.86 kB / 1.161 GB, free: 88.19 MB / 0.6077 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05832/2.907, allocations: 27.74 MB / 1.188 GB, free: 60.36 MB / 0.6077 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.826e-05/2.907, allocations: 12.02 kB / 1.188 GB, free: 60.35 MB / 0.6077 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005211/2.912, allocations: 1.112 MB / 1.189 GB, free: 59.24 MB / 0.6077 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006259/2.918, allocations: 2.631 MB / 1.192 GB, free: 56.57 MB / 0.6077 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001581/2.92, allocations: 159.9 kB / 1.192 GB, free: 56.42 MB / 0.6077 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03091/2.951, allocations: 34.79 MB / 1.226 GB, free: 20.42 MB / 0.6077 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.39e-05/2.951, allocations: 7.938 kB / 1.226 GB, free: 20.41 MB / 0.6077 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02857/2.979, allocations: 18.5 MB / 1.244 GB, free: 1.711 MB / 0.6077 GB Notification: Performance of postOpt removeConstants (simulation): time 0.3249/3.304, allocations: 1.776 MB / 1.246 GB, free: 173.5 MB / 0.6077 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003666/3.308, allocations: 125.3 kB / 1.246 GB, free: 173.5 MB / 0.6077 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006363/3.314, allocations: 386.6 kB / 1.246 GB, free: 173.5 MB / 0.6077 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002451/3.317, allocations: 0.564 MB / 1.247 GB, free: 173.5 MB / 0.6077 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001032/3.318, allocations: 203.4 kB / 1.247 GB, free: 173.5 MB / 0.6077 GB Notification: Performance of sorting global known variables: time 0.01059/3.328, allocations: 4.813 MB / 1.252 GB, free: 173.3 MB / 0.6077 GB Notification: Performance of sort global known variables: time 7e-08/3.328, allocations: 0 / 1.252 GB, free: 173.3 MB / 0.6077 GB Notification: Performance of remove unused functions: time 0.017/3.345, allocations: 3.061 MB / 1.255 GB, free: 173.3 MB / 0.6077 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 11 (ims.inertiaRotor.w,ims.stator.zeroInductor.i0,ims.stator.core.Phi.re,ims.stator.core.Phi.im,ims.rotor.zeroInductor.i0,ims.rotor.core.Phi.re,ims.rotor.core.Phi.im,quadraticLoadTorque.phi,imsQS.inertiaRotor.w,imsQS.rotor.stray.port_p.reference.gamma,quadraticLoadTorqueQS.phi) * Number of discrete variables: 12 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatQS.booleanStep[1].y,rheostatQS.booleanStep[2].y,rheostatQS.booleanStep[3].y,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 (560): * Single equations (assignments): 548 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(1,5,100.0%), (1,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (1,8,100.0%), (1,1,100.0%), (1,8,100.0%), (2,12,100.0%), (1,1,100.0%), (18,100,41.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002118/3.347, allocations: 343.1 kB / 1.255 GB, free: 173.2 MB / 0.6077 GB Notification: Performance of simCode: created initialization part: time 0.02622/3.374, allocations: 12.81 MB / 1.268 GB, free: 171.8 MB / 0.6077 GB Notification: Performance of simCode: created event and clocks part: time 1.426e-05/3.374, allocations: 1.844 kB / 1.268 GB, free: 171.8 MB / 0.6077 GB Notification: Performance of simCode: created simulation system equations: time 0.01256/3.386, allocations: 7.133 MB / 1.275 GB, free: 168.5 MB / 0.6077 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01711/3.403, allocations: 2.178 MB / 1.277 GB, free: 167.8 MB / 0.6077 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06716/3.47, allocations: 32.1 MB / 1.308 GB, free: 153.7 MB / 0.6077 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02095/3.491, allocations: 11.01 MB / 1.319 GB, free: 146.8 MB / 0.6077 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003341/3.495, allocations: 0.6854 MB / 1.319 GB, free: 146.1 MB / 0.6077 GB Notification: Performance of SimCode: time 1.282e-06/3.495, allocations: 0 / 1.319 GB, free: 146.1 MB / 0.6077 GB Notification: Performance of Templates: time 2.703/6.197, allocations: 1.235 GB / 2.554 GB, free: 176 MB / 0.6702 GB " [Timeout remaining time 654] make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMS_Start.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.InductionMachines.IMS_Start.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMS_Start.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMS_Start.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMS_Start.sim & ./HanserModelica_HanserModelica.InductionMachines.IMS_Start -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMS_Start.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 38.40714509412646] Failed to read output from testmodel.py, exit status != 0: 6.207653846824542 6.217602412 5.370312789 Calling exit ...