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.001424/0.001424, allocations: 93.06 kB / 19.65 MB, free: 280 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 0.9491/0.9491, allocations: 177.1 MB / 200 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] 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.001308/0.001308, allocations: 160.7 kB / 256.6 MB, free: 13 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.02507/0.02507, allocations: 6.66 MB / 319.8 MB, free: 26.54 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.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.452e-06/1.452e-06, allocations: 0 / 391.7 MB, free: 2.559 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.45e-05/1.595e-05, allocations: 2.312 kB / 391.7 MB, free: 2.555 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMR_MTPA): time 0.1407/0.1407, allocations: 26.75 MB / 418.4 MB, free: 69.34 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0123/0.153, allocations: 8.029 MB / 426.4 MB, free: 66.25 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003017/0.156, allocations: 252.5 kB / 426.7 MB, free: 66.16 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007751/0.1638, allocations: 8.4 MB / 435.1 MB, free: 61.07 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004627/0.1684, allocations: 2.82 MB / 437.9 MB, free: 58.86 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002233/0.1706, allocations: 1.864 MB / 439.8 MB, free: 57.43 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005059/0.1757, allocations: 10.14 MB / 449.9 MB, free: 49.02 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01025/0.1859, allocations: 13.8 MB / 463.7 MB, free: 35.09 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005424/0.1914, allocations: 8.035 MB / 471.7 MB, free: 27.04 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00355/0.1949, allocations: 5.763 MB / 477.5 MB, free: 21.27 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001088/0.196, allocations: 1.516 MB / 479 MB, free: 19.75 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001807/0.1978, allocations: 1.894 MB / 480.9 MB, free: 17.86 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001096/0.1989, allocations: 3.047 MB / 484 MB, free: 14.8 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002338/0.2012, allocations: 3.883 MB / 487.8 MB, free: 10.91 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005715/0.2069, allocations: 9.762 MB / 497.6 MB, free: 1.121 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.2069, allocations: 0 / 497.6 MB, free: 1.121 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.207, allocations: 0 / 497.6 MB, free: 1.121 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.342e-05/0.207, allocations: 0 / 497.6 MB, free: 1.121 MB / 330.7 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.014/0.221, allocations: 12.53 MB / 0.4982 GB, free: 4.5 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.2211, allocations: 8.031 kB / 0.4982 GB, free: 4.492 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01573/0.2368, allocations: 6.979 MB / 0.505 GB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006874/0.2437, allocations: 5.951 MB / 0.5108 GB, free: 7.48 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003208/0.244, allocations: 0.6868 MB / 0.5115 GB, free: 6.793 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009368/0.2449, allocations: 0.9139 MB / 0.5124 GB, free: 5.879 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01166/0.2566, allocations: 8.013 MB / 0.5202 GB, free: 13.79 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001372/0.2567, allocations: 15.94 kB / 0.5202 GB, free: 13.77 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000606/0.2573, allocations: 388 kB / 0.5206 GB, free: 13.39 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000338/0.2577, allocations: 0.5113 MB / 0.5211 GB, free: 12.88 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008921/0.2666, allocations: 4.331 MB / 0.5253 GB, free: 8.543 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2687/0.5353, allocations: 37.62 MB / 0.5621 GB, free: 74.54 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007177/0.5425, allocations: 6.772 MB / 0.5687 GB, free: 74.31 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001571/0.544, allocations: 1.347 MB / 0.57 GB, free: 74.28 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001975/0.5442, allocations: 117.4 kB / 0.5701 GB, free: 74.27 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.776e-05/0.5443, allocations: 77.12 kB / 0.5702 GB, free: 74.23 MB / 394.8 MB Notification: Performance of pre-optimization done (n=375): time 5.07e-06/0.5443, allocations: 0.7812 kB / 0.5702 GB, free: 74.23 MB / 394.8 MB Notification: Performance of matching and sorting (n=382): time 0.01263/0.5569, allocations: 8.762 MB / 0.5787 GB, free: 72.71 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.338e-05/0.5569, allocations: 93.44 kB / 0.5788 GB, free: 72.64 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002631/0.5596, allocations: 3.294 MB / 0.582 GB, free: 72.2 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001441/0.5597, allocations: 86.17 kB / 0.5821 GB, free: 72.17 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001612/0.5613, allocations: 4.318 MB / 0.5863 GB, free: 70.4 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006166/0.5619, allocations: 1.404 MB / 0.5877 GB, free: 69.54 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001313/0.5633, allocations: 1.292 MB / 0.589 GB, free: 69.42 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 3.658e-05/0.5633, allocations: 476.8 kB / 0.5894 GB, free: 68.95 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001517/0.5648, allocations: 0.824 MB / 0.5902 GB, free: 68.94 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002594/0.5674, allocations: 4.525 MB / 0.5946 GB, free: 64.43 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004638/0.572, allocations: 5.93 MB / 0.6004 GB, free: 59.86 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-05/0.5721, allocations: 23 kB / 0.6005 GB, free: 59.86 MB / 394.8 MB Notification: Performance of matching and sorting (n=755) (initialization): time 0.007333/0.5794, allocations: 5.199 MB / 0.6055 GB, free: 57.82 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.545e-05/0.5795, allocations: 42.34 kB / 0.6056 GB, free: 57.78 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.705e-05/0.5795, allocations: 82.11 kB / 0.6057 GB, free: 57.7 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001814/0.5813, allocations: 0.7994 MB / 0.6064 GB, free: 57.15 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002905/0.5842, allocations: 1.348 MB / 0.6078 GB, free: 56.14 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005403/0.5896, allocations: 5.066 MB / 0.6127 GB, free: 52.58 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002349/0.592, allocations: 328.2 kB / 0.613 GB, free: 52.39 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000328/0.5923, allocations: 304.6 kB / 0.6133 GB, free: 52.15 MB / 394.8 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.001453/0.5938, allocations: 0.5636 MB / 0.6139 GB, free: 51.84 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000613/0.5944, allocations: 0.5073 MB / 0.6143 GB, free: 51.38 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005002/0.5994, allocations: 3.313 MB / 0.6176 GB, free: 49.13 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.875e-05/0.5994, allocations: 44 kB / 0.6176 GB, free: 49.09 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/0.5994, allocations: 12.59 kB / 0.6176 GB, free: 49.08 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.397e-05/0.5994, allocations: 19.92 kB / 0.6177 GB, free: 49.06 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01266/0.6121, allocations: 10.55 MB / 0.628 GB, free: 38.63 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/0.6121, allocations: 5.438 kB / 0.628 GB, free: 38.63 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001312/0.6134, allocations: 0.6849 MB / 0.6286 GB, free: 37.98 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001227/0.6146, allocations: 0.6648 MB / 0.6293 GB, free: 37.31 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001283/0.6148, allocations: 83.98 kB / 0.6294 GB, free: 37.23 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003506/0.6183, allocations: 4.53 MB / 0.6338 GB, free: 32.61 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.6183, allocations: 7.375 kB / 0.6338 GB, free: 32.61 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004665/0.6229, allocations: 4.225 MB / 0.6379 GB, free: 28.26 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008815/0.6238, allocations: 0.7432 MB / 0.6386 GB, free: 27.52 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002305/0.6241, allocations: 72 kB / 0.6387 GB, free: 27.45 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007909/0.6248, allocations: 171.8 kB / 0.6389 GB, free: 27.28 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002336/0.6251, allocations: 273.4 kB / 0.6391 GB, free: 27.01 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001293/0.6252, allocations: 116 kB / 0.6392 GB, free: 26.9 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.001308/0.6265, allocations: 1.488 MB / 0.6407 GB, free: 25.42 MB / 394.8 MB Notification: Performance of sort global known variables: time 8e-08/0.6265, allocations: 0 / 0.6407 GB, free: 25.42 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.003081/0.6296, allocations: 1.512 MB / 0.6422 GB, free: 23.91 MB / 394.8 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.0003148/0.6299, allocations: 258.2 kB / 0.6424 GB, free: 23.69 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.003928/0.6338, allocations: 3.804 MB / 0.6461 GB, free: 20.1 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.6338, allocations: 4 kB / 0.6461 GB, free: 20.09 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001679/0.6355, allocations: 1.823 MB / 0.6479 GB, free: 18.32 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001843/0.6374, allocations: 0.8617 MB / 0.6488 GB, free: 17.52 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01112/0.6485, allocations: 13.1 MB / 0.6616 GB, free: 4.258 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0013/0.6498, allocations: 2.45 MB / 0.6639 GB, free: 1.773 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 0.002033/0.6518, allocations: 1.578 MB / 0.6655 GB, free: 200 kB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006176/0.6524, allocations: 341.6 kB / 0.6658 GB, free: 15.86 MB / 410.8 MB Notification: Performance of SimCode: time 8.32e-07/0.6524, allocations: 0 / 0.6658 GB, free: 15.86 MB / 410.8 MB Notification: Performance of Templates: time 0.1749/0.8273, allocations: 52.76 MB / 0.7173 GB, free: 132.1 MB / 442.8 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=240 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMR_MTPA.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.939705481752753]