Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.StarPolygon.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.001007/0.001007, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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.9946/0.9946, allocations: 177.2 MB / 201 MB, free: 5.711 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.00118/0.00118, allocations: 152.7 kB / 257.7 MB, free: 12.99 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.04866/0.04866, allocations: 6.662 MB / 320.9 MB, free: 26.35 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.Electrical.StarPolygon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.StarPolygon") translateModel(HanserModelica.Electrical.StarPolygon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.StarPolygon") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 8.51e-07/8.51e-07, allocations: 0 / 392.9 MB, free: 2.277 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.021e-05/1.106e-05, allocations: 2.312 kB / 392.9 MB, free: 2.273 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.StarPolygon): time 0.003719/0.00373, allocations: 4.022 MB / 396.9 MB, free: 14.23 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001771/0.005501, allocations: 1.176 MB / 398.1 MB, free: 13.05 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002429/0.005744, allocations: 35.75 kB / 398.1 MB, free: 13.01 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002609/0.006005, allocations: 182.6 kB / 398.3 MB, free: 12.83 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006127/0.006617, allocations: 305.9 kB / 398.6 MB, free: 12.53 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003152/0.006933, allocations: 191.6 kB / 398.8 MB, free: 12.34 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001708/0.008641, allocations: 2.528 MB / 401.3 MB, free: 9.805 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001204/0.009845, allocations: 1.297 MB / 402.6 MB, free: 8.453 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001694/0.01154, allocations: 1.778 MB / 404.4 MB, free: 6.672 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00149/0.01303, allocations: 1.415 MB / 405.8 MB, free: 5.254 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004631/0.01349, allocations: 316 kB / 406.1 MB, free: 4.945 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000355/0.01385, allocations: 331.9 kB / 406.4 MB, free: 4.621 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005431/0.01439, allocations: 0.8843 MB / 407.3 MB, free: 3.734 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009443/0.01534, allocations: 1.002 MB / 408.3 MB, free: 2.73 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002092/0.01743, allocations: 2.465 MB / 410.8 MB, free: 264 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.01743, allocations: 0 / 410.8 MB, free: 264 kB / 330.7 MB Notification: Performance of FrontEnd: time 9.51e-07/0.01743, allocations: 4 kB / 410.8 MB, free: 260 kB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001143/0.01755, allocations: 0 / 410.8 MB, free: 260 kB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.1245/0.142, allocations: 4.853 MB / 415.6 MB, free: 80.27 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.1421, allocations: 10.56 kB / 415.6 MB, free: 80.27 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008955/0.143, allocations: 0.5053 MB / 416.1 MB, free: 80.12 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001539/0.1445, allocations: 1.193 MB / 417.3 MB, free: 79.53 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001386/0.1446, allocations: 172 kB / 417.5 MB, free: 79.45 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002735/0.1449, allocations: 242.8 kB / 417.7 MB, free: 79.37 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002346/0.1473, allocations: 1.764 MB / 419.5 MB, free: 78.69 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.269e-05/0.1473, allocations: 6.266 kB / 419.5 MB, free: 78.69 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00013/0.1474, allocations: 96.58 kB / 419.6 MB, free: 78.61 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-05/0.1475, allocations: 55.97 kB / 419.7 MB, free: 78.61 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00111/0.1486, allocations: 0.5695 MB / 420.2 MB, free: 78.55 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005764/0.1543, allocations: 5.695 MB / 425.9 MB, free: 75.12 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007612/0.1551, allocations: 0.8073 MB / 426.7 MB, free: 74.77 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004558/0.1556, allocations: 427.4 kB / 427.1 MB, free: 74.62 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.352e-05/0.1556, allocations: 25.02 kB / 427.2 MB, free: 74.62 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004594/0.1561, allocations: 0.6707 MB / 427.8 MB, free: 74.08 MB / 330.7 MB Notification: Performance of pre-optimization done (n=122): time 2.945e-06/0.1561, allocations: 0 / 427.8 MB, free: 74.08 MB / 330.7 MB Notification: Performance of matching and sorting (n=127): time 0.002278/0.1583, allocations: 1.937 MB / 429.8 MB, free: 72.37 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/0.1584, allocations: 197.2 kB / 430 MB, free: 72.13 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005718/0.159, allocations: 1.04 MB / 431 MB, free: 71.07 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.304e-05/0.159, allocations: 57.69 kB / 431.1 MB, free: 71.01 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000374/0.1594, allocations: 1.093 MB / 432.2 MB, free: 69.91 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001781/0.1596, allocations: 468.2 kB / 432.6 MB, free: 69.45 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002069/0.1598, allocations: 276.4 kB / 432.9 MB, free: 69.17 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.742e-05/0.1599, allocations: 0.5589 MB / 433.4 MB, free: 68.6 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001647/0.16, allocations: 133.4 kB / 433.6 MB, free: 68.47 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003036/0.1603, allocations: 0.6745 MB / 434.3 MB, free: 67.61 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004943/0.1608, allocations: 0.7358 MB / 435 MB, free: 66.75 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.1608, allocations: 4 kB / 435 MB, free: 66.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.0008978/0.1617, allocations: 0.9565 MB / 435.9 MB, free: 65.79 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.1617, allocations: 8 kB / 436 MB, free: 65.78 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.1618, allocations: 15.86 kB / 436 MB, free: 65.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003188/0.1621, allocations: 189.2 kB / 436.2 MB, free: 65.58 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004864/0.1626, allocations: 255.6 kB / 436.4 MB, free: 65.33 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00171/0.1643, allocations: 3.155 MB / 439.6 MB, free: 62.07 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003396/0.1646, allocations: 59.98 kB / 439.6 MB, free: 62.01 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.573e-05/0.1647, allocations: 39.92 kB / 439.7 MB, free: 61.97 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquare[5].mean.y_last,$PRE.rootMeanSquare[5].mean.y_last,rootMeanSquare[4].mean.y_last,$PRE.rootMeanSquare[4].mean.y_last,rootMeanSquare[3].mean.y_last,$PRE.rootMeanSquare[3].mean.y_last,rootMeanSquare[2].mean.y_last,$PRE.rootMeanSquare[2].mean.y_last,rootMeanSquare[1].mean.y_last,$PRE.rootMeanSquare[1].mean.y_last,switch.control[1],switch.control[2],switch.control[3],switch.control[4],switch.control[5]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (139): * Single equations (assignments): 138 * 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 {(3,22,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002877/0.1649, allocations: 246.7 kB / 439.9 MB, free: 61.72 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001492/0.1651, allocations: 191 kB / 440.1 MB, free: 61.53 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001337/0.1652, allocations: 157.6 kB / 440.2 MB, free: 61.38 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.71e-06/0.1652, allocations: 12 kB / 440.3 MB, free: 61.36 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/0.1652, allocations: 7.984 kB / 440.3 MB, free: 61.36 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.1652, allocations: 7.984 kB / 440.3 MB, free: 61.35 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002263/0.1675, allocations: 2.289 MB / 442.6 MB, free: 59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.1675, allocations: 0 / 442.6 MB, free: 59 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003728/0.1679, allocations: 179.8 kB / 442.7 MB, free: 58.83 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002728/0.1682, allocations: 171.7 kB / 442.9 MB, free: 58.66 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.846e-05/0.1682, allocations: 43.95 kB / 442.9 MB, free: 58.61 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001602/0.1698, allocations: 3.087 MB / 446 MB, free: 55.42 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.1698, allocations: 0 / 446 MB, free: 55.42 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/0.1709, allocations: 1.255 MB / 447.3 MB, free: 54.12 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000255/0.1712, allocations: 235 kB / 447.5 MB, free: 53.89 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001104/0.1713, allocations: 39.97 kB / 447.6 MB, free: 53.85 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002886/0.1716, allocations: 51.97 kB / 447.6 MB, free: 53.8 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001304/0.1717, allocations: 112.7 kB / 447.7 MB, free: 53.69 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.729e-05/0.1717, allocations: 27.98 kB / 447.7 MB, free: 53.66 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003386/0.1721, allocations: 0.5813 MB / 448.3 MB, free: 53.07 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1721, allocations: 0 / 448.3 MB, free: 53.07 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007181/0.1728, allocations: 440 kB / 448.8 MB, free: 52.64 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 10 (rootMeanSquare[5].mean.x,rootMeanSquare[4].mean.x,rootMeanSquare[3].mean.x,rootMeanSquare[2].mean.x,rootMeanSquare[1].mean.x,inductorLoad.inductor[5].i,inductorLoad.inductor[4].i,inductorLoad.inductor[3].i,inductorLoad.inductor[2].i,inductorLoad.inductor[1].i) * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquare[5].mean.y_last,rootMeanSquare[4].mean.y_last,rootMeanSquare[3].mean.y_last,rootMeanSquare[2].mean.y_last,rootMeanSquare[1].mean.y_last,switch.control[5],switch.control[4],switch.control[3],switch.control[2],switch.control[1]) * Number of discrete states: 5 (rootMeanSquare[1].mean.x,rootMeanSquare[2].mean.x,rootMeanSquare[3].mean.x,rootMeanSquare[4].mean.x,rootMeanSquare[5].mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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 {(2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001612/0.173, allocations: 158.5 kB / 448.9 MB, free: 52.48 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008713/0.1738, allocations: 0.9437 MB / 449.9 MB, free: 51.53 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1738, allocations: 4.125 kB / 449.9 MB, free: 51.52 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005602/0.1744, allocations: 0.6723 MB / 450.5 MB, free: 50.83 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000739/0.1751, allocations: 318.3 kB / 450.8 MB, free: 50.55 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003511/0.1786, allocations: 3.862 MB / 454.7 MB, free: 46.62 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003866/0.179, allocations: 0.6744 MB / 455.4 MB, free: 45.91 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002927/0.1793, allocations: 150.5 kB / 455.5 MB, free: 45.76 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004866/0.1798, allocations: 390 kB / 455.9 MB, free: 45.38 MB / 330.7 MB Notification: Performance of SimCode: time 9.22e-07/0.1798, allocations: 0 / 455.9 MB, free: 45.38 MB / 330.7 MB Notification: Performance of Templates: time 0.02414/0.2039, allocations: 23.55 MB / 479.5 MB, free: 22.18 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Electrical.StarPolygon.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Electrical.StarPolygon.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.StarPolygon.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.StarPolygon.pipe >> ../files/HanserModelica_HanserModelica.Electrical.StarPolygon.sim & ./HanserModelica_HanserModelica.Electrical.StarPolygon -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.StarPolygon.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5405011982657015]