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.001817/0.001817, allocations: 104.6 kB / 16.4 MB, free: 6.504 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.483/1.483, allocations: 222.9 MB / 242.1 MB, free: 15.21 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.001999/0.001999, allocations: 187.7 kB / 294.4 MB, free: 12.65 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.04088/0.04088, allocations: 8.789 MB / 355.3 MB, free: 15.9 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.00239/0.00239, allocations: 83.86 kB / 472.6 MB, free: 5.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2978/0.3003, allocations: 51.56 MB / 0.5119 GB, free: 12.4 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.StarPolygon): time 0.007186/0.3075, allocations: 4.057 MB / 0.5159 GB, free: 8.977 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002953/0.3105, allocations: 1.118 MB / 0.517 GB, free: 7.855 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003618/0.3109, allocations: 23.88 kB / 0.517 GB, free: 7.832 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004476/0.3113, allocations: 170.7 kB / 0.5171 GB, free: 7.664 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009396/0.3123, allocations: 274.4 kB / 0.5174 GB, free: 7.395 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004376/0.3128, allocations: 171.7 kB / 0.5176 GB, free: 7.227 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003014/0.3158, allocations: 2.416 MB / 0.5199 GB, free: 4.801 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003149/0.319, allocations: 2.522 MB / 0.5224 GB, free: 2.215 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001872/0.3209, allocations: 1.161 MB / 0.5235 GB, free: 1.051 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002252/0.3231, allocations: 1.354 MB / 0.5248 GB, free: 15.69 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005205/0.3237, allocations: 312 kB / 0.5251 GB, free: 15.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006879/0.3244, allocations: 328 kB / 0.5255 GB, free: 15.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009125/0.3253, allocations: 0.8454 MB / 0.5263 GB, free: 14.22 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001873/0.3272, allocations: 1.419 MB / 0.5277 GB, free: 12.79 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005062/0.3322, allocations: 4.055 MB / 0.5316 GB, free: 8.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.3323, allocations: 4 kB / 0.5316 GB, free: 8.727 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.352e-05/0.3323, allocations: 4 kB / 0.5316 GB, free: 8.723 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001202/0.3324, allocations: 3.938 kB / 0.5316 GB, free: 8.719 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.00703/0.3394, allocations: 2.938 MB / 0.5345 GB, free: 5.715 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.054e-05/0.3395, allocations: 8.031 kB / 0.5345 GB, free: 5.707 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009358/0.3405, allocations: 287.2 kB / 0.5348 GB, free: 5.426 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002835/0.3433, allocations: 1.503 MB / 0.5363 GB, free: 3.863 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001616/0.3435, allocations: 176.9 kB / 0.5364 GB, free: 3.688 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000372/0.3439, allocations: 244.1 kB / 0.5367 GB, free: 3.449 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006261/0.3502, allocations: 3.174 MB / 0.5398 GB, free: 200 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.766e-05/0.3502, allocations: 11.92 kB / 0.5398 GB, free: 188 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002152/0.3505, allocations: 92 kB / 0.5399 GB, free: 96 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.053e-05/0.3505, allocations: 63.98 kB / 0.5399 GB, free: 32 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004922/0.3555, allocations: 2.648 MB / 0.5425 GB, free: 13.37 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01453/0.37, allocations: 7.821 MB / 0.5501 GB, free: 5.387 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003343/0.3734, allocations: 3.084 MB / 0.5532 GB, free: 1.957 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001875/0.3753, allocations: 1.061 MB / 0.5542 GB, free: 0.8906 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.972e-05/0.3754, allocations: 16.98 kB / 0.5542 GB, free: 0.8711 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001706/0.3771, allocations: 0.9749 MB / 0.5552 GB, free: 15.87 MB / 382.1 MB Notification: Performance of pre-optimization done (n=122): time 3.476e-06/0.3771, allocations: 0 / 0.5552 GB, free: 15.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=127): time 0.01008/0.3872, allocations: 4.509 MB / 0.5596 GB, free: 11.32 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002362/0.3875, allocations: 209.2 kB / 0.5598 GB, free: 11.07 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002438/0.39, allocations: 1.227 MB / 0.561 GB, free: 9.824 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000194/0.3902, allocations: 57.69 kB / 0.561 GB, free: 9.762 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001156/0.3913, allocations: 0.9771 MB / 0.562 GB, free: 8.773 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004699/0.3918, allocations: 452.2 kB / 0.5624 GB, free: 8.328 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004109/0.3922, allocations: 238.9 kB / 0.5626 GB, free: 8.086 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002407/0.3925, allocations: 365.9 kB / 0.563 GB, free: 7.723 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001213/0.3937, allocations: 0.6661 MB / 0.5636 GB, free: 7.059 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001484/0.3952, allocations: 0.9853 MB / 0.5646 GB, free: 5.957 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00271/0.3979, allocations: 1.647 MB / 0.5662 GB, free: 4.207 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/0.3979, allocations: 0 / 0.5662 GB, free: 4.207 MB / 382.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003901/0.4019, allocations: 2.051 MB / 0.5682 GB, free: 2.148 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.019e-05/0.4019, allocations: 8 kB / 0.5682 GB, free: 2.141 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-05/0.4019, allocations: 4.312 kB / 0.5682 GB, free: 2.137 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000673/0.4026, allocations: 288.6 kB / 0.5685 GB, free: 1.852 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001039/0.4037, allocations: 263.6 kB / 0.5687 GB, free: 1.594 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005523/0.4092, allocations: 4.075 MB / 0.5727 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001412/0.4107, allocations: 87.88 kB / 0.5728 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001149/0.4108, allocations: 51.92 kB / 0.5728 GB, free: 13.24 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.001989/0.4128, allocations: 0.8432 MB / 0.5737 GB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003932/0.4132, allocations: 143.1 kB / 0.5738 GB, free: 12.25 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004396/0.4136, allocations: 169.3 kB / 0.574 GB, free: 12.08 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.748e-05/0.4137, allocations: 12 kB / 0.574 GB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.192e-05/0.4137, allocations: 7.938 kB / 0.574 GB, free: 12.06 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.5e-05/0.4137, allocations: 7.969 kB / 0.574 GB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007958/0.4217, allocations: 4.253 MB / 0.5781 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/0.4218, allocations: 8.094 kB / 0.5782 GB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008638/0.4226, allocations: 191.8 kB / 0.5783 GB, free: 7.527 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006697/0.4233, allocations: 272.8 kB / 0.5786 GB, free: 7.258 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001233/0.4234, allocations: 43.95 kB / 0.5786 GB, free: 7.215 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005397/0.4288, allocations: 4.028 MB / 0.5826 GB, free: 3.047 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.4289, allocations: 4.031 kB / 0.5826 GB, free: 3.043 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004793/0.4337, allocations: 2.853 MB / 0.5854 GB, free: 156 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007734/0.4345, allocations: 372.1 kB / 0.5857 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002018/0.4347, allocations: 43.97 kB / 0.5858 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006579/0.4354, allocations: 71.94 kB / 0.5858 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003149/0.4357, allocations: 136.8 kB / 0.586 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.064e-05/0.4358, allocations: 39.98 kB / 0.586 GB, free: 15.48 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001315/0.4371, allocations: 0.8617 MB / 0.5868 GB, free: 14.61 MB / 414.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.4371, allocations: 0 / 0.5868 GB, free: 14.61 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001567/0.4387, allocations: 436 kB / 0.5873 GB, free: 14.19 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.0002744/0.439, allocations: 159.9 kB / 0.5874 GB, free: 14.02 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003417/0.4424, allocations: 1.836 MB / 0.5892 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.4424, allocations: 0 / 0.5892 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001934/0.4444, allocations: 1.09 MB / 0.5903 GB, free: 11.07 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001567/0.4459, allocations: 308.2 kB / 0.5906 GB, free: 10.77 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008824/0.4548, allocations: 4.635 MB / 0.5951 GB, free: 6.082 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002258/0.4571, allocations: 2.027 MB / 0.5971 GB, free: 4.016 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001291/0.4584, allocations: 366.3 kB / 0.5974 GB, free: 3.652 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003084/0.4587, allocations: 87.44 kB / 0.5975 GB, free: 3.566 MB / 414.1 MB Notification: Performance of SimCode: time 1.022e-06/0.4587, allocations: 0 / 0.5975 GB, free: 3.566 MB / 414.1 MB Notification: Performance of Templates: time 0.04244/0.5012, allocations: 21.24 MB / 0.6182 GB, free: 14.54 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: 5.705791464075446]