Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.StarDelta.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.StarDelta,fileNamePrefix="HanserModelica_HanserModelica_Electrical_StarDelta",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Electrical.StarDelta,fileNamePrefix="HanserModelica_HanserModelica_Electrical_StarDelta",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.001146/0.001146, allocations: 100.1 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.285/1.285, allocations: 223.2 MB / 238.9 MB, free: 5.648 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.001205/0.001204, allocations: 189 kB / 290.2 MB, free: 2.336 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/package.mo): time 0.03181/0.03181, allocations: 8.778 MB / 350.1 MB, free: 4.738 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003732/0.0003734, allocations: 11.06 kB / 413.2 MB, free: 43.02 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09534/0.09574, allocations: 52.56 MB / 465.7 MB, free: 13.5 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.StarDelta): time 0.004554/0.1003, allocations: 3.295 MB / 469 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002302/0.1027, allocations: 1.091 MB / 470.1 MB, free: 9.086 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005549/0.1033, allocations: 19.88 kB / 470.1 MB, free: 9.066 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004586/0.1037, allocations: 135.2 kB / 470.3 MB, free: 8.934 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001009/0.1048, allocations: 207.4 kB / 470.5 MB, free: 8.73 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004424/0.1052, allocations: 115.8 kB / 470.6 MB, free: 8.617 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001311/0.1066, allocations: 0.9549 MB / 471.5 MB, free: 7.66 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001384/0.108, allocations: 1.078 MB / 472.6 MB, free: 6.57 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000685/0.1086, allocations: 494.1 kB / 473.1 MB, free: 6.086 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009719/0.1096, allocations: 0.5912 MB / 473.7 MB, free: 5.492 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002639/0.1099, allocations: 80 kB / 473.8 MB, free: 5.414 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003585/0.1103, allocations: 88 kB / 473.9 MB, free: 5.328 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003949/0.1107, allocations: 362.9 kB / 474.2 MB, free: 4.973 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000421/0.1111, allocations: 312.9 kB / 474.5 MB, free: 4.66 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001494/0.1126, allocations: 1.944 MB / 476.5 MB, free: 2.711 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.1126, allocations: 0 / 476.5 MB, free: 2.711 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1126, allocations: 0 / 476.5 MB, free: 2.711 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.809e-05/0.1127, allocations: 0 / 476.5 MB, free: 2.711 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.002593/0.1153, allocations: 1.619 MB / 478.1 MB, free: 1.039 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.1153, allocations: 8.031 kB / 478.1 MB, free: 1.031 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002483/0.1156, allocations: 222.8 kB / 478.3 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003057/0.1159, allocations: 170 kB / 478.5 MB, free: 0.6367 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001593/0.1175, allocations: 0.9617 MB / 479.4 MB, free: 15.62 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.595e-05/0.1176, allocations: 106.8 kB / 479.5 MB, free: 15.52 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001949/0.1178, allocations: 148 kB / 479.7 MB, free: 15.38 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002776/0.1206, allocations: 1.917 MB / 481.6 MB, free: 13.42 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.769e-05/0.1206, allocations: 0 / 481.6 MB, free: 13.42 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001156/0.1207, allocations: 60 kB / 481.7 MB, free: 13.36 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.862e-05/0.1208, allocations: 35.95 kB / 481.7 MB, free: 13.33 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002392/0.1232, allocations: 1.599 MB / 483.3 MB, free: 11.72 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006834/0.13, allocations: 4.886 MB / 488.2 MB, free: 6.727 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001802/0.1318, allocations: 1.842 MB / 490 MB, free: 4.664 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.741e-05/0.1319, allocations: 12.59 kB / 490 MB, free: 4.652 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000945/0.1328, allocations: 0.614 MB / 490.6 MB, free: 4.012 MB / 318.1 MB Notification: Performance of pre-optimization done (n=74): time 2.465e-06/0.1329, allocations: 0 / 490.6 MB, free: 4.012 MB / 318.1 MB Notification: Performance of matching and sorting (n=77): time 0.004543/0.1374, allocations: 2.807 MB / 493.4 MB, free: 1.152 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.705e-05/0.1375, allocations: 141.2 kB / 493.6 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009701/0.1385, allocations: 0.7932 MB / 494.4 MB, free: 184 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.373e-05/0.1386, allocations: 41.7 kB / 494.4 MB, free: 136 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000536/0.1391, allocations: 0.6158 MB / 495 MB, free: 15.51 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000231/0.1393, allocations: 260.3 kB / 495.3 MB, free: 15.25 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-05/0.1394, allocations: 16 kB / 495.3 MB, free: 15.24 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001754/0.1396, allocations: 398.8 kB / 495.7 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000636/0.1402, allocations: 417.7 kB / 496.1 MB, free: 14.43 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007842/0.141, allocations: 0.5996 MB / 496.7 MB, free: 13.76 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007598/0.1418, allocations: 498.9 kB / 497.2 MB, free: 13.27 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.613e-06/0.1418, allocations: 0 / 497.2 MB, free: 13.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001948/0.1437, allocations: 1.254 MB / 498.4 MB, free: 12 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.1438, allocations: 9.875 kB / 498.5 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/0.1438, allocations: 4 kB / 498.5 MB, free: 11.99 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003718/0.1442, allocations: 163.1 kB / 498.6 MB, free: 11.83 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006364/0.1448, allocations: 164 kB / 498.8 MB, free: 11.67 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002988/0.1478, allocations: 2.799 MB / 0.4898 GB, free: 8.742 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004901/0.1483, allocations: 55.95 kB / 0.4899 GB, free: 8.688 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.668e-05/0.1484, allocations: 28 kB / 0.4899 GB, free: 8.66 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,$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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * 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%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007773/0.1492, allocations: 0.5568 MB / 0.4904 GB, free: 8.094 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001278/0.1493, allocations: 87.05 kB / 0.4905 GB, free: 8.008 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001855/0.1495, allocations: 112.3 kB / 0.4906 GB, free: 7.895 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.1495, allocations: 4 kB / 0.4906 GB, free: 7.891 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-05/0.1495, allocations: 7.953 kB / 0.4906 GB, free: 7.883 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.1496, allocations: 3.984 kB / 0.4906 GB, free: 7.879 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004087/0.1537, allocations: 2.66 MB / 0.4932 GB, free: 5.145 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.1537, allocations: 0 / 0.4932 GB, free: 5.145 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005279/0.1542, allocations: 123.9 kB / 0.4934 GB, free: 5.023 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003533/0.1546, allocations: 168.6 kB / 0.4935 GB, free: 4.855 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-05/0.1546, allocations: 23.98 kB / 0.4935 GB, free: 4.832 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002788/0.1574, allocations: 2.75 MB / 0.4962 GB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.1575, allocations: 0 / 0.4962 GB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002452/0.1599, allocations: 1.813 MB / 0.498 GB, free: 92 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004667/0.1604, allocations: 252 kB / 0.4982 GB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001528/0.1606, allocations: 27.98 kB / 0.4983 GB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004247/0.161, allocations: 55.89 kB / 0.4983 GB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001549/0.1612, allocations: 72.55 kB / 0.4984 GB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.685e-05/0.1612, allocations: 23.98 kB / 0.4984 GB, free: 15.65 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006902/0.1619, allocations: 0.5653 MB / 0.499 GB, free: 15.09 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1619, allocations: 4 kB / 0.499 GB, free: 15.08 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009254/0.1628, allocations: 264 kB / 0.4992 GB, free: 14.82 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (inductorLoad.inductor[1].i,inductorLoad.inductor[2].i,inductorLoad.inductor[3].i,rootMeanSquare[1].mean.x,rootMeanSquare[2].mean.x,rootMeanSquare[3].mean.x) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,switch.control[1],switch.control[2],switch.control[3],rootMeanSquare[1].mean.y_last,rootMeanSquare[2].mean.y_last,rootMeanSquare[3].mean.y_last) * Number of discrete states: 3 (rootMeanSquare[1].mean.x,rootMeanSquare[2].mean.x,rootMeanSquare[3].mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002717/0.1656, allocations: 2.584 MB / 0.5017 GB, free: 12.19 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001836/0.1674, allocations: 1.156 MB / 0.5029 GB, free: 11.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.1674, allocations: 0 / 0.5029 GB, free: 11.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001035/0.1685, allocations: 0.6939 MB / 0.5036 GB, free: 10.31 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008421/0.1693, allocations: 195 kB / 0.5037 GB, free: 10.12 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006623/0.176, allocations: 7.032 MB / 0.5106 GB, free: 2.945 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001084/0.1771, allocations: 1.532 MB / 0.5121 GB, free: 1.383 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005257/0.1776, allocations: 222.5 kB / 0.5123 GB, free: 1.16 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005425/0.1782, allocations: 447.3 kB / 0.5127 GB, free: 0.7227 MB / 350.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1782, allocations: 0 / 0.5127 GB, free: 0.7227 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2017/0.3799, allocations: 21.4 MB / 0.5336 GB, free: 66.54 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001878/0.3801, allocations: 185.8 kB / 0.5338 GB, free: 66.3 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.993/2.373, allocations: 0 / 0.5338 GB, free: 66.3 MB / 366.1 MB (rm -f HanserModelica_HanserModelica.Electrical.StarDelta.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.StarDelta.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.StarDelta.pipe >> ../files/HanserModelica_HanserModelica.Electrical.StarDelta.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_Electrical_StarDelta_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_Electrical_StarDelta.fmu > HanserModelica_HanserModelica.Electrical.StarDelta.pipe 2>&1) Environment - environmentSimulation: