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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package HanserModelica with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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 3.2.3+maint.om/package.mo): time 0.00117/0.001171, allocations: 177.8 kB / 16.12 MB, free: 5.695 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo): time 0.04396/0.04396, allocations: 8.773 MB / 25.64 MB, free: 3.723 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.539/1.539, allocations: 205.4 MB / 233.9 MB, free: 12.41 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007905/0.0007907, allocations: 97.66 kB / 284.4 MB, free: 14.33 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004252/0.0004253, allocations: 15.98 kB / 344.8 MB, free: 1.852 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2403/0.2407, allocations: 49.7 MB / 394.5 MB, free: 36.76 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1208/0.3616, allocations: 84.29 MB / 478.8 MB, free: 360 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002604/0.3619, allocations: 67.97 kB / 478.9 MB, free: 292 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.326/0.6879, allocations: 33.12 MB / 0.5 GB, free: 87.34 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.146e-06/0.688, allocations: 0 / 0.5 GB, free: 87.34 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002142/0.6882, allocations: 59.75 kB / 0.5 GB, free: 87.33 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: 576 * Number of variables: 576 Notification: Performance of Generate backend data structure: time 0.007813/0.6961, allocations: 2.431 MB / 0.5024 GB, free: 86.34 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.684e-05/0.6961, allocations: 9.094 kB / 0.5024 GB, free: 86.34 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001305/0.6974, allocations: 285.9 kB / 0.5027 GB, free: 86.21 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00338/0.7008, allocations: 1.494 MB / 0.5041 GB, free: 85.77 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001239/0.701, allocations: 171.1 kB / 0.5043 GB, free: 85.77 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004597/0.7015, allocations: 235.9 kB / 0.5045 GB, free: 85.76 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004701/0.7062, allocations: 3.06 MB / 0.5075 GB, free: 85.47 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.239e-05/0.7062, allocations: 0 / 0.5075 GB, free: 85.47 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001875/0.7064, allocations: 93.62 kB / 0.5076 GB, free: 85.47 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.935e-05/0.7065, allocations: 57.53 kB / 0.5077 GB, free: 85.47 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003276/0.7097, allocations: 2.459 MB / 0.5101 GB, free: 85.44 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009959/0.7197, allocations: 7.93 MB / 0.5178 GB, free: 83.32 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002012/0.7218, allocations: 3.106 MB / 0.5208 GB, free: 80.84 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001261/0.7231, allocations: 1.099 MB / 0.5219 GB, free: 80.52 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.177e-05/0.7231, allocations: 16.88 kB / 0.5219 GB, free: 80.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001152/0.7243, allocations: 0.9916 MB / 0.5229 GB, free: 80.16 MB / 378.7 MB Notification: Performance of pre-optimization done (n=122): time 3.307e-06/0.7243, allocations: 0 / 0.5229 GB, free: 80.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=127): time 0.006284/0.7306, allocations: 4.538 MB / 0.5273 GB, free: 78.26 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.137e-05/0.7307, allocations: 201 kB / 0.5275 GB, free: 78.04 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001978/0.7327, allocations: 1.22 MB / 0.5287 GB, free: 77.6 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001032/0.7328, allocations: 56.39 kB / 0.5288 GB, free: 77.55 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006652/0.7335, allocations: 0.9344 MB / 0.5297 GB, free: 76.85 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002683/0.7338, allocations: 433.7 kB / 0.5301 GB, free: 76.53 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.293e-05/0.7338, allocations: 27.09 kB / 0.5301 GB, free: 76.51 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.164e-05/0.7339, allocations: 358.7 kB / 0.5305 GB, free: 76.18 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008997/0.7348, allocations: 0.6696 MB / 0.5311 GB, free: 75.97 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001008/0.7358, allocations: 0.9632 MB / 0.5321 GB, free: 75.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001765/0.7376, allocations: 1.618 MB / 0.5336 GB, free: 73.69 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.7376, allocations: 0 / 0.5336 GB, free: 73.69 MB / 378.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002702/0.7403, allocations: 2.017 MB / 0.5356 GB, free: 71.97 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.136e-05/0.7404, allocations: 8 kB / 0.5356 GB, free: 71.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.888e-05/0.7404, allocations: 4 kB / 0.5356 GB, free: 71.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006529/0.7411, allocations: 290 kB / 0.5359 GB, free: 71.72 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009264/0.742, allocations: 256.2 kB / 0.5361 GB, free: 71.51 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003722/0.7457, allocations: 3.773 MB / 0.5398 GB, free: 68.03 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001052/0.7468, allocations: 94.3 kB / 0.5399 GB, free: 67.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-05/0.7469, allocations: 43.61 kB / 0.54 GB, free: 67.91 MB / 378.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,rootMeanSquare[5].mean.y,$PRE.rootMeanSquare[4].mean.y,rootMeanSquare[4].mean.y,$PRE.rootMeanSquare[3].mean.y,rootMeanSquare[3].mean.y,$PRE.rootMeanSquare[2].mean.y,rootMeanSquare[2].mean.y,$PRE.rootMeanSquare[1].mean.y,rootMeanSquare[1].mean.y,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStep[4].y,booleanStep[5].y) * Number of discrete states: 0 () * Number of clocked 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.00143/0.7483, allocations: 0.8389 MB / 0.5408 GB, free: 67.21 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002664/0.7486, allocations: 149.5 kB / 0.5409 GB, free: 67.07 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002925/0.7489, allocations: 168.4 kB / 0.5411 GB, free: 66.91 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.257e-06/0.7489, allocations: 12 kB / 0.5411 GB, free: 66.9 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-05/0.749, allocations: 4 kB / 0.5411 GB, free: 66.9 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.347e-05/0.749, allocations: 7.125 kB / 0.5411 GB, free: 66.9 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005881/0.7549, allocations: 4.321 MB / 0.5453 GB, free: 63.37 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/0.7549, allocations: 4 kB / 0.5453 GB, free: 63.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006948/0.7556, allocations: 197.4 kB / 0.5455 GB, free: 63.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000467/0.7561, allocations: 275.6 kB / 0.5458 GB, free: 62.99 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.95e-05/0.7562, allocations: 43.31 kB / 0.5458 GB, free: 62.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003518/0.7597, allocations: 3.71 MB / 0.5494 GB, free: 59.52 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.7597, allocations: 4.031 kB / 0.5494 GB, free: 59.52 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003586/0.7633, allocations: 2.889 MB / 0.5523 GB, free: 56.92 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000839/0.7642, allocations: 363.5 kB / 0.5526 GB, free: 56.55 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002267/0.7645, allocations: 59.91 kB / 0.5527 GB, free: 56.49 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006/0.7651, allocations: 75.94 kB / 0.5527 GB, free: 56.41 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002507/0.7653, allocations: 136.8 kB / 0.5529 GB, free: 56.28 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.096e-05/0.7654, allocations: 35.98 kB / 0.5529 GB, free: 56.24 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009519/0.7663, allocations: 0.8578 MB / 0.5537 GB, free: 55.38 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7664, allocations: 0 / 0.5537 GB, free: 55.38 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001422/0.7678, allocations: 436 kB / 0.5542 GB, free: 54.95 MB / 378.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,rootMeanSquare[2].mean.y,rootMeanSquare[3].mean.y,rootMeanSquare[4].mean.y,rootMeanSquare[5].mean.y) * 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 (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.0002653/0.7681, allocations: 174.5 kB / 0.5543 GB, free: 54.77 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002433/0.7705, allocations: 1.839 MB / 0.5561 GB, free: 52.92 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.7705, allocations: 0 / 0.5561 GB, free: 52.92 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001442/0.772, allocations: 1.094 MB / 0.5572 GB, free: 51.81 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001649/0.7736, allocations: 301.8 kB / 0.5575 GB, free: 51.53 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006537/0.7802, allocations: 5.457 MB / 0.5628 GB, free: 46.06 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001447/0.7817, allocations: 2.011 MB / 0.5648 GB, free: 44.01 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001159/0.7829, allocations: 355.5 kB / 0.5651 GB, free: 43.67 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002476/0.7831, allocations: 95.42 kB / 0.5652 GB, free: 43.58 MB / 378.7 MB Notification: Performance of SimCode: time 1.153e-06/0.7831, allocations: 0 / 0.5652 GB, free: 43.58 MB / 378.7 MB Notification: Performance of Templates: time 0.02883/0.812, allocations: 19.5 MB / 0.5842 GB, free: 24.32 MB / 378.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)