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.0008976/0.0008977, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.36/1.36, allocations: 223.2 MB / 239 MB, free: 5.457 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.001043/0.001043, allocations: 176.5 kB / 290.3 MB, free: 2.145 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/package.mo): time 0.03334/0.03334, allocations: 8.781 MB / 350.1 MB, free: 4.664 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000361/0.000361, allocations: 11.28 kB / 413.3 MB, free: 42.91 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09667/0.09705, allocations: 52.55 MB / 465.8 MB, free: 13.4 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.StarDelta): time 0.004363/0.1014, allocations: 3.472 MB / 469.3 MB, free: 9.902 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002523/0.104, allocations: 1.056 MB / 470.4 MB, free: 8.844 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005135/0.1045, allocations: 19.88 kB / 470.4 MB, free: 8.824 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000483/0.105, allocations: 123.1 kB / 470.5 MB, free: 8.703 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008804/0.1059, allocations: 246.8 kB / 470.7 MB, free: 8.461 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003527/0.1063, allocations: 111.9 kB / 470.9 MB, free: 8.352 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001496/0.1078, allocations: 1.619 MB / 472.5 MB, free: 6.727 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001137/0.109, allocations: 1.077 MB / 473.5 MB, free: 5.637 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005617/0.1095, allocations: 0.5175 MB / 474.1 MB, free: 5.117 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007538/0.1103, allocations: 0.673 MB / 474.7 MB, free: 4.441 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001151/0.1104, allocations: 83.94 kB / 474.8 MB, free: 4.359 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001919/0.1106, allocations: 87.98 kB / 474.9 MB, free: 4.273 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004429/0.1111, allocations: 382.7 kB / 475.3 MB, free: 3.898 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000248/0.1113, allocations: 312.9 kB / 475.6 MB, free: 3.586 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001811/0.1131, allocations: 1.948 MB / 477.5 MB, free: 1.633 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.1132, allocations: 3.984 kB / 477.5 MB, free: 1.629 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.1132, allocations: 0 / 477.5 MB, free: 1.629 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.129e-05/0.1132, allocations: 0 / 477.5 MB, free: 1.629 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.002701/0.1159, allocations: 1.615 MB / 479.2 MB, free: 15.96 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.116, allocations: 12.03 kB / 479.2 MB, free: 15.95 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002418/0.1162, allocations: 214.8 kB / 479.4 MB, free: 15.73 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003575/0.1166, allocations: 173.9 kB / 479.5 MB, free: 15.56 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00127/0.1178, allocations: 0.954 MB / 480.5 MB, free: 14.56 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.674e-05/0.1179, allocations: 106.8 kB / 480.6 MB, free: 14.45 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001838/0.1181, allocations: 140 kB / 480.7 MB, free: 14.32 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003015/0.1211, allocations: 1.928 MB / 482.7 MB, free: 12.35 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.433e-05/0.1212, allocations: 7.906 kB / 482.7 MB, free: 12.34 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001167/0.1213, allocations: 59.94 kB / 482.7 MB, free: 12.29 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.012e-05/0.1213, allocations: 35.95 kB / 482.8 MB, free: 12.25 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002451/0.1238, allocations: 1.603 MB / 484.4 MB, free: 10.64 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006885/0.1307, allocations: 4.883 MB / 489.3 MB, free: 5.648 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001733/0.1325, allocations: 1.85 MB / 491.1 MB, free: 3.578 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001078/0.1336, allocations: 0.6829 MB / 491.8 MB, free: 2.891 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.171e-05/0.1336, allocations: 12.66 kB / 491.8 MB, free: 2.875 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009629/0.1346, allocations: 0.614 MB / 492.4 MB, free: 2.238 MB / 318.1 MB Notification: Performance of pre-optimization done (n=74): time 2.083e-06/0.1346, allocations: 0 / 492.4 MB, free: 2.238 MB / 318.1 MB Notification: Performance of matching and sorting (n=78): time 0.004653/0.1393, allocations: 2.799 MB / 495.2 MB, free: 15.39 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.684e-05/0.1394, allocations: 141.2 kB / 495.3 MB, free: 15.22 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/0.1404, allocations: 0.7932 MB / 496.1 MB, free: 14.41 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.059e-05/0.1405, allocations: 45.7 kB / 496.2 MB, free: 14.36 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005326/0.141, allocations: 0.6198 MB / 496.8 MB, free: 13.73 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002002/0.1412, allocations: 256.3 kB / 497.1 MB, free: 13.48 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.776e-05/0.1413, allocations: 16 kB / 497.1 MB, free: 13.46 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001955/0.1415, allocations: 398.8 kB / 497.5 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006231/0.1421, allocations: 417.7 kB / 497.9 MB, free: 12.66 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007695/0.1429, allocations: 0.6035 MB / 498.5 MB, free: 11.98 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007231/0.1436, allocations: 0.491 MB / 499 MB, free: 11.49 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.1436, allocations: 0 / 499 MB, free: 11.49 MB / 334.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001894/0.1455, allocations: 1.254 MB / 0.4885 GB, free: 10.22 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.703e-05/0.1456, allocations: 4 kB / 0.4885 GB, free: 10.22 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/0.1456, allocations: 8.188 kB / 0.4885 GB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004056/0.146, allocations: 175.4 kB / 0.4887 GB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006177/0.1466, allocations: 155.8 kB / 0.4888 GB, free: 9.887 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003031/0.1497, allocations: 2.747 MB / 0.4915 GB, free: 7.012 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004902/0.1502, allocations: 55.89 kB / 0.4916 GB, free: 6.957 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.117e-05/0.1502, allocations: 28 kB / 0.4916 GB, free: 6.93 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 (86): * Single equations (assignments): 85 * 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.0009786/0.1512, allocations: 0.5645 MB / 0.4921 GB, free: 6.355 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/0.1513, allocations: 86.97 kB / 0.4922 GB, free: 6.27 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002158/0.1516, allocations: 104.3 kB / 0.4923 GB, free: 6.164 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.1516, allocations: 11.95 kB / 0.4923 GB, free: 6.152 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.598e-05/0.1516, allocations: 4 kB / 0.4923 GB, free: 6.148 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.1516, allocations: 3.984 kB / 0.4923 GB, free: 6.145 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003929/0.1555, allocations: 2.685 MB / 0.495 GB, free: 3.383 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.1556, allocations: 0 / 0.495 GB, free: 3.383 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004788/0.1561, allocations: 115.8 kB / 0.4951 GB, free: 3.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003353/0.1564, allocations: 156.6 kB / 0.4952 GB, free: 3.113 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.585e-05/0.1565, allocations: 27.97 kB / 0.4952 GB, free: 3.086 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002673/0.1591, allocations: 2.68 MB / 0.4979 GB, free: 276 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.1592, allocations: 0 / 0.4979 GB, free: 276 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002463/0.1616, allocations: 1.747 MB / 0.4996 GB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003611/0.162, allocations: 256 kB / 0.4998 GB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001207/0.1621, allocations: 31.98 kB / 0.4998 GB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003827/0.1625, allocations: 47.95 kB / 0.4999 GB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001464/0.1627, allocations: 76.55 kB / 0.5 GB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.532e-05/0.1627, allocations: 23.98 kB / 0.5 GB, free: 14.05 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006804/0.1634, allocations: 0.5614 MB / 0.5005 GB, free: 13.49 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1634, allocations: 0 / 0.5005 GB, free: 13.49 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009156/0.1644, allocations: 268 kB / 0.5008 GB, free: 13.23 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (inductor.inductor[1].i,inductor.inductor[3].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 (65): * Single equations (assignments): 61 * 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.002679/0.167, allocations: 2.324 MB / 0.5031 GB, free: 10.86 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001881/0.1689, allocations: 1.141 MB / 0.5042 GB, free: 9.707 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.808e-06/0.169, allocations: 0 / 0.5042 GB, free: 9.707 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0011/0.1701, allocations: 0.6937 MB / 0.5048 GB, free: 9 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001027/0.1711, allocations: 211 kB / 0.505 GB, free: 8.797 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01086/0.182, allocations: 7.687 MB / 0.5126 GB, free: 0.9062 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001219/0.1832, allocations: 1.505 MB / 0.514 GB, free: 15.37 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006426/0.1839, allocations: 222.5 kB / 0.5142 GB, free: 15.15 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000571/0.1845, allocations: 463.3 kB / 0.5147 GB, free: 14.7 MB / 366.1 MB Notification: Performance of SimCode: time 7.31e-07/0.1845, allocations: 0 / 0.5147 GB, free: 14.7 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2278/0.4123, allocations: 21.83 MB / 0.536 GB, free: 68.02 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001256/0.4125, allocations: 192.5 kB / 0.5362 GB, free: 67.78 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.069/2.482, allocations: 2.75 kB / 0.5362 GB, free: 67.78 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: