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.001734/0.001734, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.554/1.554, allocations: 230.6 MB / 253.4 MB, free: 14.29 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.001794/0.001794, allocations: 212.5 kB / 310 MB, free: 3.066 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.04164/0.04164, allocations: 8.917 MB / 375.3 MB, free: 6.57 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.002566/0.002566, allocations: 79.88 kB / 0.4904 GB, free: 44.25 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1072, allocations: 55.6 MB / 0.5447 GB, free: 4.555 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.StarPolygon): time 0.006381/0.1136, allocations: 3.786 MB / 0.5484 GB, free: 0.7461 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002687/0.1163, allocations: 1.141 MB / 0.5495 GB, free: 15.6 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005572/0.1168, allocations: 31.81 kB / 0.5495 GB, free: 15.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005708/0.1174, allocations: 178.6 kB / 0.5497 GB, free: 15.39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001196/0.1186, allocations: 306.3 kB / 0.55 GB, free: 15.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005522/0.1191, allocations: 187.7 kB / 0.5501 GB, free: 14.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002883/0.122, allocations: 2.447 MB / 0.5525 GB, free: 12.45 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002306/0.1243, allocations: 1.285 MB / 0.5538 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001858/0.1262, allocations: 1.207 MB / 0.555 GB, free: 9.895 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002649/0.1288, allocations: 1.428 MB / 0.5564 GB, free: 8.461 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000836/0.1297, allocations: 316 kB / 0.5567 GB, free: 8.152 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009502/0.1306, allocations: 324 kB / 0.557 GB, free: 7.836 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008921/0.1315, allocations: 0.8531 MB / 0.5578 GB, free: 6.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001511/0.133, allocations: 1.171 MB / 0.5589 GB, free: 5.805 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00441/0.1374, allocations: 4.126 MB / 0.563 GB, free: 1.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.1374, allocations: 4 kB / 0.563 GB, free: 1.656 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1374, allocations: 0 / 0.563 GB, free: 1.656 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001087/0.1375, allocations: 0 / 0.563 GB, free: 1.656 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.2757/0.4132, allocations: 4.015 MB / 0.5669 GB, free: 24.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.4133, allocations: 14.23 kB / 0.5669 GB, free: 24.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008035/0.4141, allocations: 335.6 kB / 0.5672 GB, free: 24.1 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00248/0.4166, allocations: 1.52 MB / 0.5687 GB, free: 23.78 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001212/0.4167, allocations: 173.7 kB / 0.5689 GB, free: 23.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002926/0.417, allocations: 231.2 kB / 0.5691 GB, free: 23.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00504/0.422, allocations: 3.315 MB / 0.5723 GB, free: 22.86 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.326e-05/0.4221, allocations: 3.234 kB / 0.5723 GB, free: 22.86 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001892/0.4223, allocations: 96.53 kB / 0.5724 GB, free: 22.78 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.745e-05/0.4223, allocations: 55.75 kB / 0.5725 GB, free: 22.78 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004578/0.4269, allocations: 2.649 MB / 0.5751 GB, free: 21.9 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01235/0.4393, allocations: 6.81 MB / 0.5817 GB, free: 18.71 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002394/0.4416, allocations: 1.505 MB / 0.5832 GB, free: 18.13 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001858/0.4435, allocations: 1.008 MB / 0.5842 GB, free: 17.82 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.905e-05/0.4436, allocations: 13.55 kB / 0.5842 GB, free: 17.82 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001623/0.4452, allocations: 1.109 MB / 0.5853 GB, free: 17.21 MB / 382.1 MB Notification: Performance of pre-optimization done (n=122): time 6.152e-06/0.4452, allocations: 1.125 kB / 0.5853 GB, free: 17.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=127): time 0.008389/0.4536, allocations: 4.497 MB / 0.5897 GB, free: 14.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.196e-05/0.4537, allocations: 206.8 kB / 0.5899 GB, free: 14.52 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002383/0.4561, allocations: 1.259 MB / 0.5911 GB, free: 13.85 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001076/0.4562, allocations: 52.73 kB / 0.5911 GB, free: 13.8 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008308/0.457, allocations: 0.9995 MB / 0.5921 GB, free: 12.94 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003345/0.4574, allocations: 452.7 kB / 0.5926 GB, free: 12.56 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003972/0.4578, allocations: 236.8 kB / 0.5928 GB, free: 12.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.4579, allocations: 365.7 kB / 0.5931 GB, free: 12.08 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001141/0.459, allocations: 0.6723 MB / 0.5938 GB, free: 11.74 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001545/0.4605, allocations: 1.114 MB / 0.5949 GB, free: 10.88 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002358/0.4629, allocations: 1.653 MB / 0.5965 GB, free: 9.855 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.988e-05/0.4629, allocations: 2.75 kB / 0.5965 GB, free: 9.855 MB / 382.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003223/0.4661, allocations: 2.063 MB / 0.5985 GB, free: 8.504 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.4662, allocations: 8 kB / 0.5985 GB, free: 8.496 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.691e-05/0.4662, allocations: 8 kB / 0.5985 GB, free: 8.488 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005657/0.4668, allocations: 295.8 kB / 0.5988 GB, free: 8.199 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000892/0.4676, allocations: 259.6 kB / 0.599 GB, free: 7.945 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003834/0.4715, allocations: 3.963 MB / 0.6029 GB, free: 3.887 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009706/0.4724, allocations: 82.41 kB / 0.603 GB, free: 3.809 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.791e-05/0.4725, allocations: 44 kB / 0.603 GB, free: 3.766 MB / 382.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.001276/0.4738, allocations: 0.8602 MB / 0.6039 GB, free: 2.898 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003454/0.4742, allocations: 143.1 kB / 0.604 GB, free: 2.758 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003327/0.4745, allocations: 177.5 kB / 0.6042 GB, free: 2.582 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/0.4745, allocations: 13.03 kB / 0.6042 GB, free: 2.57 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.484e-05/0.4745, allocations: 4 kB / 0.6042 GB, free: 2.566 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.241e-05/0.4746, allocations: 11.91 kB / 0.6042 GB, free: 2.559 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006926/0.4815, allocations: 3.791 MB / 0.6079 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/0.4815, allocations: 0 / 0.6079 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008109/0.4823, allocations: 191.9 kB / 0.6081 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006248/0.4829, allocations: 277.1 kB / 0.6084 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000119/0.483, allocations: 43.97 kB / 0.6084 GB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00524/0.4883, allocations: 3.871 MB / 0.6122 GB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.4883, allocations: 0 / 0.6122 GB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004808/0.4931, allocations: 2.854 MB / 0.615 GB, free: 7.383 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00104/0.4941, allocations: 311 kB / 0.6153 GB, free: 7.078 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004207/0.4946, allocations: 39.98 kB / 0.6153 GB, free: 7.039 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008779/0.4954, allocations: 75.92 kB / 0.6154 GB, free: 6.965 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003048/0.4957, allocations: 140.8 kB / 0.6155 GB, free: 6.828 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.045e-05/0.4958, allocations: 39.92 kB / 0.6156 GB, free: 6.789 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001609/0.4974, allocations: 0.886 MB / 0.6164 GB, free: 5.895 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4974, allocations: 0 / 0.6164 GB, free: 5.895 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001915/0.4994, allocations: 444 kB / 0.6168 GB, free: 5.461 MB / 398.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.0002917/0.4996, allocations: 162.3 kB / 0.617 GB, free: 5.293 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003546/0.5032, allocations: 1.798 MB / 0.6188 GB, free: 3.484 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/0.5032, allocations: 0 / 0.6188 GB, free: 3.484 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002044/0.5052, allocations: 1.113 MB / 0.6198 GB, free: 2.359 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001792/0.507, allocations: 305.6 kB / 0.6201 GB, free: 2.082 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0101/0.5171, allocations: 4.76 MB / 0.6248 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00228/0.5194, allocations: 1.435 MB / 0.6262 GB, free: 11.79 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005477/0.52, allocations: 103.4 kB / 0.6263 GB, free: 11.69 MB / 414.1 MB Notification: Performance of SimCode: time 1.433e-06/0.52, allocations: 0 / 0.6263 GB, free: 11.69 MB / 414.1 MB Notification: Performance of Templates: time 0.06286/0.5828, allocations: 38.22 MB / 0.6636 GB, free: 5.535 MB / 446.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.04745184397325] Failed to read output from testmodel.py, exit status != 0: 0.5918471189215779 0.608534478 0.46781917300000003 Calling exit ...