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.0009684/0.0009684, allocations: 92.2 kB / 20.19 MB, free: 4.363 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 1.089/1.089, allocations: 177.1 MB / 200.5 MB, free: 5.805 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.001414/0.001414, allocations: 171.5 kB / 257 MB, free: 13.17 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.02433/0.02433, allocations: 6.661 MB / 320.1 MB, free: 26.57 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 1.313e-06/1.313e-06, allocations: 0 / 391.7 MB, free: 2.949 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.318e-05/3.45e-05, allocations: 2.312 kB / 391.7 MB, free: 2.945 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.StarPolygon): time 0.004737/0.004771, allocations: 4.054 MB / 395.7 MB, free: 14.87 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001976/0.006747, allocations: 1.184 MB / 396.9 MB, free: 13.68 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004182/0.007165, allocations: 35.75 kB / 396.9 MB, free: 13.64 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004249/0.00759, allocations: 178.6 kB / 397.1 MB, free: 13.47 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001024/0.008614, allocations: 309.9 kB / 397.4 MB, free: 13.16 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004646/0.009079, allocations: 187.7 kB / 397.6 MB, free: 12.98 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001778/0.01086, allocations: 2.532 MB / 400.1 MB, free: 10.44 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001225/0.01208, allocations: 1.293 MB / 401.4 MB, free: 9.09 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002043/0.01413, allocations: 1.79 MB / 403.2 MB, free: 7.297 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001629/0.01575, allocations: 1.395 MB / 404.6 MB, free: 5.898 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003514/0.01611, allocations: 316 kB / 404.9 MB, free: 5.59 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004971/0.0166, allocations: 328 kB / 405.2 MB, free: 5.27 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006818/0.01728, allocations: 0.8882 MB / 406.1 MB, free: 4.379 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001311/0.0186, allocations: 1.006 MB / 407.1 MB, free: 3.371 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002188/0.02078, allocations: 2.473 MB / 409.6 MB, free: 0.8906 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.02079, allocations: 4 kB / 409.6 MB, free: 0.8867 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.02079, allocations: 0 / 409.6 MB, free: 0.8867 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.33e-05/0.02083, allocations: 0 / 409.6 MB, free: 0.8867 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: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.1438/0.1646, allocations: 4.827 MB / 414.4 MB, free: 82.46 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/0.1647, allocations: 9.75 kB / 414.4 MB, free: 82.46 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001232/0.1659, allocations: 0.5097 MB / 414.9 MB, free: 82.24 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002045/0.1679, allocations: 1.331 MB / 416.3 MB, free: 81.66 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001517/0.1681, allocations: 173.4 kB / 416.4 MB, free: 81.58 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003006/0.1684, allocations: 242.4 kB / 416.7 MB, free: 81.5 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003716/0.1721, allocations: 1.904 MB / 418.6 MB, free: 80.66 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.512e-05/0.1722, allocations: 1.344 kB / 418.6 MB, free: 80.66 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001517/0.1723, allocations: 96.55 kB / 418.7 MB, free: 80.59 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.413e-05/0.1724, allocations: 54.73 kB / 418.7 MB, free: 80.59 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001947/0.1743, allocations: 0.7501 MB / 419.5 MB, free: 80.45 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008448/0.1828, allocations: 6.298 MB / 425.8 MB, free: 76.43 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009411/0.1837, allocations: 0.8794 MB / 426.7 MB, free: 75.63 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006458/0.1844, allocations: 481.1 kB / 427.1 MB, free: 75.18 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.666e-05/0.1844, allocations: 23.14 kB / 427.2 MB, free: 75.16 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006287/0.185, allocations: 0.6981 MB / 427.9 MB, free: 74.39 MB / 330.7 MB Notification: Performance of pre-optimization done (n=122): time 4.038e-06/0.185, allocations: 0 / 427.9 MB, free: 74.39 MB / 330.7 MB Notification: Performance of matching and sorting (n=127): time 0.003712/0.1888, allocations: 2.377 MB / 430.2 MB, free: 71.99 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.301e-05/0.1888, allocations: 201.2 kB / 430.4 MB, free: 71.75 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008678/0.1897, allocations: 1.08 MB / 431.5 MB, free: 70.65 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.799e-05/0.1897, allocations: 53.7 kB / 431.6 MB, free: 70.59 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004496/0.1902, allocations: 1.066 MB / 432.6 MB, free: 69.52 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000205/0.1904, allocations: 476.7 kB / 433.1 MB, free: 69.06 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000213/0.1906, allocations: 272.3 kB / 433.4 MB, free: 68.79 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.342e-05/0.1907, allocations: 0.5511 MB / 433.9 MB, free: 68.23 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002966/0.191, allocations: 182.4 kB / 434.1 MB, free: 68.05 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004151/0.1914, allocations: 0.7137 MB / 434.8 MB, free: 67.16 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007462/0.1921, allocations: 0.8022 MB / 435.6 MB, free: 66.22 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.1921, allocations: 0 / 435.6 MB, free: 66.22 MB / 330.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.001227/0.1934, allocations: 1.048 MB / 436.6 MB, free: 65.17 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.1934, allocations: 8 kB / 436.7 MB, free: 65.16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.1934, allocations: 8 kB / 436.7 MB, free: 65.15 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004108/0.1938, allocations: 205.5 kB / 436.9 MB, free: 64.95 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000566/0.1944, allocations: 263.6 kB / 437.1 MB, free: 64.69 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002078/0.1965, allocations: 3.269 MB / 440.4 MB, free: 61.31 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005653/0.197, allocations: 75.94 kB / 440.5 MB, free: 61.24 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.557e-05/0.1971, allocations: 48 kB / 440.5 MB, free: 61.19 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.0004563/0.1975, allocations: 254.1 kB / 440.8 MB, free: 60.93 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001475/0.1977, allocations: 179.2 kB / 440.9 MB, free: 60.76 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001422/0.1978, allocations: 157.6 kB / 441.1 MB, free: 60.6 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.1978, allocations: 12 kB / 441.1 MB, free: 60.59 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.566e-05/0.1978, allocations: 7.938 kB / 441.1 MB, free: 60.58 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.926e-06/0.1979, allocations: 7.969 kB / 441.1 MB, free: 60.57 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002987/0.2008, allocations: 2.846 MB / 444 MB, free: 57.68 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.359e-06/0.2008, allocations: 1.203 kB / 444 MB, free: 57.68 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003795/0.2012, allocations: 183.8 kB / 444.1 MB, free: 57.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003454/0.2016, allocations: 206.3 kB / 444.3 MB, free: 57.3 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.432e-05/0.2016, allocations: 39.97 kB / 444.4 MB, free: 57.26 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001928/0.2036, allocations: 3.188 MB / 447.6 MB, free: 53.96 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.2036, allocations: 3.938 kB / 447.6 MB, free: 53.96 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001431/0.205, allocations: 1.364 MB / 448.9 MB, free: 52.55 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003574/0.2054, allocations: 278.9 kB / 449.2 MB, free: 52.28 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001306/0.2055, allocations: 51.72 kB / 449.3 MB, free: 52.23 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003139/0.2058, allocations: 59.95 kB / 449.3 MB, free: 52.18 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002038/0.206, allocations: 148.7 kB / 449.5 MB, free: 52.03 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.141e-05/0.2061, allocations: 35.98 kB / 449.5 MB, free: 51.99 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004976/0.2066, allocations: 0.6206 MB / 450.1 MB, free: 51.36 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2066, allocations: 8 kB / 450.1 MB, free: 51.36 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009538/0.2075, allocations: 440 kB / 450.6 MB, free: 50.93 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.0001439/0.2077, allocations: 151 kB / 450.7 MB, free: 50.77 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001171/0.2088, allocations: 1.021 MB / 451.7 MB, free: 49.73 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.2088, allocations: 1 kB / 451.7 MB, free: 49.73 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006796/0.2095, allocations: 0.7079 MB / 452.4 MB, free: 49 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007868/0.2103, allocations: 320.2 kB / 452.7 MB, free: 48.72 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004704/0.215, allocations: 3.888 MB / 456.6 MB, free: 44.77 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004423/0.2154, allocations: 0.6744 MB / 457.3 MB, free: 44.07 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005167/0.216, allocations: 290.2 kB / 457.6 MB, free: 43.78 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001851/0.2161, allocations: 92.48 kB / 457.7 MB, free: 43.69 MB / 330.7 MB Notification: Performance of SimCode: time 1.273e-06/0.2161, allocations: 0 / 457.7 MB, free: 43.69 MB / 330.7 MB Notification: Performance of Templates: time 0.02616/0.2423, allocations: 21.77 MB / 479.5 MB, free: 22.29 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.5303524769842625]