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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 112.1 kB / 17.08 MB, free: 5.82 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 222.9 MB / 242.7 MB, free: 15.22 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 190.9 kB / 295 MB, free: 12.7 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03866/0.03866, allocations: 8.805 MB / 356 MB, free: 15.93 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002453/0.002453, allocations: 75.88 kB / 473.3 MB, free: 5.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3552/0.3577, allocations: 51.56 MB / 0.5126 GB, free: 12.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.StarPolygon): time 0.006834/0.3646, allocations: 4.071 MB / 0.5165 GB, free: 8.988 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002893/0.3676, allocations: 1.11 MB / 0.5176 GB, free: 7.875 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004387/0.368, allocations: 27.88 kB / 0.5176 GB, free: 7.848 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004386/0.3685, allocations: 170.6 kB / 0.5178 GB, free: 7.68 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009435/0.3695, allocations: 278.5 kB / 0.5181 GB, free: 7.406 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004047/0.3699, allocations: 167.7 kB / 0.5182 GB, free: 7.242 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002684/0.3726, allocations: 2.416 MB / 0.5206 GB, free: 4.816 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002853/0.3755, allocations: 2.518 MB / 0.523 GB, free: 2.234 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001836/0.3773, allocations: 1.164 MB / 0.5242 GB, free: 1.066 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002173/0.3795, allocations: 1.354 MB / 0.5255 GB, free: 15.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004831/0.38, allocations: 316 kB / 0.5258 GB, free: 15.4 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006561/0.3807, allocations: 316 kB / 0.5261 GB, free: 15.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008781/0.3816, allocations: 0.8493 MB / 0.5269 GB, free: 14.24 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001987/0.3836, allocations: 1.423 MB / 0.5283 GB, free: 12.81 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004807/0.3884, allocations: 4.055 MB / 0.5323 GB, free: 8.746 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.3884, allocations: 0 / 0.5323 GB, free: 8.746 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.402e-06/0.3884, allocations: 0 / 0.5323 GB, free: 8.746 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001128/0.3885, allocations: 7.938 kB / 0.5323 GB, free: 8.738 MB / 350.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.006909/0.3955, allocations: 2.931 MB / 0.5352 GB, free: 5.742 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.699e-05/0.3955, allocations: 12.03 kB / 0.5352 GB, free: 5.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000657/0.3962, allocations: 287.2 kB / 0.5354 GB, free: 5.449 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002593/0.3988, allocations: 1.511 MB / 0.5369 GB, free: 3.879 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001602/0.399, allocations: 172.9 kB / 0.5371 GB, free: 3.707 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003603/0.3993, allocations: 240.1 kB / 0.5373 GB, free: 3.473 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005902/0.4053, allocations: 3.186 MB / 0.5404 GB, free: 212 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.86e-05/0.4054, allocations: 0 / 0.5404 GB, free: 212 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002214/0.4056, allocations: 99.98 kB / 0.5405 GB, free: 112 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.549e-05/0.4056, allocations: 56 kB / 0.5406 GB, free: 56 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004947/0.4106, allocations: 2.652 MB / 0.5432 GB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0144/0.425, allocations: 7.833 MB / 0.5508 GB, free: 5.395 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003636/0.4287, allocations: 3.077 MB / 0.5538 GB, free: 1.973 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001876/0.4306, allocations: 1.053 MB / 0.5548 GB, free: 0.9141 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.336e-05/0.4308, allocations: 24.97 kB / 0.5549 GB, free: 0.8867 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00172/0.4325, allocations: 0.9711 MB / 0.5558 GB, free: 15.89 MB / 382.1 MB Notification: Performance of pre-optimization done (n=122): time 4.678e-06/0.4325, allocations: 0 / 0.5558 GB, free: 15.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=127): time 0.009208/0.4417, allocations: 4.513 MB / 0.5602 GB, free: 11.33 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001547/0.4419, allocations: 209.2 kB / 0.5604 GB, free: 11.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002131/0.4441, allocations: 1.219 MB / 0.5616 GB, free: 9.848 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001384/0.4442, allocations: 57.69 kB / 0.5617 GB, free: 9.785 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001199/0.4454, allocations: 0.9888 MB / 0.5626 GB, free: 8.785 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004743/0.4459, allocations: 444.2 kB / 0.5631 GB, free: 8.348 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000408/0.4463, allocations: 246.9 kB / 0.5633 GB, free: 8.098 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002067/0.4465, allocations: 353.9 kB / 0.5636 GB, free: 7.746 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001184/0.4477, allocations: 0.6738 MB / 0.5643 GB, free: 7.074 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001494/0.4492, allocations: 0.9814 MB / 0.5653 GB, free: 5.977 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002628/0.4519, allocations: 1.647 MB / 0.5669 GB, free: 4.227 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/0.4519, allocations: 8 kB / 0.5669 GB, free: 4.219 MB / 382.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003645/0.4556, allocations: 2.043 MB / 0.5689 GB, free: 2.168 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.962e-05/0.4556, allocations: 8 kB / 0.5689 GB, free: 2.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.769e-05/0.4556, allocations: 8 kB / 0.5689 GB, free: 2.152 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006735/0.4563, allocations: 288.9 kB / 0.5692 GB, free: 1.867 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009837/0.4573, allocations: 259.6 kB / 0.5694 GB, free: 1.613 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005087/0.4624, allocations: 4.082 MB / 0.5734 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001024/0.4634, allocations: 83.92 kB / 0.5735 GB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.204e-05/0.4635, allocations: 51.98 kB / 0.5735 GB, free: 13.25 MB / 398.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[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.001576/0.4651, allocations: 0.843 MB / 0.5743 GB, free: 12.4 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002439/0.4654, allocations: 135.2 kB / 0.5745 GB, free: 12.27 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003376/0.4657, allocations: 173.3 kB / 0.5746 GB, free: 12.1 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.4657, allocations: 12 kB / 0.5746 GB, free: 12.09 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.371e-05/0.4658, allocations: 7.938 kB / 0.5747 GB, free: 12.08 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.443e-05/0.4658, allocations: 8.031 kB / 0.5747 GB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006873/0.4727, allocations: 4.257 MB / 0.5788 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.376e-06/0.4727, allocations: 3.938 kB / 0.5788 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008078/0.4735, allocations: 187.9 kB / 0.579 GB, free: 7.551 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005925/0.4741, allocations: 280.7 kB / 0.5793 GB, free: 7.273 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001034/0.4742, allocations: 43.97 kB / 0.5793 GB, free: 7.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004935/0.4792, allocations: 4.021 MB / 0.5832 GB, free: 3.07 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.4792, allocations: 3.938 kB / 0.5832 GB, free: 3.066 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004605/0.4838, allocations: 2.857 MB / 0.586 GB, free: 176 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007742/0.4846, allocations: 372.1 kB / 0.5864 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001889/0.4848, allocations: 47.98 kB / 0.5864 GB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006154/0.4854, allocations: 71.92 kB / 0.5865 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002752/0.4857, allocations: 136.8 kB / 0.5866 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.81e-05/0.4858, allocations: 35.98 kB / 0.5867 GB, free: 15.5 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001248/0.4871, allocations: 0.8617 MB / 0.5875 GB, free: 14.63 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4871, allocations: 0 / 0.5875 GB, free: 14.63 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001603/0.4887, allocations: 440 kB / 0.5879 GB, free: 14.2 MB / 414.1 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.0002589/0.4889, allocations: 159.9 kB / 0.5881 GB, free: 14.04 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003325/0.4923, allocations: 1.832 MB / 0.5899 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.119e-05/0.4923, allocations: 4 kB / 0.5899 GB, free: 12.19 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001954/0.4943, allocations: 1.156 MB / 0.591 GB, free: 11.02 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001357/0.4956, allocations: 304.6 kB / 0.5913 GB, free: 10.73 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008068/0.5037, allocations: 4.656 MB / 0.5958 GB, free: 6.008 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001783/0.5055, allocations: 1.992 MB / 0.5978 GB, free: 3.977 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004776/0.506, allocations: 103.4 kB / 0.5979 GB, free: 3.875 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.506, allocations: 0 / 0.5979 GB, free: 3.875 MB / 414.1 MB Notification: Performance of Templates: time 0.05562/0.5616, allocations: 36.58 MB / 0.6336 GB, free: 15.35 MB / 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: 10.469329913845286] Failed to read output from testmodel.py, exit status != 0: 0.5692910749930888 0.5834006279999999 0.192442086 Calling exit ...