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.001003/0.001003, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.959/0.959, allocations: 177.2 MB / 200.3 MB, free: 5.387 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.001172/0.001172, allocations: 156.6 kB / 257 MB, free: 12.84 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.02488/0.02488, allocations: 6.662 MB / 266.9 MB, free: 3.082 MB / 250.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 1.442e-06/1.442e-06, allocations: 0 / 285.7 MB, free: 328 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.315e-05/1.459e-05, allocations: 2.312 kB / 285.7 MB, free: 324 kB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.StarPolygon): time 0.1277/0.1278, allocations: 4.054 MB / 289.7 MB, free: 20.31 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00193/0.1297, allocations: 1.22 MB / 291 MB, free: 19.48 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002662/0.13, allocations: 34.72 kB / 291 MB, free: 19.46 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000317/0.1303, allocations: 184 kB / 291.2 MB, free: 19.36 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007107/0.131, allocations: 297.4 kB / 291.5 MB, free: 19.19 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003787/0.1314, allocations: 190.5 kB / 291.6 MB, free: 19.07 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001823/0.1332, allocations: 2.534 MB / 294.2 MB, free: 17.79 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001267/0.1345, allocations: 1.337 MB / 295.5 MB, free: 17.07 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001737/0.1362, allocations: 1.774 MB / 297.3 MB, free: 16.27 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001507/0.1377, allocations: 1.412 MB / 298.7 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004394/0.1381, allocations: 317 kB / 299 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004486/0.1386, allocations: 324.1 kB / 299.3 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004698/0.1391, allocations: 0.8928 MB / 300.2 MB, free: 14.92 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007308/0.1398, allocations: 1.008 MB / 301.2 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001429/0.1412, allocations: 2.466 MB / 303.7 MB, free: 12.4 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1412, allocations: 0 / 303.7 MB, free: 12.4 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1412, allocations: 0.7812 kB / 303.7 MB, free: 12.4 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.031e-05/0.1412, allocations: 0 / 303.7 MB, free: 12.4 MB / 266.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.002117/0.1434, allocations: 2.714 MB / 306.4 MB, free: 9.656 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.1434, allocations: 8.031 kB / 306.4 MB, free: 9.648 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005386/0.1439, allocations: 417.8 kB / 306.8 MB, free: 9.242 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001038/0.145, allocations: 0.903 MB / 307.7 MB, free: 8.305 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.045e-05/0.145, allocations: 168.9 kB / 307.9 MB, free: 8.137 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000177/0.1452, allocations: 240.3 kB / 308.1 MB, free: 7.902 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001422/0.1466, allocations: 1.805 MB / 309.9 MB, free: 5.984 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.813e-05/0.1467, allocations: 8.547 kB / 309.9 MB, free: 5.977 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001178/0.1468, allocations: 95.98 kB / 310 MB, free: 5.883 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.338e-05/0.1468, allocations: 62.84 kB / 310.1 MB, free: 5.828 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007932/0.1476, allocations: 0.6305 MB / 310.7 MB, free: 5.172 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004219/0.1518, allocations: 4.428 MB / 315.2 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005977/0.1524, allocations: 0.7072 MB / 315.9 MB, free: 15.93 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004605/0.1529, allocations: 393.8 kB / 316.3 MB, free: 15.55 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.695e-05/0.1529, allocations: 25 kB / 316.3 MB, free: 15.52 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005253/0.1535, allocations: 0.6082 MB / 316.9 MB, free: 14.86 MB / 282.7 MB Notification: Performance of pre-optimization done (n=122): time 2.325e-06/0.1535, allocations: 0.5625 kB / 316.9 MB, free: 14.86 MB / 282.7 MB Notification: Performance of matching and sorting (n=127): time 0.002217/0.1557, allocations: 1.679 MB / 318.6 MB, free: 13.16 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.907e-05/0.1558, allocations: 205.2 kB / 318.8 MB, free: 12.91 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005713/0.1563, allocations: 0.789 MB / 319.6 MB, free: 12.11 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.042e-05/0.1564, allocations: 57.69 kB / 319.6 MB, free: 12.04 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003735/0.1568, allocations: 0.8268 MB / 320.4 MB, free: 11.2 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002172/0.157, allocations: 440.2 kB / 320.9 MB, free: 10.77 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000218/0.1572, allocations: 230.8 kB / 321.1 MB, free: 10.54 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.1573, allocations: 357.8 kB / 321.4 MB, free: 10.18 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001723/0.1575, allocations: 114.6 kB / 321.6 MB, free: 10.07 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003508/0.1578, allocations: 0.5372 MB / 322.1 MB, free: 9.391 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005543/0.1584, allocations: 0.6293 MB / 322.7 MB, free: 8.668 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.1584, allocations: 4 kB / 322.7 MB, free: 8.664 MB / 282.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.0009162/0.1593, allocations: 0.7458 MB / 323.5 MB, free: 7.906 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.1593, allocations: 8 kB / 323.5 MB, free: 7.898 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.534e-05/0.1593, allocations: 8 kB / 323.5 MB, free: 7.891 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003862/0.1597, allocations: 164.5 kB / 323.6 MB, free: 7.73 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005942/0.1603, allocations: 275.6 kB / 323.9 MB, free: 7.461 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001873/0.1622, allocations: 2.34 MB / 326.3 MB, free: 5.027 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003069/0.1625, allocations: 64 kB / 326.3 MB, free: 4.965 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.198e-05/0.1625, allocations: 36 kB / 326.4 MB, free: 4.93 MB / 282.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[5],switch.control[4],switch.control[3],switch.control[2],switch.control[1]) * 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 {(2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002944/0.1628, allocations: 202.8 kB / 326.5 MB, free: 4.723 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.163, allocations: 130.6 kB / 326.7 MB, free: 4.598 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001428/0.1631, allocations: 157.6 kB / 326.8 MB, free: 4.441 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.1631, allocations: 12 kB / 326.8 MB, free: 4.43 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.454e-05/0.1631, allocations: 15.88 kB / 326.9 MB, free: 4.418 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.587e-06/0.1631, allocations: 7.969 kB / 326.9 MB, free: 4.41 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002157/0.1653, allocations: 1.812 MB / 328.7 MB, free: 2.551 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.1653, allocations: 0 / 328.7 MB, free: 2.551 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005193/0.1658, allocations: 263 kB / 328.9 MB, free: 2.293 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002647/0.1661, allocations: 164.8 kB / 329.1 MB, free: 2.129 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-05/0.1661, allocations: 43.91 kB / 329.1 MB, free: 2.086 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001785/0.1679, allocations: 2.409 MB / 331.5 MB, free: 15.58 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.1679, allocations: 4 kB / 331.6 MB, free: 15.58 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/0.169, allocations: 1.004 MB / 332.6 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002426/0.1692, allocations: 171 kB / 332.7 MB, free: 14.37 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001113/0.1693, allocations: 44.48 kB / 332.8 MB, free: 14.33 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002766/0.1696, allocations: 54.86 kB / 332.8 MB, free: 14.28 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001392/0.1697, allocations: 104.8 kB / 332.9 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.16e-05/0.1698, allocations: 30.8 kB / 333 MB, free: 14.15 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003265/0.1701, allocations: 405.9 kB / 333.3 MB, free: 13.74 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1701, allocations: 4 kB / 333.4 MB, free: 13.74 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007394/0.1708, allocations: 440 kB / 333.8 MB, free: 13.31 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 10 (inductorLoad.inductor[1].i,inductorLoad.inductor[2].i,inductorLoad.inductor[3].i,inductorLoad.inductor[4].i,inductorLoad.inductor[5].i,rootMeanSquare[1].mean.x,rootMeanSquare[2].mean.x,rootMeanSquare[3].mean.x,rootMeanSquare[4].mean.x,rootMeanSquare[5].mean.x) * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,switch.control[1],switch.control[2],switch.control[3],switch.control[4],switch.control[5],rootMeanSquare[1].mean.y_last,rootMeanSquare[2].mean.y_last,rootMeanSquare[3].mean.y_last,rootMeanSquare[4].mean.y_last,rootMeanSquare[5].mean.y_last) * 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.0001585/0.171, allocations: 136 kB / 333.9 MB, free: 13.17 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008863/0.1719, allocations: 0.8185 MB / 334.7 MB, free: 12.34 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.978e-06/0.1719, allocations: 12.06 kB / 334.7 MB, free: 12.32 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005929/0.1725, allocations: 0.565 MB / 335.3 MB, free: 11.74 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007084/0.1732, allocations: 314.2 kB / 335.6 MB, free: 11.45 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004051/0.1772, allocations: 3.718 MB / 339.3 MB, free: 7.668 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004366/0.1777, allocations: 0.5534 MB / 339.9 MB, free: 7.086 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003262/0.178, allocations: 150.5 kB / 340 MB, free: 6.934 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005727/0.1786, allocations: 341.1 kB / 340.4 MB, free: 6.598 MB / 298.7 MB Notification: Performance of SimCode: time 1.192e-06/0.1786, allocations: 0 / 340.4 MB, free: 6.598 MB / 298.7 MB Notification: Performance of Templates: time 0.0273/0.2059, allocations: 22.74 MB / 363.1 MB, free: 276 kB / 314.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.StarPolygon.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.932742899749428]