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.001537/0.001537, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.06209/0.06209, allocations: 8.704 MB / 21.96 MB, free: 3.734 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.301/1.301, allocations: 221.4 MB / 246 MB, free: 3.629 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.001234/0.001234, allocations: 91.92 kB / 299.1 MB, free: 3.008 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.458e-05/3.503e-05, allocations: 8 kB / 359.5 MB, free: 6.539 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2814/0.2814, allocations: 52.54 MB / 412.1 MB, free: 22.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1097/0.3911, allocations: 85 MB / 497 MB, free: 1.453 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002455/0.3914, allocations: 72.84 kB / 497.1 MB, free: 1.383 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3161/0.7075, allocations: 34.07 MB / 0.5187 GB, free: 83.92 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.414e-06/0.7076, allocations: 3.938 kB / 0.5187 GB, free: 83.92 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001122/0.7077, allocations: 59.8 kB / 0.5188 GB, free: 83.91 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.003679/0.7114, allocations: 2.284 MB / 0.521 GB, free: 82.72 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.7114, allocations: 7.781 kB / 0.521 GB, free: 82.72 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005526/0.712, allocations: 284.4 kB / 0.5213 GB, free: 82.59 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002036/0.714, allocations: 1.441 MB / 0.5227 GB, free: 81.82 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-05/0.7141, allocations: 175.8 kB / 0.5229 GB, free: 81.74 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003103/0.7144, allocations: 235 kB / 0.5231 GB, free: 81.66 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0039/0.7183, allocations: 2.961 MB / 0.526 GB, free: 79.63 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.422e-05/0.7184, allocations: 4 kB / 0.526 GB, free: 79.62 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001923/0.7186, allocations: 99.98 kB / 0.5261 GB, free: 79.53 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.065e-05/0.7186, allocations: 56 kB / 0.5262 GB, free: 79.47 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002978/0.7216, allocations: 2.325 MB / 0.5284 GB, free: 77.13 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01057/0.7322, allocations: 7.954 MB / 0.5362 GB, free: 69.12 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001769/0.734, allocations: 3.029 MB / 0.5392 GB, free: 65.73 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00115/0.7352, allocations: 1.032 MB / 0.5402 GB, free: 64.7 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.567e-05/0.7353, allocations: 20.67 kB / 0.5402 GB, free: 64.69 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001022/0.7363, allocations: 0.9351 MB / 0.5411 GB, free: 63.72 MB / 378.7 MB Notification: Performance of pre-optimization done (n=122): time 2.895e-06/0.7363, allocations: 0 / 0.5411 GB, free: 63.72 MB / 378.7 MB Notification: Performance of matching and sorting (n=127): time 0.004807/0.7411, allocations: 3.719 MB / 0.5447 GB, free: 59.95 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.926e-05/0.7412, allocations: 205.2 kB / 0.5449 GB, free: 59.71 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00119/0.7424, allocations: 1.086 MB / 0.546 GB, free: 58.6 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.541e-05/0.7425, allocations: 57.69 kB / 0.546 GB, free: 58.54 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006835/0.7432, allocations: 0.9469 MB / 0.547 GB, free: 57.58 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002525/0.7434, allocations: 432.5 kB / 0.5474 GB, free: 57.16 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.575e-05/0.7435, allocations: 24 kB / 0.5474 GB, free: 57.14 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.899e-05/0.7436, allocations: 357.9 kB / 0.5477 GB, free: 56.79 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007019/0.7443, allocations: 0.6077 MB / 0.5483 GB, free: 56.18 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000804/0.7451, allocations: 0.9034 MB / 0.5492 GB, free: 55.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008037/0.7459, allocations: 0.7347 MB / 0.5499 GB, free: 54.45 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/0.7459, allocations: 4 kB / 0.5499 GB, free: 54.44 MB / 378.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002182/0.7481, allocations: 1.906 MB / 0.5518 GB, free: 52.52 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/0.7482, allocations: 9.875 kB / 0.5518 GB, free: 52.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/0.7482, allocations: 4 kB / 0.5518 GB, free: 52.51 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005229/0.7487, allocations: 289.8 kB / 0.5521 GB, free: 52.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008644/0.7496, allocations: 251.7 kB / 0.5523 GB, free: 51.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003398/0.753, allocations: 3.777 MB / 0.556 GB, free: 48.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008292/0.7538, allocations: 88 kB / 0.5561 GB, free: 47.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.981e-05/0.7539, allocations: 44 kB / 0.5561 GB, free: 47.94 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_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.0002193/0.7541, allocations: 190.9 kB / 0.5563 GB, free: 47.75 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002008/0.7544, allocations: 142.4 kB / 0.5565 GB, free: 47.61 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003703/0.7547, allocations: 173.3 kB / 0.5566 GB, free: 47.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/0.7548, allocations: 12 kB / 0.5566 GB, free: 47.42 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.615e-05/0.7548, allocations: 4 kB / 0.5566 GB, free: 47.42 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/0.7548, allocations: 3.984 kB / 0.5566 GB, free: 47.41 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005396/0.7602, allocations: 4.224 MB / 0.5608 GB, free: 43.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.461e-06/0.7602, allocations: 0 / 0.5608 GB, free: 43.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007205/0.7609, allocations: 195.8 kB / 0.561 GB, free: 42.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004534/0.7614, allocations: 269.3 kB / 0.5612 GB, free: 42.68 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.983e-05/0.7615, allocations: 51.86 kB / 0.5613 GB, free: 42.63 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003245/0.7647, allocations: 3.696 MB / 0.5649 GB, free: 38.81 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.7648, allocations: 4.031 kB / 0.5649 GB, free: 38.8 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00291/0.7677, allocations: 2.783 MB / 0.5676 GB, free: 35.96 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000731/0.7684, allocations: 363.4 kB / 0.5679 GB, free: 35.59 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001674/0.7686, allocations: 51.97 kB / 0.568 GB, free: 35.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006135/0.7692, allocations: 87.89 kB / 0.5681 GB, free: 35.45 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002286/0.7695, allocations: 133 kB / 0.5682 GB, free: 35.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.556e-05/0.7695, allocations: 35.98 kB / 0.5682 GB, free: 35.29 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009735/0.7705, allocations: 0.8547 MB / 0.5691 GB, free: 34.42 MB / 378.7 MB Notification: Performance of sort global known variables: time 3e-07/0.7705, allocations: 4 kB / 0.5691 GB, free: 34.41 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001167/0.7717, allocations: 436 kB / 0.5695 GB, free: 33.99 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_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.0001996/0.7719, allocations: 163 kB / 0.5696 GB, free: 33.82 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001994/0.7739, allocations: 1.722 MB / 0.5713 GB, free: 32.08 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.7739, allocations: 5 kB / 0.5713 GB, free: 32.08 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001236/0.7752, allocations: 1.038 MB / 0.5723 GB, free: 31.03 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001107/0.7763, allocations: 281.6 kB / 0.5726 GB, free: 30.75 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00551/0.7818, allocations: 3.821 MB / 0.5763 GB, free: 26.87 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001252/0.7831, allocations: 2.062 MB / 0.5784 GB, free: 24.78 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0008086/0.7839, allocations: 358 kB / 0.5787 GB, free: 24.43 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002427/0.7842, allocations: 91.42 kB / 0.5788 GB, free: 24.34 MB / 378.7 MB Notification: Performance of SimCode: time 1.402e-06/0.7842, allocations: 0 / 0.5788 GB, free: 24.34 MB / 378.7 MB Notification: Performance of Templates: time 0.02712/0.8113, allocations: 19.29 MB / 0.5976 GB, free: 5.254 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)