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.0009145/0.0009145, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.9016/0.9016, allocations: 177.2 MB / 200.3 MB, free: 5.676 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.001135/0.001135, allocations: 152.6 kB / 257 MB, free: 12.97 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.02376/0.02376, allocations: 6.664 MB / 266.9 MB, free: 3.215 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 2.044e-06/2.044e-06, allocations: 0 / 285.6 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.398e-05/2.602e-05, allocations: 5.406 kB / 285.6 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.StarPolygon): time 0.1257/0.1258, allocations: 4.008 MB / 289.6 MB, free: 20.24 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002366/0.1281, allocations: 1.217 MB / 290.9 MB, free: 19.41 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004513/0.1286, allocations: 35.03 kB / 290.9 MB, free: 19.4 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003531/0.1289, allocations: 176.3 kB / 291.1 MB, free: 19.3 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008661/0.1298, allocations: 302.5 kB / 291.4 MB, free: 19.12 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004485/0.1303, allocations: 192 kB / 291.6 MB, free: 19.01 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002002/0.1323, allocations: 2.538 MB / 294.1 MB, free: 17.72 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001383/0.1336, allocations: 1.327 MB / 295.4 MB, free: 17.01 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002428/0.1361, allocations: 1.779 MB / 297.2 MB, free: 16.21 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002143/0.1382, allocations: 1.411 MB / 298.6 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000747/0.139, allocations: 314.6 kB / 298.9 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007566/0.1397, allocations: 338.5 kB / 299.2 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005552/0.1403, allocations: 0.8922 MB / 300.1 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00168/0.1419, allocations: 1.001 MB / 301.1 MB, free: 14.33 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00241/0.1444, allocations: 2.465 MB / 303.6 MB, free: 12.43 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1444, allocations: 3.938 kB / 303.6 MB, free: 12.43 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1444, allocations: 3.938 kB / 303.6 MB, free: 12.43 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.712e-05/0.1444, allocations: 0.5312 kB / 303.6 MB, free: 12.43 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.002664/0.1471, allocations: 2.71 MB / 306.3 MB, free: 9.688 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.1471, allocations: 8.031 kB / 306.3 MB, free: 9.68 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000602/0.1477, allocations: 419.4 kB / 306.7 MB, free: 9.273 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001031/0.1488, allocations: 0.8957 MB / 307.6 MB, free: 8.344 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.259e-05/0.1488, allocations: 176.9 kB / 307.8 MB, free: 8.168 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002007/0.149, allocations: 241.7 kB / 308 MB, free: 7.938 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001603/0.1506, allocations: 1.796 MB / 309.8 MB, free: 6.027 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.942e-05/0.1507, allocations: 15.77 kB / 309.9 MB, free: 6.012 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001199/0.1508, allocations: 92 kB / 309.9 MB, free: 5.922 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.346e-05/0.1508, allocations: 56 kB / 310 MB, free: 5.867 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008377/0.1516, allocations: 0.6344 MB / 310.6 MB, free: 5.207 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004889/0.1565, allocations: 4.431 MB / 315.1 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006343/0.1572, allocations: 0.7078 MB / 315.8 MB, free: 15.96 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004761/0.1576, allocations: 393.7 kB / 316.2 MB, free: 15.58 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.201e-05/0.1577, allocations: 21 kB / 316.2 MB, free: 15.55 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005253/0.1582, allocations: 0.6143 MB / 316.8 MB, free: 14.88 MB / 282.7 MB Notification: Performance of pre-optimization done (n=122): time 3.767e-06/0.1582, allocations: 0 / 316.8 MB, free: 14.88 MB / 282.7 MB Notification: Performance of matching and sorting (n=127): time 0.002831/0.1611, allocations: 1.674 MB / 318.5 MB, free: 13.18 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.047e-05/0.1611, allocations: 205.2 kB / 318.7 MB, free: 12.94 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007088/0.1618, allocations: 0.7968 MB / 319.5 MB, free: 12.12 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.394e-05/0.1619, allocations: 53.7 kB / 319.5 MB, free: 12.07 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005128/0.1624, allocations: 0.819 MB / 320.3 MB, free: 11.23 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002376/0.1627, allocations: 440.2 kB / 320.8 MB, free: 10.8 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002227/0.1629, allocations: 226.8 kB / 321 MB, free: 10.57 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.035e-05/0.163, allocations: 365.8 kB / 321.3 MB, free: 10.21 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001766/0.1632, allocations: 122.6 kB / 321.5 MB, free: 10.09 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003456/0.1635, allocations: 0.5333 MB / 322 MB, free: 9.414 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005648/0.1641, allocations: 0.6186 MB / 322.6 MB, free: 8.699 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.787e-06/0.1641, allocations: 7.938 kB / 322.6 MB, free: 8.691 MB / 282.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.0009608/0.165, allocations: 0.7525 MB / 323.4 MB, free: 7.93 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.1651, allocations: 8 kB / 323.4 MB, free: 7.922 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.1651, allocations: 8 kB / 323.4 MB, free: 7.914 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003228/0.1654, allocations: 157.4 kB / 323.5 MB, free: 7.758 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005463/0.1659, allocations: 259.6 kB / 323.8 MB, free: 7.504 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002031/0.168, allocations: 2.311 MB / 326.1 MB, free: 5.105 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006084/0.1686, allocations: 70.44 kB / 326.2 MB, free: 5.039 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.902e-05/0.1686, allocations: 32 kB / 326.2 MB, free: 5.008 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.0006087/0.1693, allocations: 205.9 kB / 326.4 MB, free: 4.801 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001772/0.1694, allocations: 127.9 kB / 326.5 MB, free: 4.676 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001733/0.1696, allocations: 161.6 kB / 326.7 MB, free: 4.516 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.1696, allocations: 12 kB / 326.7 MB, free: 4.504 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.626e-05/0.1696, allocations: 7.938 kB / 326.7 MB, free: 4.496 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/0.1696, allocations: 7.969 kB / 326.7 MB, free: 4.488 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002647/0.1723, allocations: 1.816 MB / 328.5 MB, free: 2.625 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.1723, allocations: 0 / 328.5 MB, free: 2.625 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004169/0.1727, allocations: 179.8 kB / 328.7 MB, free: 2.449 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002994/0.173, allocations: 171.3 kB / 328.9 MB, free: 2.281 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.53e-05/0.1731, allocations: 43.91 kB / 328.9 MB, free: 2.238 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002055/0.1751, allocations: 2.446 MB / 331.4 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.1751, allocations: 7.969 kB / 331.4 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001358/0.1765, allocations: 1.004 MB / 332.4 MB, free: 14.65 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003289/0.1768, allocations: 167 kB / 332.5 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001267/0.1769, allocations: 43.98 kB / 332.6 MB, free: 14.44 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003125/0.1773, allocations: 51.97 kB / 332.6 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001623/0.1774, allocations: 111.6 kB / 332.7 MB, free: 14.29 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.43e-05/0.1775, allocations: 27.98 kB / 332.8 MB, free: 14.26 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004006/0.1779, allocations: 409.9 kB / 333.2 MB, free: 13.85 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1779, allocations: 0 / 333.2 MB, free: 13.85 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001062/0.1789, allocations: 448 kB / 333.6 MB, free: 13.41 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.0001978/0.1791, allocations: 136.1 kB / 333.7 MB, free: 13.27 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001043/0.1802, allocations: 0.7968 MB / 334.5 MB, free: 12.46 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.394e-05/0.1802, allocations: 15.94 kB / 334.6 MB, free: 12.44 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006692/0.1808, allocations: 0.5731 MB / 335.1 MB, free: 11.85 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/0.1819, allocations: 319.2 kB / 335.4 MB, free: 11.55 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00488/0.1868, allocations: 3.715 MB / 339.2 MB, free: 7.77 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004889/0.1873, allocations: 0.5495 MB / 339.7 MB, free: 7.191 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0004684/0.1877, allocations: 154.5 kB / 339.9 MB, free: 7.035 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000562/0.1883, allocations: 345.1 kB / 340.2 MB, free: 6.695 MB / 298.7 MB Notification: Performance of SimCode: time 8.62e-07/0.1883, allocations: 0 / 340.2 MB, free: 6.695 MB / 298.7 MB Notification: Performance of Templates: time 0.03011/0.2184, allocations: 22.75 MB / 362.9 MB, free: 372 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 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.StarPolygon.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.948552545160055]