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.004481/0.004482, allocations: 170.8 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03663/0.03663, allocations: 8.798 MB / 24.65 MB, free: 4.113 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.2/1.2, allocations: 223.2 MB / 250.7 MB, free: 4.73 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.0008804/0.0008803, allocations: 98.55 kB / 304 MB, free: 3.602 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003337/0.0003337, allocations: 12 kB / 367.1 MB, free: 6.797 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08777/0.08812, allocations: 52.55 MB / 419.6 MB, free: 2.195 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2388/0.327, allocations: 85.06 MB / 0.4928 GB, free: 7.418 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002101/0.3272, allocations: 72.53 kB / 0.4929 GB, free: 7.348 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07958/0.4068, allocations: 33.96 MB / 0.5261 GB, free: 5.52 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4068, allocations: 0 / 0.5261 GB, free: 5.52 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001259/0.407, allocations: 59.94 kB / 0.5261 GB, free: 5.461 MB / 394.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.00433/0.4113, allocations: 2.48 MB / 0.5286 GB, free: 2.914 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.4114, allocations: 12.56 kB / 0.5286 GB, free: 2.902 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005019/0.4119, allocations: 288.7 kB / 0.5288 GB, free: 2.617 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002462/0.4144, allocations: 1.451 MB / 0.5303 GB, free: 1.105 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001217/0.4145, allocations: 168.6 kB / 0.5304 GB, free: 0.9375 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003027/0.4148, allocations: 235.9 kB / 0.5306 GB, free: 0.707 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004266/0.4191, allocations: 3.043 MB / 0.5336 GB, free: 13.55 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.061e-05/0.4191, allocations: 3.938 kB / 0.5336 GB, free: 13.55 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002066/0.4193, allocations: 100 kB / 0.5337 GB, free: 13.45 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.256e-05/0.4194, allocations: 55.98 kB / 0.5338 GB, free: 13.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003722/0.4231, allocations: 2.473 MB / 0.5362 GB, free: 10.91 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01156/0.4347, allocations: 7.944 MB / 0.5439 GB, free: 2.801 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002454/0.4372, allocations: 3.095 MB / 0.547 GB, free: 15.37 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.76e-05/0.4372, allocations: 20.97 kB / 0.547 GB, free: 15.35 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001299/0.4385, allocations: 0.9896 MB / 0.548 GB, free: 14.33 MB / 426.7 MB Notification: Performance of pre-optimization done (n=122): time 2.935e-06/0.4386, allocations: 0 / 0.548 GB, free: 14.33 MB / 426.7 MB Notification: Performance of matching and sorting (n=127): time 0.006804/0.4454, allocations: 4.511 MB / 0.5524 GB, free: 9.77 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/0.4455, allocations: 197.2 kB / 0.5525 GB, free: 9.535 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001378/0.4469, allocations: 1.104 MB / 0.5536 GB, free: 8.414 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001203/0.447, allocations: 57.69 kB / 0.5537 GB, free: 8.352 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000824/0.4478, allocations: 0.9398 MB / 0.5546 GB, free: 7.398 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003254/0.4482, allocations: 429.9 kB / 0.555 GB, free: 6.973 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.918e-05/0.4482, allocations: 24 kB / 0.555 GB, free: 6.949 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.4484, allocations: 357.9 kB / 0.5554 GB, free: 6.594 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009806/0.4494, allocations: 0.6622 MB / 0.556 GB, free: 5.93 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00122/0.4506, allocations: 0.954 MB / 0.557 GB, free: 4.879 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001168/0.4518, allocations: 0.7875 MB / 0.5577 GB, free: 4.094 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.226e-06/0.4518, allocations: 7.938 kB / 0.5577 GB, free: 4.086 MB / 426.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002999/0.4548, allocations: 2.011 MB / 0.5597 GB, free: 2.062 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.4548, allocations: 8 kB / 0.5597 GB, free: 2.055 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.4549, allocations: 8.156 kB / 0.5597 GB, free: 2.047 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005627/0.4554, allocations: 278.3 kB / 0.56 GB, free: 1.773 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009595/0.4564, allocations: 255.7 kB / 0.5602 GB, free: 1.523 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00418/0.4606, allocations: 3.822 MB / 0.5639 GB, free: 13.57 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009346/0.4615, allocations: 95.97 kB / 0.564 GB, free: 13.47 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.881e-05/0.4616, allocations: 44 kB / 0.5641 GB, free: 13.43 MB / 442.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 () * 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.001275/0.4629, allocations: 0.8412 MB / 0.5649 GB, free: 12.58 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002104/0.4631, allocations: 138.4 kB / 0.565 GB, free: 12.45 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003246/0.4635, allocations: 169.3 kB / 0.5652 GB, free: 12.28 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.728e-06/0.4635, allocations: 12 kB / 0.5652 GB, free: 12.27 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.48e-05/0.4635, allocations: 8.062 kB / 0.5652 GB, free: 12.26 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/0.4635, allocations: 7.969 kB / 0.5652 GB, free: 12.25 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006368/0.4699, allocations: 4.302 MB / 0.5694 GB, free: 7.863 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.4699, allocations: 0 / 0.5694 GB, free: 7.863 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008126/0.4707, allocations: 199.9 kB / 0.5696 GB, free: 7.668 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005313/0.4713, allocations: 260.8 kB / 0.5699 GB, free: 7.41 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.145e-05/0.4714, allocations: 43.97 kB / 0.5699 GB, free: 7.367 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004055/0.4755, allocations: 3.775 MB / 0.5736 GB, free: 3.461 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.4755, allocations: 0 / 0.5736 GB, free: 3.461 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004069/0.4795, allocations: 2.94 MB / 0.5765 GB, free: 468 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000846/0.4804, allocations: 363.4 kB / 0.5768 GB, free: 84 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002024/0.4806, allocations: 51.97 kB / 0.5769 GB, free: 32 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.1568/0.6375, allocations: 73.7 kB / 0.5769 GB, free: 103.2 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003276/0.6378, allocations: 134.4 kB / 0.5771 GB, free: 103.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.854e-05/0.6379, allocations: 39.31 kB / 0.5771 GB, free: 103.2 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0009411/0.6389, allocations: 0.8632 MB / 0.5779 GB, free: 103.1 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6389, allocations: 1.156 kB / 0.5779 GB, free: 103.1 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001265/0.6401, allocations: 437.8 kB / 0.5784 GB, free: 103.1 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) * 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.0001895/0.6403, allocations: 165.7 kB / 0.5785 GB, free: 103 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002315/0.6427, allocations: 1.845 MB / 0.5803 GB, free: 102.9 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.6427, allocations: 3.906 kB / 0.5803 GB, free: 102.9 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001423/0.6441, allocations: 1.081 MB / 0.5814 GB, free: 102.8 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009901/0.6451, allocations: 283.2 kB / 0.5816 GB, free: 102.8 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005886/0.651, allocations: 5.466 MB / 0.587 GB, free: 100.6 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001215/0.6522, allocations: 2.063 MB / 0.589 GB, free: 99.86 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0007978/0.653, allocations: 357.7 kB / 0.5893 GB, free: 99.84 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002376/0.6533, allocations: 93.8 kB / 0.5894 GB, free: 99.83 MB / 442.7 MB Notification: Performance of SimCode: time 5.01e-07/0.6533, allocations: 0 / 0.5894 GB, free: 99.83 MB / 442.7 MB Notification: Performance of Templates: time 0.03/0.6833, allocations: 19.22 MB / 0.6082 GB, free: 99.13 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)