Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.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.002029/0.002029, allocations: 89.47 kB / 19.44 MB, free: 340 kB / 13.93 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.648/1.648, allocations: 177.1 MB / 199.7 MB, free: 5.816 MB / 186.7 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.002315/0.002315, allocations: 164.1 kB / 256.3 MB, free: 13.17 MB / 250.7 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.04135/0.04135, allocations: 6.658 MB / 319.4 MB, free: 26.58 MB / 266.7 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_Characteristics1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1") translateModel(HanserModelica.InductionMachines.IMS_Characteristics1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.274e-06/2.274e-06, allocations: 0 / 390.9 MB, free: 2.969 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.797e-05/4.025e-05, allocations: 5.828 kB / 390.9 MB, free: 2.965 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMS_Characteristics1): time 0.2258/0.2259, allocations: 25.91 MB / 416.8 MB, free: 69.07 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02342/0.2493, allocations: 8.084 MB / 424.9 MB, free: 66.82 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008811/0.2581, allocations: 237.7 kB / 425.2 MB, free: 66.75 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0232/0.2813, allocations: 9.84 MB / 435 MB, free: 60.71 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01369/0.295, allocations: 3.471 MB / 438.5 MB, free: 57.96 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007454/0.3025, allocations: 1.828 MB / 440.3 MB, free: 56.56 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01793/0.3204, allocations: 12.78 MB / 453.1 MB, free: 45.24 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02638/0.3468, allocations: 15.89 MB / 469 MB, free: 29.17 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02085/0.3676, allocations: 9.813 MB / 478.8 MB, free: 19.34 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01249/0.3801, allocations: 6.944 MB / 485.7 MB, free: 12.39 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00592/0.386, allocations: 1.832 MB / 487.6 MB, free: 10.55 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008424/0.3945, allocations: 2.23 MB / 489.8 MB, free: 8.324 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006027/0.4005, allocations: 3.744 MB / 493.5 MB, free: 4.57 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01292/0.4134, allocations: 4.686 MB / 498.2 MB, free: 15.87 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.04295/0.4564, allocations: 25.27 MB / 0.5112 GB, free: 6.539 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.523e-06/0.4564, allocations: 0 / 0.5112 GB, free: 6.539 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4564, allocations: 0 / 0.5112 GB, free: 6.539 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0008238/0.4572, allocations: 0 / 0.5112 GB, free: 6.539 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3035 * Number of variables: 3035 Notification: Performance of Generate backend data structure: time 0.05562/0.5128, allocations: 16.78 MB / 0.5276 GB, free: 5.652 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.997e-05/0.5129, allocations: 12.03 kB / 0.5276 GB, free: 5.641 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09306/0.6059, allocations: 10.37 MB / 0.5377 GB, free: 11.25 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02347/0.6294, allocations: 7.425 MB / 0.545 GB, free: 3.734 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001385/0.6308, allocations: 0.8067 MB / 0.5458 GB, free: 2.926 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006253/0.637, allocations: 1.066 MB / 0.5468 GB, free: 1.859 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3599/0.997, allocations: 18.72 MB / 0.5651 GB, free: 104.1 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000354/0.9973, allocations: 16.69 kB / 0.5651 GB, free: 104.1 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002605/0.9999, allocations: 450.6 kB / 0.5655 GB, free: 103.8 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006334/1.001, allocations: 0.6705 MB / 0.5662 GB, free: 103.7 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03143/1.032, allocations: 15.5 MB / 0.5813 GB, free: 95.04 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1288/1.161, allocations: 105.9 MB / 0.6847 GB, free: 1.164 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02745/1.188, allocations: 11.94 MB / 0.6964 GB, free: 7.254 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007428/1.196, allocations: 3.16 MB / 0.6995 GB, free: 4.07 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001064/1.197, allocations: 163.9 kB / 0.6996 GB, free: 3.906 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001154/1.197, allocations: 88.7 kB / 0.6997 GB, free: 3.809 MB / 426.8 MB Notification: Performance of pre-optimization done (n=518): time 9.138e-06/1.197, allocations: 0 / 0.6997 GB, free: 3.809 MB / 426.8 MB Notification: Performance of matching and sorting (n=524): time 0.05303/1.25, allocations: 18.58 MB / 0.7179 GB, free: 1.461 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001277/1.25, allocations: 111.4 kB / 0.718 GB, free: 1.336 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.172/1.422, allocations: 5.736 MB / 0.7236 GB, free: 131 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007636/1.423, allocations: 109.5 kB / 0.7237 GB, free: 131 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003204/1.426, allocations: 5.235 MB / 0.7288 GB, free: 129.6 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001965/1.428, allocations: 2.039 MB / 0.7308 GB, free: 128.4 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002599/1.431, allocations: 1.794 MB / 0.7325 GB, free: 128.3 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 6.005e-05/1.431, allocations: 476.8 kB / 0.733 GB, free: 127.8 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003848/1.434, allocations: 2.744 MB / 0.7357 GB, free: 127.8 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005547/1.44, allocations: 6.676 MB / 0.7422 GB, free: 123.5 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01335/1.453, allocations: 10.72 MB / 0.7527 GB, free: 118.2 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001842/1.454, allocations: 22.38 kB / 0.7527 GB, free: 118.2 MB / 442.8 MB Notification: Performance of matching and sorting (n=910) (initialization): time 0.02002/1.474, allocations: 9.934 MB / 0.7624 GB, free: 114.4 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.032e-05/1.474, allocations: 46.38 kB / 0.7624 GB, free: 114.4 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000206/1.474, allocations: 77.16 kB / 0.7625 GB, free: 114.4 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004984/1.479, allocations: 1.601 MB / 0.7641 GB, free: 114.1 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006083/1.485, allocations: 1.619 MB / 0.7656 GB, free: 113.9 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01501/1.5, allocations: 11.61 MB / 0.777 GB, free: 107.5 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005082/1.505, allocations: 390.9 kB / 0.7773 GB, free: 107.4 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001098/1.506, allocations: 339 kB / 0.7777 GB, free: 107.3 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 354 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (840): * Single equations (assignments): 838 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,56,40.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005828/1.512, allocations: 3.797 MB / 0.7814 GB, free: 105.3 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001407/1.513, allocations: 0.6334 MB / 0.782 GB, free: 105 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01203/1.525, allocations: 7.158 MB / 0.789 GB, free: 99.07 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009114/1.534, allocations: 5.888 MB / 0.7947 GB, free: 93.09 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.125e-05/1.534, allocations: 16 kB / 0.7947 GB, free: 93.07 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.165e-05/1.535, allocations: 27.89 kB / 0.7948 GB, free: 93.05 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03529/1.57, allocations: 20.4 MB / 0.8147 GB, free: 72.46 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-05/1.57, allocations: 0 / 0.8147 GB, free: 72.46 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003803/1.574, allocations: 0.9403 MB / 0.8156 GB, free: 71.52 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004171/1.578, allocations: 1.449 MB / 0.817 GB, free: 70.07 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008444/1.579, allocations: 120 kB / 0.8171 GB, free: 69.95 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01225/1.591, allocations: 10.33 MB / 0.8272 GB, free: 59.5 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.591, allocations: 0 / 0.8272 GB, free: 59.5 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0152/1.606, allocations: 10.06 MB / 0.8371 GB, free: 49.23 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003525/1.61, allocations: 0.9964 MB / 0.838 GB, free: 48.23 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001207/1.611, allocations: 104 kB / 0.8381 GB, free: 48.13 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002976/1.614, allocations: 255.7 kB / 0.8384 GB, free: 47.88 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008171/1.615, allocations: 372.2 kB / 0.8387 GB, free: 47.51 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003006/1.615, allocations: 156 kB / 0.8389 GB, free: 47.36 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.00392/1.619, allocations: 2.923 MB / 0.8417 GB, free: 44.45 MB / 442.8 MB Notification: Performance of sort global known variables: time 7e-08/1.619, allocations: 4 kB / 0.8417 GB, free: 44.45 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.007774/1.627, allocations: 1.918 MB / 0.8436 GB, free: 42.53 MB / 442.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (ims.rotor.stray.port_p.reference.gamma,speed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (499): * Single equations (assignments): 497 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,56,40.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001017/1.628, allocations: 301.6 kB / 0.8439 GB, free: 42.24 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.01254/1.64, allocations: 7.898 MB / 0.8516 GB, free: 34.27 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 8.877e-06/1.64, allocations: 0 / 0.8516 GB, free: 34.27 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.006756/1.647, allocations: 3.733 MB / 0.8553 GB, free: 30.49 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004975/1.652, allocations: 1.06 MB / 0.8563 GB, free: 29.5 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0279/1.68, allocations: 18.02 MB / 0.8739 GB, free: 11.31 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1752/1.855, allocations: 5.985 MB / 0.8797 GB, free: 113.4 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.006077/1.861, allocations: 1.938 MB / 0.8816 GB, free: 113.3 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001534/1.863, allocations: 435.8 kB / 0.882 GB, free: 113.3 MB / 442.8 MB Notification: Performance of SimCode: time 2.385e-06/1.863, allocations: 0 / 0.882 GB, free: 113.3 MB / 442.8 MB Notification: Performance of Templates: time 0.1163/1.979, allocations: 71.55 MB / 0.9519 GB, free: 74.59 MB / 442.8 MB " [Timeout remaining time 658] make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.sim & ./HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.370624793111347]