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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 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) Running command: translateModel(HanserModelica.Electrical.StarPolygon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.StarPolygon") translateModel(HanserModelica.Electrical.StarPolygon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.StarPolygon") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 176.1 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04552/0.04552, allocations: 8.714 MB / 16.79 MB, free: 3.375 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 221.5 MB / 240.9 MB, free: 13.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 97.81 kB / 293.9 MB, free: 7.211 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.839e-05/1.833e-05, allocations: 7.938 kB / 352.6 MB, free: 1.262 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1078, allocations: 52.55 MB / 405.2 MB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.42/0.5279, allocations: 84.33 MB / 489.5 MB, free: 3.035 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002503/0.5282, allocations: 68.09 kB / 489.6 MB, free: 3.004 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1069/0.6351, allocations: 33.72 MB / 0.511 GB, free: 1.93 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.6351, allocations: 3.938 kB / 0.511 GB, free: 1.926 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001983/0.6353, allocations: 52 kB / 0.5111 GB, free: 1.875 MB / 378.7 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.00593/0.6413, allocations: 2.277 MB / 0.5133 GB, free: 15.54 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.6413, allocations: 15.98 kB / 0.5133 GB, free: 15.53 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001229/0.6426, allocations: 292.7 kB / 0.5136 GB, free: 15.24 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003483/0.6461, allocations: 1.44 MB / 0.515 GB, free: 13.74 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001242/0.6462, allocations: 76 kB / 0.5151 GB, free: 13.66 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000745/0.647, allocations: 132 kB / 0.5152 GB, free: 13.54 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004577/0.6516, allocations: 2.211 MB / 0.5174 GB, free: 11.32 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005416/0.657, allocations: 2.64 MB / 0.5199 GB, free: 8.57 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.017e-05/0.6571, allocations: 3.906 kB / 0.5199 GB, free: 8.566 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002563/0.6574, allocations: 7.953 kB / 0.52 GB, free: 8.559 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.441e-05/0.6574, allocations: 56 kB / 0.52 GB, free: 8.504 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01316/0.6706, allocations: 7.527 MB / 0.5274 GB, free: 0.8359 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002564/0.6732, allocations: 2.988 MB / 0.5303 GB, free: 13.5 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001352/0.6745, allocations: 0.9639 MB / 0.5312 GB, free: 12.53 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.447e-05/0.6746, allocations: 17.31 kB / 0.5312 GB, free: 12.51 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001235/0.6759, allocations: 0.8927 MB / 0.5321 GB, free: 11.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=122): time 3.176e-06/0.6759, allocations: 0 / 0.5321 GB, free: 11.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=127): time 0.005593/0.6815, allocations: 3.521 MB / 0.5355 GB, free: 8.023 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.315e-05/0.6816, allocations: 201.2 kB / 0.5357 GB, free: 7.781 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001596/0.6832, allocations: 1.001 MB / 0.5367 GB, free: 6.762 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001115/0.6833, allocations: 33.69 kB / 0.5367 GB, free: 6.723 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008874/0.6842, allocations: 0.9434 MB / 0.5377 GB, free: 5.766 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003566/0.6846, allocations: 409.9 kB / 0.5381 GB, free: 5.359 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.02e-05/0.6847, allocations: 0 / 0.5381 GB, free: 5.359 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.6848, allocations: 357.9 kB / 0.5384 GB, free: 5.004 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007988/0.6856, allocations: 0.592 MB / 0.539 GB, free: 4.414 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001047/0.6867, allocations: 0.8661 MB / 0.5398 GB, free: 3.449 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009947/0.6877, allocations: 0.7205 MB / 0.5405 GB, free: 2.734 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.6877, allocations: 0 / 0.5405 GB, free: 2.734 MB / 410.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002863/0.6906, allocations: 1.796 MB / 0.5423 GB, free: 0.9258 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/0.6906, allocations: 8 kB / 0.5423 GB, free: 0.918 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.685e-05/0.6906, allocations: 8 kB / 0.5423 GB, free: 0.9102 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006181/0.6913, allocations: 268.8 kB / 0.5425 GB, free: 0.6445 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009881/0.6923, allocations: 259.5 kB / 0.5428 GB, free: 400 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004417/0.6967, allocations: 3.66 MB / 0.5464 GB, free: 12.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00105/0.6978, allocations: 67.92 kB / 0.5464 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001701/0.698, allocations: 48.06 kB / 0.5465 GB, free: 12.51 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquare[5].mean.y_last,rootMeanSquare[5].mean.y_last,$PRE.rootMeanSquare[4].mean.y_last,rootMeanSquare[4].mean.y_last,$PRE.rootMeanSquare[3].mean.y_last,rootMeanSquare[3].mean.y_last,$PRE.rootMeanSquare[2].mean.y_last,rootMeanSquare[2].mean.y_last,$PRE.rootMeanSquare[1].mean.y_last,rootMeanSquare[1].mean.y_last,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStep[4].y,booleanStep[5].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004831/0.6985, allocations: 147.5 kB / 0.5466 GB, free: 12.36 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004037/0.6989, allocations: 138.4 kB / 0.5468 GB, free: 12.22 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000524/0.6994, allocations: 153 kB / 0.5469 GB, free: 12.07 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.387e-05/0.6994, allocations: 12 kB / 0.5469 GB, free: 12.06 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.979e-05/0.6994, allocations: 4 kB / 0.5469 GB, free: 12.05 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.879e-05/0.6995, allocations: 8.219 kB / 0.5469 GB, free: 12.05 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007328/0.7068, allocations: 3.832 MB / 0.5507 GB, free: 8.145 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/0.7068, allocations: 0 / 0.5507 GB, free: 8.145 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008593/0.7077, allocations: 199.8 kB / 0.5509 GB, free: 7.949 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005695/0.7083, allocations: 264.8 kB / 0.5511 GB, free: 7.688 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.536e-05/0.7084, allocations: 27.92 kB / 0.5511 GB, free: 7.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005271/0.7137, allocations: 3.591 MB / 0.5546 GB, free: 3.953 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.7137, allocations: 3.938 kB / 0.5546 GB, free: 3.949 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005896/0.7196, allocations: 2.681 MB / 0.5573 GB, free: 1.203 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001179/0.7208, allocations: 359.5 kB / 0.5576 GB, free: 0.832 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003396/0.7212, allocations: 31.97 kB / 0.5576 GB, free: 0.8008 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001029/0.7222, allocations: 55.94 kB / 0.5577 GB, free: 0.7461 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004432/0.7227, allocations: 145.1 kB / 0.5578 GB, free: 0.6016 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000115/0.7228, allocations: 35.98 kB / 0.5579 GB, free: 0.5664 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001636/0.7245, allocations: 0.7673 MB / 0.5586 GB, free: 15.79 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.7245, allocations: 192 / 0.5586 GB, free: 15.79 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00229/0.7268, allocations: 388 kB / 0.559 GB, free: 15.41 MB / 442.7 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,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStep[4].y,booleanStep[5].y,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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003581/0.7272, allocations: 146.9 kB / 0.5591 GB, free: 15.26 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00378/0.731, allocations: 1.643 MB / 0.5607 GB, free: 13.61 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/0.731, allocations: 8.25 kB / 0.5607 GB, free: 13.6 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002238/0.7332, allocations: 0.9891 MB / 0.5617 GB, free: 12.6 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002161/0.7354, allocations: 243.5 kB / 0.5619 GB, free: 12.37 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0107/0.7461, allocations: 3.748 MB / 0.5656 GB, free: 8.562 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002653/0.7488, allocations: 2.062 MB / 0.5676 GB, free: 6.461 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001823/0.7507, allocations: 361.7 kB / 0.568 GB, free: 6.105 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004211/0.7511, allocations: 87.42 kB / 0.568 GB, free: 6.02 MB / 442.7 MB Notification: Performance of SimCode: time 1.353e-06/0.7511, allocations: 0 / 0.568 GB, free: 6.02 MB / 442.7 MB Notification: Performance of Templates: time 0.3281/1.079, allocations: 16.97 MB / 0.5846 GB, free: 105.1 MB / 442.7 MB make -j1 -f HanserModelica_HanserModelica.Electrical.StarPolygon.makefile (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)