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/package.mo", uses=false) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/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: "" <> buildModelFMU(HanserModelica.Electrical.StarPolygon,fileNamePrefix="HanserModelica_HanserModelica_Electrical_StarPolygon",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Electrical.StarPolygon,fileNamePrefix="HanserModelica_HanserModelica_Electrical_StarPolygon",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009435/0.0009436, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.368/1.368, allocations: 223.2 MB / 239 MB, free: 5.461 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.001241/0.00124, allocations: 180.5 kB / 290.3 MB, free: 2.148 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/package.mo): time 0.03282/0.03282, allocations: 8.781 MB / 350.2 MB, free: 4.664 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003486/0.0003486, allocations: 12.3 kB / 413.3 MB, free: 42.92 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1035, allocations: 52.56 MB / 465.8 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.StarPolygon): time 0.004323/0.1079, allocations: 3.503 MB / 469.3 MB, free: 9.875 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001941/0.1099, allocations: 1.064 MB / 470.4 MB, free: 8.809 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002609/0.1101, allocations: 23.88 kB / 470.4 MB, free: 8.785 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002746/0.1104, allocations: 131.1 kB / 470.6 MB, free: 8.656 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006594/0.1111, allocations: 258.7 kB / 470.8 MB, free: 8.402 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002796/0.1114, allocations: 107.9 kB / 470.9 MB, free: 8.297 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002107/0.1135, allocations: 2.373 MB / 473.3 MB, free: 5.914 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001842/0.1154, allocations: 1.736 MB / 475 MB, free: 4.141 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009444/0.1163, allocations: 0.8016 MB / 475.8 MB, free: 3.336 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001135/0.1175, allocations: 1.039 MB / 476.9 MB, free: 2.293 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001838/0.1177, allocations: 132 kB / 477 MB, free: 2.164 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002833/0.1179, allocations: 132 kB / 477.1 MB, free: 2.035 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004903/0.1184, allocations: 0.6074 MB / 477.7 MB, free: 1.426 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004314/0.1189, allocations: 488.5 kB / 478.2 MB, free: 0.9414 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002622/0.1215, allocations: 3.21 MB / 481.4 MB, free: 13.72 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.1215, allocations: 0 / 481.4 MB, free: 13.72 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1215, allocations: 3.938 kB / 481.4 MB, free: 13.72 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.282e-05/0.1216, allocations: 0 / 481.4 MB, free: 13.72 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.0041/0.1257, allocations: 2.466 MB / 483.9 MB, free: 11.19 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.1258, allocations: 8.031 kB / 483.9 MB, free: 11.18 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004107/0.1262, allocations: 336.8 kB / 484.2 MB, free: 10.84 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005367/0.1267, allocations: 276.8 kB / 484.5 MB, free: 10.57 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002167/0.1289, allocations: 1.42 MB / 485.9 MB, free: 9.09 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001273/0.129, allocations: 172.6 kB / 486.1 MB, free: 8.918 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003231/0.1294, allocations: 239.9 kB / 486.3 MB, free: 8.684 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005211/0.1346, allocations: 3.182 MB / 489.5 MB, free: 5.422 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.425e-05/0.1346, allocations: 4 kB / 489.5 MB, free: 5.418 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001971/0.1348, allocations: 95.95 kB / 489.6 MB, free: 5.324 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.614e-05/0.1349, allocations: 56 kB / 489.6 MB, free: 5.27 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004246/0.1391, allocations: 2.672 MB / 492.3 MB, free: 2.582 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01141/0.1506, allocations: 7.956 MB / 0.4885 GB, free: 10.47 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002628/0.1532, allocations: 3.1 MB / 0.4916 GB, free: 7.02 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001499/0.1547, allocations: 1.096 MB / 0.4926 GB, free: 5.926 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.922e-05/0.1548, allocations: 16.98 kB / 0.4927 GB, free: 5.91 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001346/0.1562, allocations: 0.9944 MB / 0.4936 GB, free: 4.887 MB / 334.1 MB Notification: Performance of pre-optimization done (n=122): time 2.404e-06/0.1562, allocations: 0 / 0.4936 GB, free: 4.887 MB / 334.1 MB Notification: Performance of matching and sorting (n=127): time 0.006933/0.1631, allocations: 4.526 MB / 0.4981 GB, free: 312 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.94e-05/0.1632, allocations: 205.2 kB / 0.4982 GB, free: 64 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001541/0.1648, allocations: 1.215 MB / 0.4994 GB, free: 14.83 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.297e-05/0.1649, allocations: 57.69 kB / 0.4995 GB, free: 14.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007781/0.1657, allocations: 0.9627 MB / 0.5004 GB, free: 13.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002991/0.166, allocations: 425.9 kB / 0.5008 GB, free: 13.37 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.174e-05/0.166, allocations: 24 kB / 0.5009 GB, free: 13.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.1662, allocations: 365.9 kB / 0.5012 GB, free: 12.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009971/0.1672, allocations: 0.67 MB / 0.5019 GB, free: 12.31 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001232/0.1684, allocations: 0.9934 MB / 0.5028 GB, free: 11.2 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001165/0.1696, allocations: 0.8148 MB / 0.5036 GB, free: 10.39 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.1696, allocations: 0 / 0.5036 GB, free: 10.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002957/0.1726, allocations: 2.062 MB / 0.5056 GB, free: 8.312 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.707e-05/0.1726, allocations: 13.97 kB / 0.5057 GB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.608e-05/0.1727, allocations: 8.375 kB / 0.5057 GB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006115/0.1733, allocations: 286.2 kB / 0.5059 GB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009516/0.1742, allocations: 271.6 kB / 0.5062 GB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004206/0.1785, allocations: 3.764 MB / 0.5099 GB, free: 3.844 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007146/0.1792, allocations: 99.98 kB / 0.51 GB, free: 3.746 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.457e-05/0.1793, allocations: 51.89 kB / 0.51 GB, free: 3.695 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.001264/0.1805, allocations: 0.8437 MB / 0.5108 GB, free: 2.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001583/0.1807, allocations: 134.5 kB / 0.511 GB, free: 2.707 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003037/0.181, allocations: 173.3 kB / 0.5111 GB, free: 2.535 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.181, allocations: 12 kB / 0.5111 GB, free: 2.523 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.052e-05/0.1811, allocations: 4 kB / 0.5111 GB, free: 2.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/0.1811, allocations: 3.984 kB / 0.5112 GB, free: 2.516 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005784/0.1869, allocations: 4.317 MB / 0.5154 GB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.1869, allocations: 0 / 0.5154 GB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007504/0.1876, allocations: 203.8 kB / 0.5156 GB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004927/0.1881, allocations: 273.1 kB / 0.5158 GB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.028e-05/0.1882, allocations: 43.97 kB / 0.5159 GB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004017/0.1923, allocations: 3.703 MB / 0.5195 GB, free: 9.773 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.1923, allocations: 4.031 kB / 0.5195 GB, free: 9.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003814/0.1961, allocations: 2.874 MB / 0.5223 GB, free: 6.867 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005652/0.1967, allocations: 363.4 kB / 0.5226 GB, free: 6.492 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001854/0.1969, allocations: 47.97 kB / 0.5227 GB, free: 6.445 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005805/0.1975, allocations: 79.94 kB / 0.5228 GB, free: 6.367 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002843/0.1977, allocations: 144.7 kB / 0.5229 GB, free: 6.223 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.573e-05/0.1978, allocations: 39.98 kB / 0.5229 GB, free: 6.184 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00137/0.1992, allocations: 0.8539 MB / 0.5238 GB, free: 5.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1992, allocations: 0 / 0.5238 GB, free: 5.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001677/0.2009, allocations: 436 kB / 0.5242 GB, free: 4.895 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.004574/0.2055, allocations: 3.481 MB / 0.5276 GB, free: 1.363 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.1841/0.3896, allocations: 1.846 MB / 0.5294 GB, free: 68.13 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.335e-05/0.3897, allocations: 1.875 kB / 0.5294 GB, free: 68.13 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00224/0.3919, allocations: 1.099 MB / 0.5305 GB, free: 68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002102/0.3941, allocations: 293.9 kB / 0.5307 GB, free: 68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02185/0.4159, allocations: 12.64 MB / 0.5431 GB, free: 64.15 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001671/0.4176, allocations: 2.03 MB / 0.5451 GB, free: 63.38 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001036/0.4187, allocations: 365.6 kB / 0.5454 GB, free: 63.35 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008407/0.4195, allocations: 0.7548 MB / 0.5462 GB, free: 63.34 MB / 366.1 MB Notification: Performance of SimCode: time 1.102e-06/0.4195, allocations: 2.844 kB / 0.5462 GB, free: 63.34 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04984/0.4694, allocations: 34.3 MB / 0.5797 GB, free: 33.57 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001298/0.4696, allocations: 193.7 kB / 0.5798 GB, free: 33.33 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.314/2.784, allocations: 0 / 0.5798 GB, free: 33.33 MB / 366.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_Electrical_StarPolygon_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_Electrical_StarPolygon.fmu > HanserModelica_HanserModelica.Electrical.StarPolygon.pipe 2>&1) Environment - environmentSimulation: