Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.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.001356/0.001356, allocations: 78.25 kB / 19.76 MB, free: 2.027 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.566/1.566, allocations: 177.2 MB / 200.1 MB, free: 8.34 MB / 190.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.002033/0.002033, allocations: 167.1 kB / 256.6 MB, free: 4.273 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.03995/0.03995, allocations: 6.662 MB / 319.6 MB, free: 5.355 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.IMC_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_withLosses") translateModel(HanserModelica.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_withLosses") [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.003687/0.003687, allocations: 83.88 kB / 446.5 MB, free: 10.37 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.1594, allocations: 55.58 MB / 0.4903 GB, free: 2.695 MB / 414.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_withLosses): time 0.3684/0.5278, allocations: 21.49 MB / 0.5113 GB, free: 40.68 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02099/0.5488, allocations: 7.903 MB / 0.519 GB, free: 39.83 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00794/0.5567, allocations: 215.1 kB / 0.5192 GB, free: 39.77 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02072/0.5775, allocations: 8.244 MB / 0.5272 GB, free: 36.55 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01273/0.5902, allocations: 3.078 MB / 0.5302 GB, free: 34.69 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006548/0.5967, allocations: 1.831 MB / 0.532 GB, free: 33.59 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01526/0.612, allocations: 11.34 MB / 0.5431 GB, free: 27.83 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02654/0.6385, allocations: 14.46 MB / 0.5572 GB, free: 19.72 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01144/0.65, allocations: 6.089 MB / 0.5632 GB, free: 16.73 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01592/0.6659, allocations: 6.263 MB / 0.5693 GB, free: 13.73 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007517/0.6734, allocations: 1.719 MB / 0.571 GB, free: 13.72 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009881/0.6833, allocations: 2.132 MB / 0.573 GB, free: 13.58 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00707/0.6904, allocations: 3.407 MB / 0.5764 GB, free: 11.24 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01573/0.7061, allocations: 4.911 MB / 0.5812 GB, free: 8.223 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03907/0.7452, allocations: 23.29 MB / 0.6039 GB, free: 8.215 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.533e-06/0.7452, allocations: 4 kB / 0.6039 GB, free: 8.211 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.7452, allocations: 0 / 0.6039 GB, free: 8.211 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0007542/0.7459, allocations: 0 / 0.6039 GB, free: 8.211 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2685 * Number of variables: 2685 Notification: Performance of Generate backend data structure: time 0.05088/0.7968, allocations: 13.57 MB / 0.6172 GB, free: 10.55 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.203e-05/0.7969, allocations: 15.92 kB / 0.6172 GB, free: 10.53 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03787/0.8347, allocations: 6.253 MB / 0.6233 GB, free: 4.266 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01903/0.8538, allocations: 7.382 MB / 0.6305 GB, free: 12.8 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009779/0.8547, allocations: 0.7185 MB / 0.6312 GB, free: 12.08 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005576/0.8603, allocations: 0.9452 MB / 0.6321 GB, free: 11.14 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04909/0.9094, allocations: 16.31 MB / 0.648 GB, free: 10.73 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003385/0.9097, allocations: 15.94 kB / 0.6481 GB, free: 10.71 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003301/0.913, allocations: 400 kB / 0.6484 GB, free: 10.32 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006967/0.9137, allocations: 0.563 MB / 0.649 GB, free: 9.754 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03692/0.9507, allocations: 15.08 MB / 0.6637 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1033/1.054, allocations: 45.43 MB / 0.7081 GB, free: 12.21 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01846/1.072, allocations: 8.541 MB / 0.7164 GB, free: 4.41 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006865/1.079, allocations: 3.32 MB / 0.7197 GB, free: 1.086 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005508/1.08, allocations: 115.4 kB / 0.7198 GB, free: 0.9727 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.11e-05/1.08, allocations: 82.06 kB / 0.7199 GB, free: 0.8828 MB / 0.545 GB Notification: Performance of pre-optimization done (n=447): time 7.404e-06/1.08, allocations: 0 / 0.7199 GB, free: 0.8828 MB / 0.545 GB Notification: Performance of matching and sorting (n=452): time 0.5741/1.654, allocations: 20.41 MB / 0.7398 GB, free: 139.9 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.681e-05/1.654, allocations: 99.33 kB / 0.7399 GB, free: 139.9 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006871/1.661, allocations: 4.419 MB / 0.7442 GB, free: 138.3 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0008859/1.662, allocations: 98.7 kB / 0.7443 GB, free: 138.2 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002259/1.664, allocations: 4.354 MB / 0.7485 GB, free: 135.5 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001446/1.666, allocations: 1.612 MB / 0.7501 GB, free: 134.3 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001584/1.667, allocations: 1.208 MB / 0.7513 GB, free: 133.7 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.029e-05/1.667, allocations: 305.1 kB / 0.7516 GB, free: 133.4 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003884/1.671, allocations: 3.061 MB / 0.7546 GB, free: 132.2 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004702/1.676, allocations: 5.238 MB / 0.7597 GB, free: 128.3 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009918/1.686, allocations: 8.874 MB / 0.7684 GB, free: 122.5 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.796e-05/1.686, allocations: 19.97 kB / 0.7684 GB, free: 122.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.01823/1.704, allocations: 9.828 MB / 0.778 GB, free: 118.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.931e-05/1.704, allocations: 36.64 kB / 0.778 GB, free: 118.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001756/1.704, allocations: 71.25 kB / 0.7781 GB, free: 118.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003977/1.708, allocations: 1.375 MB / 0.7794 GB, free: 118.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00559/1.714, allocations: 1.39 MB / 0.7808 GB, free: 118.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01779/1.732, allocations: 12.04 MB / 0.7925 GB, free: 111 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005669/1.737, allocations: 347.9 kB / 0.7929 GB, free: 110.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001574/1.739, allocations: 300.2 kB / 0.7932 GB, free: 110.9 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 313 * 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 (720): * Single equations (assignments): 717 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (14,54,45.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01068/1.75, allocations: 3.9 MB / 0.797 GB, free: 108.9 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002658/1.752, allocations: 461.5 kB / 0.7974 GB, free: 108.7 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01589/1.768, allocations: 8.428 MB / 0.8056 GB, free: 105.2 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009868/1.778, allocations: 6.203 MB / 0.8117 GB, free: 102.1 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.575e-05/1.778, allocations: 12 kB / 0.8117 GB, free: 102.1 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.367e-05/1.778, allocations: 25.7 kB / 0.8117 GB, free: 102.1 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02788/1.806, allocations: 14.97 MB / 0.8263 GB, free: 88.17 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.825e-05/1.806, allocations: 8 kB / 0.8264 GB, free: 88.16 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003033/1.809, allocations: 0.8113 MB / 0.8271 GB, free: 87.35 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003049/1.812, allocations: 1.257 MB / 0.8284 GB, free: 86.08 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003749/1.812, allocations: 108 kB / 0.8285 GB, free: 85.98 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01227/1.825, allocations: 10.97 MB / 0.8392 GB, free: 74.83 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.865e-06/1.825, allocations: 18.12 kB / 0.8392 GB, free: 74.82 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01503/1.84, allocations: 11.15 MB / 0.8501 GB, free: 63.52 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002766/1.842, allocations: 1.036 MB / 0.8511 GB, free: 62.48 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006787/1.843, allocations: 88 kB / 0.8512 GB, free: 62.39 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002166/1.845, allocations: 235.7 kB / 0.8514 GB, free: 62.16 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006157/1.846, allocations: 343.3 kB / 0.8518 GB, free: 61.83 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002614/1.846, allocations: 140 kB / 0.8519 GB, free: 61.69 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003956/1.85, allocations: 2.954 MB / 0.8548 GB, free: 58.76 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/1.85, allocations: 0 / 0.8548 GB, free: 58.76 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00827/1.858, allocations: 1.726 MB / 0.8565 GB, free: 57.03 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 4 (imc.inertiaRotor.w,imc.rotorCage.port_p.reference.gamma,loadInertia.phi,PI.x) * 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 (417): * Single equations (assignments): 414 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (14,54,43.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002267/1.861, allocations: 0.5446 MB / 0.857 GB, free: 56.68 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01308/1.874, allocations: 7.662 MB / 0.8645 GB, free: 49 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.649e-05/1.874, allocations: 4.188 kB / 0.8645 GB, free: 49 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006972/1.881, allocations: 3.687 MB / 0.8681 GB, free: 45.29 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006917/1.888, allocations: 0.9603 MB / 0.869 GB, free: 44.36 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03558/1.923, allocations: 18.3 MB / 0.8869 GB, free: 25.93 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008722/1.932, allocations: 6.063 MB / 0.8928 GB, free: 19.83 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005311/1.937, allocations: 2.09 MB / 0.8948 GB, free: 17.73 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001186/1.938, allocations: 396.4 kB / 0.8952 GB, free: 17.34 MB / 0.545 GB Notification: Performance of SimCode: time 1.924e-06/1.938, allocations: 0 / 0.8952 GB, free: 17.34 MB / 0.545 GB Notification: Performance of Templates: time 0.4189/2.357, allocations: 66.49 MB / 0.9602 GB, free: 157.8 MB / 0.5763 GB " [Timeout remaining time 658] make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.sim & ./HanserModelica_HanserModelica.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.406942266970873] Failed to read output from testmodel.py, exit status != 0: 2.369927641004324 2.381039358 1.6322030810000001 Calling exit ...