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) 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/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) 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=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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 98.77 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 223.2 MB / 238.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 184.7 kB / 290.2 MB, free: 2.156 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03199/0.03199, allocations: 8.793 MB / 350.1 MB, free: 4.699 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005432/0.0005438, allocations: 11.09 kB / 413.1 MB, free: 43 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1152, allocations: 52.56 MB / 465.7 MB, free: 13.53 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.StarPolygon): time 0.004392/0.1197, allocations: 3.334 MB / 469 MB, free: 10.17 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001859/0.1215, allocations: 1.095 MB / 470.1 MB, free: 9.074 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002786/0.1218, allocations: 15.94 kB / 470.1 MB, free: 9.059 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002765/0.1221, allocations: 143.1 kB / 470.2 MB, free: 8.918 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006748/0.1228, allocations: 231.3 kB / 470.5 MB, free: 8.691 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000404/0.1232, allocations: 115.8 kB / 470.6 MB, free: 8.578 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001625/0.1249, allocations: 1.481 MB / 472.1 MB, free: 7.094 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002105/0.127, allocations: 1.729 MB / 473.8 MB, free: 5.328 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001131/0.1281, allocations: 0.7667 MB / 474.6 MB, free: 4.559 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00116/0.1293, allocations: 0.9296 MB / 475.5 MB, free: 3.625 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002073/0.1295, allocations: 136 kB / 475.6 MB, free: 3.492 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003067/0.1298, allocations: 136 kB / 475.7 MB, free: 3.359 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005707/0.1304, allocations: 0.5802 MB / 476.3 MB, free: 2.777 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005989/0.131, allocations: 0.4887 MB / 476.8 MB, free: 2.281 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00335/0.1344, allocations: 3.191 MB / 480 MB, free: 15.08 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1344, allocations: 0 / 480 MB, free: 15.08 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.1344, allocations: 0 / 480 MB, free: 15.08 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001134/0.1345, allocations: 0 / 480 MB, free: 15.08 MB / 318.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.005927/0.1404, allocations: 2.473 MB / 482.5 MB, free: 12.55 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.008e-05/0.1405, allocations: 8.031 kB / 482.5 MB, free: 12.54 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001275/0.1418, allocations: 268.8 kB / 482.7 MB, free: 12.27 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003278/0.1451, allocations: 1.416 MB / 484.2 MB, free: 10.8 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001821/0.1453, allocations: 176.6 kB / 484.3 MB, free: 10.62 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00056/0.1459, allocations: 228 kB / 484.6 MB, free: 10.4 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005655/0.1516, allocations: 3.166 MB / 487.7 MB, free: 7.152 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.717e-05/0.1517, allocations: 11.91 kB / 487.7 MB, free: 7.141 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002114/0.1519, allocations: 92 kB / 487.8 MB, free: 7.051 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.3e-05/0.1519, allocations: 59.95 kB / 487.9 MB, free: 6.992 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004505/0.1564, allocations: 2.664 MB / 490.6 MB, free: 4.312 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01321/0.1697, allocations: 7.972 MB / 498.5 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002911/0.1726, allocations: 3.093 MB / 0.4899 GB, free: 8.742 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.82e-05/0.1727, allocations: 16.94 kB / 0.4899 GB, free: 8.727 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001565/0.1743, allocations: 0.9918 MB / 0.4908 GB, free: 7.707 MB / 334.1 MB Notification: Performance of pre-optimization done (n=122): time 3.747e-06/0.1743, allocations: 0 / 0.4908 GB, free: 7.707 MB / 334.1 MB Notification: Performance of matching and sorting (n=127): time 0.007645/0.1819, allocations: 4.503 MB / 0.4952 GB, free: 3.148 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001174/0.1821, allocations: 205.2 kB / 0.4954 GB, free: 2.906 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001642/0.1837, allocations: 1.215 MB / 0.4966 GB, free: 1.672 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.409e-05/0.1838, allocations: 57.69 kB / 0.4967 GB, free: 1.609 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008708/0.1847, allocations: 0.9628 MB / 0.4976 GB, free: 0.6328 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003323/0.1851, allocations: 429.8 kB / 0.498 GB, free: 212 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.749e-05/0.1851, allocations: 24 kB / 0.4981 GB, free: 188 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001858/0.1853, allocations: 361.9 kB / 0.4984 GB, free: 15.82 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001046/0.1864, allocations: 0.6739 MB / 0.4991 GB, free: 15.15 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001243/0.1876, allocations: 0.9778 MB / 0.5 GB, free: 14.06 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001169/0.1888, allocations: 0.8109 MB / 0.5008 GB, free: 13.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.204e-06/0.1888, allocations: 7.953 kB / 0.5008 GB, free: 13.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003145/0.192, allocations: 2.039 MB / 0.5028 GB, free: 11.19 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.742e-05/0.192, allocations: 13.88 kB / 0.5028 GB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/0.192, allocations: 8 kB / 0.5028 GB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005818/0.1926, allocations: 281.4 kB / 0.5031 GB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009727/0.1936, allocations: 267.6 kB / 0.5033 GB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004461/0.1981, allocations: 3.796 MB / 0.5071 GB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/0.1991, allocations: 95.98 kB / 0.5071 GB, free: 6.602 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.159e-05/0.1992, allocations: 51.98 kB / 0.5072 GB, free: 6.551 MB / 350.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,$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,switch.control[1],switch.control[2],switch.control[3],switch.control[4],switch.control[5]) * 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 (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.001575/0.2008, allocations: 0.8453 MB / 0.508 GB, free: 5.695 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002974/0.2011, allocations: 134.4 kB / 0.5081 GB, free: 5.562 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003596/0.2015, allocations: 165.3 kB / 0.5083 GB, free: 5.398 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.285e-05/0.2015, allocations: 12 kB / 0.5083 GB, free: 5.387 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.469e-05/0.2015, allocations: 4 kB / 0.5083 GB, free: 5.383 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.527e-05/0.2015, allocations: 11.97 kB / 0.5083 GB, free: 5.371 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007386/0.2089, allocations: 4.286 MB / 0.5125 GB, free: 1.004 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.978e-06/0.209, allocations: 7.984 kB / 0.5125 GB, free: 0.9961 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008/0.2098, allocations: 195.9 kB / 0.5127 GB, free: 0.8047 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005505/0.2104, allocations: 277 kB / 0.513 GB, free: 0.5312 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.884e-05/0.2105, allocations: 43.91 kB / 0.513 GB, free: 500 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004262/0.2147, allocations: 3.74 MB / 0.5167 GB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.2148, allocations: 3.938 kB / 0.5167 GB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004337/0.2191, allocations: 2.925 MB / 0.5195 GB, free: 9.633 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007985/0.2199, allocations: 359.4 kB / 0.5199 GB, free: 9.262 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001919/0.2201, allocations: 47.97 kB / 0.5199 GB, free: 9.215 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006427/0.2208, allocations: 87.88 kB / 0.52 GB, free: 9.129 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002891/0.2211, allocations: 132.8 kB / 0.5201 GB, free: 9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.338e-05/0.2212, allocations: 40.17 kB / 0.5202 GB, free: 8.961 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001203/0.2224, allocations: 0.8578 MB / 0.521 GB, free: 8.094 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2224, allocations: 3.938 kB / 0.521 GB, free: 8.09 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001375/0.2238, allocations: 440 kB / 0.5214 GB, free: 7.66 MB / 366.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 (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.0002191/0.224, allocations: 155 kB / 0.5216 GB, free: 7.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003033/0.227, allocations: 1.847 MB / 0.5234 GB, free: 5.633 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.227, allocations: 0 / 0.5234 GB, free: 5.633 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001707/0.2287, allocations: 1.094 MB / 0.5244 GB, free: 4.531 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001086/0.2298, allocations: 276.5 kB / 0.5247 GB, free: 4.258 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1927/0.4225, allocations: 5.458 MB / 0.53 GB, free: 67.04 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00144/0.424, allocations: 2.067 MB / 0.5321 GB, free: 66.3 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001014/0.425, allocations: 363.5 kB / 0.5324 GB, free: 66.29 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000243/0.4253, allocations: 85.23 kB / 0.5325 GB, free: 66.28 MB / 366.1 MB Notification: Performance of SimCode: time 1.523e-06/0.4253, allocations: 3.844 kB / 0.5325 GB, free: 66.28 MB / 366.1 MB Notification: Performance of Templates: time 0.03062/0.4559, allocations: 18.92 MB / 0.551 GB, free: 59.63 MB / 366.1 MB make -j1 -f HanserModelica_HanserModelica.Electrical.StarPolygon.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: