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.001828/0.001828, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 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.477/1.477, allocations: 230.6 MB / 253.4 MB, free: 8.27 MB / 206.1 MB " [Timeout remaining time 178] 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.001772/0.001772, allocations: 229 kB / 310 MB, free: 3.109 MB / 238.1 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.04218/0.04218, allocations: 8.918 MB / 375.3 MB, free: 1.867 MB / 302.1 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: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00243/0.00243, allocations: 79.88 kB / 0.4904 GB, free: 6.836 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3356, allocations: 55.6 MB / 0.5447 GB, free: 27.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.StarPolygon): time 0.006091/0.3416, allocations: 4.155 MB / 0.5488 GB, free: 24.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002814/0.3445, allocations: 1.206 MB / 0.55 GB, free: 23.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004179/0.3449, allocations: 35.03 kB / 0.55 GB, free: 23.28 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004014/0.3453, allocations: 181.6 kB / 0.5502 GB, free: 23.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008753/0.3461, allocations: 290.6 kB / 0.5504 GB, free: 23.01 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003967/0.3465, allocations: 184.6 kB / 0.5506 GB, free: 22.9 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001856/0.3484, allocations: 2.45 MB / 0.553 GB, free: 21.7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001303/0.3497, allocations: 1.304 MB / 0.5543 GB, free: 21.01 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001443/0.3511, allocations: 1.211 MB / 0.5555 GB, free: 20.44 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001732/0.3529, allocations: 1.384 MB / 0.5568 GB, free: 19.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000405/0.3533, allocations: 318.6 kB / 0.5571 GB, free: 19.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005389/0.3538, allocations: 327.9 kB / 0.5574 GB, free: 19.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005628/0.3544, allocations: 0.8506 MB / 0.5583 GB, free: 19.26 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001527/0.3559, allocations: 1.436 MB / 0.5597 GB, free: 18.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004317/0.3602, allocations: 4.096 MB / 0.5637 GB, free: 16.86 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.3602, allocations: 0.75 kB / 0.5637 GB, free: 16.86 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.275e-06/0.3602, allocations: 0 / 0.5637 GB, free: 16.86 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001604/0.3604, allocations: 0.9375 kB / 0.5637 GB, free: 16.86 MB / 382.1 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.008715/0.3691, allocations: 4.029 MB / 0.5676 GB, free: 14.8 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.3692, allocations: 8.812 kB / 0.5676 GB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00129/0.3705, allocations: 338.4 kB / 0.5679 GB, free: 14.65 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003373/0.3738, allocations: 1.515 MB / 0.5694 GB, free: 13.85 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001592/0.374, allocations: 175.9 kB / 0.5696 GB, free: 13.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004702/0.3745, allocations: 234.4 kB / 0.5698 GB, free: 13.69 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006023/0.3805, allocations: 3.189 MB / 0.5729 GB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.493e-05/0.3805, allocations: 2.531 kB / 0.5729 GB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002131/0.3807, allocations: 92.22 kB / 0.573 GB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.381e-05/0.3808, allocations: 54.47 kB / 0.5731 GB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00445/0.3852, allocations: 2.654 MB / 0.5757 GB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01346/0.3987, allocations: 7.796 MB / 0.5833 GB, free: 5.188 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001804/0.4005, allocations: 1.507 MB / 0.5847 GB, free: 3.707 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00128/0.4018, allocations: 0.998 MB / 0.5857 GB, free: 2.707 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.665e-05/0.4018, allocations: 16.98 kB / 0.5857 GB, free: 2.691 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001136/0.403, allocations: 0.9826 MB / 0.5867 GB, free: 1.676 MB / 382.1 MB Notification: Performance of pre-optimization done (n=122): time 2.374e-06/0.403, allocations: 0 / 0.5867 GB, free: 1.676 MB / 382.1 MB Notification: Performance of matching and sorting (n=127): time 0.008178/0.4112, allocations: 4.501 MB / 0.5911 GB, free: 13.14 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001587/0.4113, allocations: 209.2 kB / 0.5913 GB, free: 12.89 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002046/0.4134, allocations: 1.284 MB / 0.5925 GB, free: 11.59 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001721/0.4135, allocations: 57.69 kB / 0.5926 GB, free: 11.53 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001049/0.4146, allocations: 0.993 MB / 0.5936 GB, free: 10.53 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004822/0.4151, allocations: 448.2 kB / 0.594 GB, free: 10.09 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003931/0.4155, allocations: 246.9 kB / 0.5942 GB, free: 9.84 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001903/0.4156, allocations: 357.9 kB / 0.5946 GB, free: 9.484 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001168/0.4168, allocations: 0.6739 MB / 0.5952 GB, free: 8.809 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001424/0.4182, allocations: 0.9901 MB / 0.5962 GB, free: 7.711 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002534/0.4208, allocations: 1.651 MB / 0.5978 GB, free: 5.965 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.4208, allocations: 0 / 0.5978 GB, free: 5.965 MB / 398.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003723/0.4245, allocations: 2.062 MB / 0.5998 GB, free: 3.891 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.953e-05/0.4245, allocations: 11.94 kB / 0.5998 GB, free: 3.879 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.072e-05/0.4246, allocations: 8 kB / 0.5998 GB, free: 3.871 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006751/0.4252, allocations: 294.7 kB / 0.6001 GB, free: 3.582 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001009/0.4262, allocations: 263.5 kB / 0.6004 GB, free: 3.324 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005416/0.4317, allocations: 4.042 MB / 0.6043 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001264/0.4329, allocations: 79.94 kB / 0.6044 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00013/0.433, allocations: 44 kB / 0.6044 GB, free: 15.04 MB / 414.1 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.001725/0.4348, allocations: 0.8588 MB / 0.6053 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003324/0.4351, allocations: 143.4 kB / 0.6054 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004226/0.4355, allocations: 177.9 kB / 0.6056 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-05/0.4355, allocations: 19.92 kB / 0.6056 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-05/0.4356, allocations: 4 kB / 0.6056 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.34e-05/0.4356, allocations: 3.984 kB / 0.6056 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007793/0.4434, allocations: 4.272 MB / 0.6098 GB, free: 9.484 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.4434, allocations: 8.031 kB / 0.6098 GB, free: 9.477 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008194/0.4442, allocations: 195.6 kB / 0.61 GB, free: 9.285 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006184/0.4448, allocations: 276.7 kB / 0.6102 GB, free: 9.012 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001135/0.4449, allocations: 43.97 kB / 0.6103 GB, free: 8.969 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005138/0.4501, allocations: 3.946 MB / 0.6141 GB, free: 4.906 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.4501, allocations: 4.031 kB / 0.6141 GB, free: 4.902 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004941/0.455, allocations: 2.858 MB / 0.6169 GB, free: 2.012 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001093/0.4561, allocations: 307 kB / 0.6172 GB, free: 1.711 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003364/0.4564, allocations: 47.97 kB / 0.6173 GB, free: 1.664 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006944/0.4571, allocations: 75.86 kB / 0.6173 GB, free: 1.59 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003065/0.4574, allocations: 136.8 kB / 0.6175 GB, free: 1.457 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.821e-05/0.4575, allocations: 39.97 kB / 0.6175 GB, free: 1.418 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001382/0.4589, allocations: 0.9059 MB / 0.6184 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4589, allocations: 0 / 0.6184 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001641/0.4605, allocations: 440 kB / 0.6188 GB, free: 76 kB / 414.1 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.0003052/0.4609, allocations: 167.1 kB / 0.619 GB, free: 15.9 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003289/0.4641, allocations: 1.794 MB / 0.6207 GB, free: 14.09 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.02e-05/0.4642, allocations: 4.312 kB / 0.6207 GB, free: 14.09 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002/0.4662, allocations: 1.097 MB / 0.6218 GB, free: 12.98 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001748/0.4679, allocations: 326.9 kB / 0.6221 GB, free: 12.66 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008835/0.4767, allocations: 4.767 MB / 0.6268 GB, free: 7.836 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001853/0.4786, allocations: 2.015 MB / 0.6287 GB, free: 5.785 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005476/0.4791, allocations: 99.42 kB / 0.6288 GB, free: 5.691 MB / 430.1 MB Notification: Performance of SimCode: time 1.523e-06/0.4791, allocations: 0 / 0.6288 GB, free: 5.691 MB / 430.1 MB Notification: Performance of Templates: time 0.05776/0.5369, allocations: 37.51 MB / 0.6655 GB, free: 256 kB / 462.1 MB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.StarPolygon.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.38524115900509] Failed to read output from testmodel.py, exit status != 0: 0.5473693690728396 0.564090272 0.200333594 Calling exit ...