Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMR_MTPA.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.001286/0.001286, allocations: 79.36 kB / 19.18 MB, free: 2.52 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.369/1.369, allocations: 177.2 MB / 199.5 MB, free: 8.422 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.0017/0.0017, allocations: 171.7 kB / 256 MB, free: 4.297 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.03965/0.03965, allocations: 6.666 MB / 319.1 MB, free: 5.359 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.SynchronousMachines.SMR_MTPA,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMR_MTPA") translateModel(HanserModelica.SynchronousMachines.SMR_MTPA,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMR_MTPA") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 445.9 MB, free: 25.14 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.645e-05/2.787e-05, allocations: 6.219 kB / 445.9 MB, free: 25.14 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMR_MTPA): time 0.01889/0.01891, allocations: 23.88 MB / 469.8 MB, free: 1.152 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0175/0.03642, allocations: 7.823 MB / 477.6 MB, free: 9.305 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005619/0.04204, allocations: 250.8 kB / 477.9 MB, free: 9.059 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01996/0.062, allocations: 7.817 MB / 485.7 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1759/0.2379, allocations: 2.791 MB / 488.5 MB, free: 16.56 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004879/0.2427, allocations: 1.822 MB / 490.3 MB, free: 16.56 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01136/0.2541, allocations: 10.13 MB / 0.4887 GB, free: 14.19 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01662/0.2707, allocations: 13.78 MB / 0.5022 GB, free: 7.473 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01085/0.2816, allocations: 7.966 MB / 0.5099 GB, free: 3.707 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00786/0.2894, allocations: 5.178 MB / 0.515 GB, free: 0.9648 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002577/0.292, allocations: 1.519 MB / 0.5165 GB, free: 15.45 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004508/0.2965, allocations: 1.902 MB / 0.5183 GB, free: 13.6 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003025/0.2995, allocations: 2.994 MB / 0.5213 GB, free: 10.79 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006757/0.3063, allocations: 3.836 MB / 0.525 GB, free: 7.137 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02422/0.3305, allocations: 20.6 MB / 0.5451 GB, free: 3.129 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.912e-06/0.3305, allocations: 4 kB / 0.5451 GB, free: 3.125 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3305, allocations: 4 kB / 0.5451 GB, free: 3.121 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004388/0.331, allocations: 0 / 0.5451 GB, free: 3.121 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2552 * Number of variables: 2552 Notification: Performance of Generate backend data structure: time 0.03495/0.3659, allocations: 11.66 MB / 0.5565 GB, free: 7.465 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.366, allocations: 15.98 kB / 0.5565 GB, free: 7.449 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03274/0.3987, allocations: 5.56 MB / 0.562 GB, free: 1.941 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0135/0.4122, allocations: 6.273 MB / 0.5681 GB, free: 11.88 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006762/0.4129, allocations: 0.688 MB / 0.5688 GB, free: 11.2 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002908/0.4158, allocations: 0.9036 MB / 0.5697 GB, free: 10.31 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0361/0.4519, allocations: 15.05 MB / 0.5843 GB, free: 11.22 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003039/0.4522, allocations: 23.89 kB / 0.5844 GB, free: 11.2 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002522/0.4547, allocations: 380.1 kB / 0.5847 GB, free: 10.83 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005858/0.4553, allocations: 0.5074 MB / 0.5852 GB, free: 10.32 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02872/0.484, allocations: 13.56 MB / 0.5985 GB, free: 12.77 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07272/0.5568, allocations: 40.5 MB / 0.638 GB, free: 4.105 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01461/0.5714, allocations: 7.854 MB / 0.6457 GB, free: 13.48 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004615/0.576, allocations: 2.744 MB / 0.6484 GB, free: 10.74 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003143/0.5763, allocations: 90.86 kB / 0.6485 GB, free: 10.65 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.687e-05/0.5764, allocations: 77.52 kB / 0.6485 GB, free: 10.56 MB / 494.1 MB Notification: Performance of pre-optimization done (n=375): time 8.977e-06/0.5764, allocations: 7.984 kB / 0.6485 GB, free: 10.55 MB / 494.1 MB Notification: Performance of matching and sorting (n=382): time 0.3261/0.9025, allocations: 14.52 MB / 0.6627 GB, free: 158.7 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.987e-05/0.9025, allocations: 90.12 kB / 0.6628 GB, free: 158.6 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004494/0.907, allocations: 3.442 MB / 0.6662 GB, free: 157.4 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004216/0.9074, allocations: 86.92 kB / 0.6662 GB, free: 157.3 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002066/0.9095, allocations: 4.08 MB / 0.6702 GB, free: 154.8 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009647/0.9104, allocations: 1.354 MB / 0.6716 GB, free: 153.7 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001518/0.912, allocations: 1.148 MB / 0.6727 GB, free: 153.1 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 3.552e-05/0.912, allocations: 311.4 kB / 0.673 GB, free: 152.8 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003446/0.9154, allocations: 2.554 MB / 0.6755 GB, free: 151.9 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004392/0.9198, allocations: 5.038 MB / 0.6804 GB, free: 147.7 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008128/0.928, allocations: 8.226 MB / 0.6884 GB, free: 142 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.728e-05/0.928, allocations: 22.03 kB / 0.6884 GB, free: 142 MB / 494.1 MB Notification: Performance of matching and sorting (n=755) (initialization): time 0.01187/0.9399, allocations: 8.477 MB / 0.6967 GB, free: 138.6 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.177e-05/0.94, allocations: 43 kB / 0.6968 GB, free: 138.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001288/0.9401, allocations: 82.66 kB / 0.6968 GB, free: 138.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00224/0.9423, allocations: 0.8389 MB / 0.6977 GB, free: 138.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004291/0.9466, allocations: 1.344 MB / 0.699 GB, free: 138.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009226/0.9559, allocations: 7.335 MB / 0.7061 GB, free: 132.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004526/0.9604, allocations: 328.8 kB / 0.7064 GB, free: 132.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009913/0.9614, allocations: 303.2 kB / 0.7067 GB, free: 132.2 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 373 * 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 (708): * Single equations (assignments): 707 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(8,40,65.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006027/0.9674, allocations: 3.48 MB / 0.7101 GB, free: 129.2 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001186/0.9686, allocations: 401.1 kB / 0.7105 GB, free: 128.8 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01002/0.9786, allocations: 5.807 MB / 0.7162 GB, free: 123.6 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-05/0.9786, allocations: 51.88 kB / 0.7162 GB, free: 123.6 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-05/0.9787, allocations: 8.656 kB / 0.7162 GB, free: 123.6 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-05/0.9787, allocations: 15.94 kB / 0.7163 GB, free: 123.6 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02318/1.002, allocations: 12.6 MB / 0.7286 GB, free: 110.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.888e-05/1.002, allocations: 8 kB / 0.7286 GB, free: 110.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002743/1.005, allocations: 0.6748 MB / 0.7292 GB, free: 110.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001943/1.007, allocations: 0.6933 MB / 0.7299 GB, free: 109.6 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003864/1.007, allocations: 87.97 kB / 0.73 GB, free: 109.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00765/1.015, allocations: 6.377 MB / 0.7362 GB, free: 103 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/1.015, allocations: 13 kB / 0.7362 GB, free: 103 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01167/1.026, allocations: 8.526 MB / 0.7446 GB, free: 94.34 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001964/1.028, allocations: 0.8095 MB / 0.7453 GB, free: 93.52 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008722/1.029, allocations: 68 kB / 0.7454 GB, free: 93.46 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002193/1.031, allocations: 179.9 kB / 0.7456 GB, free: 93.28 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005091/1.032, allocations: 274.4 kB / 0.7458 GB, free: 93.01 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002642/1.032, allocations: 116 kB / 0.746 GB, free: 92.9 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003162/1.035, allocations: 2.213 MB / 0.7481 GB, free: 90.69 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/1.035, allocations: 0 / 0.7481 GB, free: 90.69 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005348/1.041, allocations: 1.508 MB / 0.7496 GB, free: 89.18 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 1 (smr.phiMechanical) * 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 (365): * Single equations (assignments): 364 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(8,38,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000583/1.041, allocations: 269.4 kB / 0.7498 GB, free: 88.92 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008402/1.05, allocations: 6.164 MB / 0.7559 GB, free: 82.75 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/1.05, allocations: 2 kB / 0.7559 GB, free: 82.75 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003559/1.053, allocations: 2.663 MB / 0.7585 GB, free: 80.08 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004177/1.057, allocations: 0.8447 MB / 0.7593 GB, free: 79.28 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02296/1.08, allocations: 15.58 MB / 0.7745 GB, free: 63.6 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006101/1.086, allocations: 5.44 MB / 0.7798 GB, free: 58.11 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004253/1.091, allocations: 1.839 MB / 0.7816 GB, free: 56.26 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001122/1.092, allocations: 340.4 kB / 0.7819 GB, free: 55.93 MB / 494.1 MB Notification: Performance of SimCode: time 1.262e-06/1.092, allocations: 0 / 0.7819 GB, free: 55.93 MB / 494.1 MB Notification: Performance of Templates: time 0.08301/1.175, allocations: 52.64 MB / 0.8333 GB, free: 3.922 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMR_MTPA.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMR_MTPA.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMR_MTPA.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMR_MTPA.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMR_MTPA.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMR_MTPA -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMR_MTPA.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.272148743271828] Failed to read output from testmodel.py, exit status != 0: 1.1823630221188068 1.197501275 0.863581831 Calling exit ...