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.001476/0.001476, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.608/1.608, allocations: 230.6 MB / 252.7 MB, free: 14.26 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.001613/0.001613, allocations: 209.4 kB / 309.2 MB, free: 3.129 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.04264/0.04264, allocations: 8.932 MB / 374.6 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.002571/0.002571, allocations: 83.88 kB / 0.4896 GB, free: 44.27 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08567/0.08825, allocations: 55.61 MB / 0.5439 GB, free: 4.559 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.StarPolygon): time 0.005728/0.09397, allocations: 3.771 MB / 0.5476 GB, free: 0.7656 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002381/0.09635, allocations: 1.157 MB / 0.5487 GB, free: 15.61 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002707/0.09663, allocations: 31.81 kB / 0.5488 GB, free: 15.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003935/0.09702, allocations: 174.6 kB / 0.5489 GB, free: 15.4 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008217/0.09784, allocations: 298.4 kB / 0.5492 GB, free: 15.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004032/0.09824, allocations: 187.7 kB / 0.5494 GB, free: 14.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002705/0.1009, allocations: 2.448 MB / 0.5518 GB, free: 12.47 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001841/0.1028, allocations: 1.281 MB / 0.553 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001651/0.1044, allocations: 1.211 MB / 0.5542 GB, free: 9.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00234/0.1068, allocations: 1.432 MB / 0.5556 GB, free: 8.473 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006132/0.1074, allocations: 316 kB / 0.5559 GB, free: 8.164 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007052/0.1081, allocations: 324 kB / 0.5562 GB, free: 7.848 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009395/0.109, allocations: 0.8492 MB / 0.5571 GB, free: 6.996 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001531/0.1106, allocations: 1.171 MB / 0.5582 GB, free: 5.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004347/0.1149, allocations: 4.122 MB / 0.5622 GB, free: 1.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.1149, allocations: 0 / 0.5622 GB, free: 1.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.1149, allocations: 4 kB / 0.5622 GB, free: 1.676 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001153/0.115, allocations: 0 / 0.5622 GB, free: 1.676 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.3181/0.4331, allocations: 4.019 MB / 0.5662 GB, free: 24.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.4332, allocations: 11.23 kB / 0.5662 GB, free: 24.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009191/0.4341, allocations: 338.6 kB / 0.5665 GB, free: 24.1 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002716/0.4368, allocations: 1.518 MB / 0.568 GB, free: 23.78 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00012/0.4369, allocations: 177.9 kB / 0.5681 GB, free: 23.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003032/0.4372, allocations: 229.6 kB / 0.5684 GB, free: 23.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006059/0.4433, allocations: 3.312 MB / 0.5716 GB, free: 22.88 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.154e-05/0.4434, allocations: 2.125 kB / 0.5716 GB, free: 22.88 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002333/0.4436, allocations: 101.7 kB / 0.5717 GB, free: 22.8 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.766e-05/0.4437, allocations: 55.34 kB / 0.5717 GB, free: 22.8 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006392/0.4501, allocations: 2.646 MB / 0.5743 GB, free: 21.92 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0139/0.464, allocations: 6.813 MB / 0.581 GB, free: 18.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002462/0.4664, allocations: 1.505 MB / 0.5825 GB, free: 18.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001823/0.4683, allocations: 1.01 MB / 0.5834 GB, free: 17.86 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.324e-05/0.4683, allocations: 14.81 kB / 0.5835 GB, free: 17.86 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001597/0.4699, allocations: 1.105 MB / 0.5845 GB, free: 17.24 MB / 382.1 MB Notification: Performance of pre-optimization done (n=122): time 3.637e-06/0.4699, allocations: 0.875 kB / 0.5845 GB, free: 17.24 MB / 382.1 MB Notification: Performance of matching and sorting (n=127): time 0.00902/0.4789, allocations: 4.498 MB / 0.5889 GB, free: 14.78 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001274/0.4791, allocations: 205.6 kB / 0.5891 GB, free: 14.55 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002369/0.4814, allocations: 1.257 MB / 0.5903 GB, free: 13.88 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001174/0.4816, allocations: 62.19 kB / 0.5904 GB, free: 13.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001101/0.4827, allocations: 0.9941 MB / 0.5914 GB, free: 12.97 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004104/0.4831, allocations: 456.5 kB / 0.5918 GB, free: 12.59 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000511/0.4836, allocations: 241.1 kB / 0.592 GB, free: 12.45 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001737/0.4838, allocations: 362 kB / 0.5924 GB, free: 12.11 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001399/0.4852, allocations: 0.6723 MB / 0.593 GB, free: 11.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001721/0.4869, allocations: 1.114 MB / 0.5941 GB, free: 10.9 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002515/0.4894, allocations: 1.653 MB / 0.5957 GB, free: 9.883 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.788e-06/0.4894, allocations: 1.219 kB / 0.5957 GB, free: 9.883 MB / 382.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003612/0.493, allocations: 2.065 MB / 0.5978 GB, free: 8.559 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.182e-05/0.493, allocations: 8 kB / 0.5978 GB, free: 8.551 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.888e-05/0.4931, allocations: 10.42 kB / 0.5978 GB, free: 8.543 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006286/0.4937, allocations: 297.5 kB / 0.5981 GB, free: 8.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009759/0.4947, allocations: 259.6 kB / 0.5983 GB, free: 7.996 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00387/0.4985, allocations: 3.955 MB / 0.6022 GB, free: 3.945 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001124/0.4997, allocations: 83.97 kB / 0.6023 GB, free: 3.863 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.331e-05/0.4997, allocations: 47.94 kB / 0.6023 GB, free: 3.816 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.001249/0.501, allocations: 0.8565 MB / 0.6031 GB, free: 2.953 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000238/0.5012, allocations: 147 kB / 0.6033 GB, free: 2.809 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002603/0.5015, allocations: 173.6 kB / 0.6034 GB, free: 2.637 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.796e-06/0.5015, allocations: 12 kB / 0.6035 GB, free: 2.625 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.488e-05/0.5015, allocations: 4 kB / 0.6035 GB, free: 2.621 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/0.5015, allocations: 7.969 kB / 0.6035 GB, free: 2.613 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006439/0.508, allocations: 3.799 MB / 0.6072 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.818e-06/0.508, allocations: 4 kB / 0.6072 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008509/0.5088, allocations: 187.9 kB / 0.6074 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006521/0.5095, allocations: 273.1 kB / 0.6076 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001196/0.5096, allocations: 47.97 kB / 0.6077 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005586/0.5152, allocations: 3.876 MB / 0.6115 GB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.5152, allocations: 0 / 0.6115 GB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005814/0.521, allocations: 2.857 MB / 0.6142 GB, free: 7.438 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001191/0.5222, allocations: 307 kB / 0.6145 GB, free: 7.137 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002313/0.5224, allocations: 43.98 kB / 0.6146 GB, free: 7.094 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006715/0.5231, allocations: 75.92 kB / 0.6147 GB, free: 7.02 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003368/0.5235, allocations: 142.1 kB / 0.6148 GB, free: 6.883 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.736e-05/0.5235, allocations: 35.98 kB / 0.6148 GB, free: 6.848 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001465/0.525, allocations: 0.8822 MB / 0.6157 GB, free: 5.957 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.525, allocations: 0 / 0.6157 GB, free: 5.957 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002073/0.5271, allocations: 448 kB / 0.6161 GB, free: 5.52 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.0003338/0.5274, allocations: 156.4 kB / 0.6163 GB, free: 5.355 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003803/0.5312, allocations: 1.797 MB / 0.618 GB, free: 3.547 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/0.5312, allocations: 1 kB / 0.618 GB, free: 3.547 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001988/0.5332, allocations: 1.05 MB / 0.619 GB, free: 2.484 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00159/0.5348, allocations: 306.9 kB / 0.6193 GB, free: 2.203 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009805/0.5446, allocations: 4.747 MB / 0.624 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001939/0.5465, allocations: 1.47 MB / 0.6254 GB, free: 11.9 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001211/0.5477, allocations: 370.3 kB / 0.6258 GB, free: 11.53 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003013/0.548, allocations: 87.42 kB / 0.6258 GB, free: 11.45 MB / 414.1 MB Notification: Performance of SimCode: time 1.142e-06/0.548, allocations: 3.938 kB / 0.6258 GB, free: 11.44 MB / 414.1 MB Notification: Performance of Templates: time 0.04412/0.5922, allocations: 24.33 MB / 0.6496 GB, free: 3.43 MB / 430.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: 6.194836754351854] Failed to read output from testmodel.py, exit status != 0: 0.6009847242385149 0.619933804 0.501419454 Calling exit ...