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-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: "" <> 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.001537/0.001537, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.328/1.328, allocations: 222.9 MB / 239 MB, free: 4.629 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.001364/0.001364, allocations: 184.5 kB / 289.3 MB, free: 2.379 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03526/0.03526, allocations: 8.792 MB / 348.2 MB, free: 4.824 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 79.73 kB / 410.7 MB, free: 42.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07708/0.07855, allocations: 51.56 MB / 462.3 MB, free: 14.64 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.StarDelta): time 0.005197/0.08379, allocations: 4.045 MB / 466.3 MB, free: 10.56 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002075/0.0859, allocations: 1.09 MB / 467.4 MB, free: 9.465 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003819/0.08631, allocations: 23.88 kB / 467.4 MB, free: 9.441 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003805/0.0867, allocations: 135.1 kB / 467.5 MB, free: 9.309 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008904/0.08764, allocations: 250.8 kB / 467.8 MB, free: 9.062 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003925/0.08805, allocations: 147.8 kB / 467.9 MB, free: 8.918 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00139/0.08945, allocations: 1.58 MB / 469.5 MB, free: 7.332 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001459/0.09092, allocations: 1.503 MB / 471 MB, free: 5.793 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008939/0.09183, allocations: 0.7515 MB / 471.8 MB, free: 5.039 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009366/0.09277, allocations: 0.8951 MB / 472.7 MB, free: 4.141 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002063/0.09299, allocations: 192 kB / 472.8 MB, free: 3.953 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002909/0.09329, allocations: 200 kB / 473 MB, free: 3.758 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000416/0.09371, allocations: 0.5221 MB / 473.6 MB, free: 3.234 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007847/0.09451, allocations: 0.8711 MB / 474.4 MB, free: 2.359 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001855/0.09637, allocations: 2.419 MB / 476.9 MB, free: 15.93 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.09639, allocations: 0 / 476.9 MB, free: 15.93 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.0964, allocations: 4 kB / 476.9 MB, free: 15.93 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.91e-05/0.09643, allocations: 0 / 476.9 MB, free: 15.93 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: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.00299/0.09943, allocations: 1.881 MB / 478.7 MB, free: 14 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.09948, allocations: 15.97 kB / 478.8 MB, free: 13.98 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002346/0.09972, allocations: 219 kB / 479 MB, free: 13.76 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003258/0.1001, allocations: 167 kB / 479.1 MB, free: 13.59 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001344/0.1014, allocations: 0.9858 MB / 480.1 MB, free: 12.56 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.666e-05/0.1015, allocations: 107.1 kB / 480.2 MB, free: 12.46 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002084/0.1017, allocations: 143.9 kB / 480.4 MB, free: 12.32 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00283/0.1046, allocations: 1.928 MB / 482.3 MB, free: 10.35 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.216e-05/0.1046, allocations: 4 kB / 482.3 MB, free: 10.35 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001278/0.1047, allocations: 63.98 kB / 482.4 MB, free: 10.29 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.392e-05/0.1048, allocations: 32 kB / 482.4 MB, free: 10.25 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002428/0.1072, allocations: 1.588 MB / 484 MB, free: 8.66 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006756/0.114, allocations: 4.851 MB / 488.8 MB, free: 3.699 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001573/0.1156, allocations: 1.842 MB / 490.7 MB, free: 1.641 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001046/0.1166, allocations: 0.659 MB / 491.3 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.081e-05/0.1167, allocations: 12.64 kB / 491.3 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008735/0.1176, allocations: 0.5984 MB / 491.9 MB, free: 348 kB / 318.1 MB Notification: Performance of pre-optimization done (n=74): time 2.244e-06/0.1176, allocations: 0 / 491.9 MB, free: 348 kB / 318.1 MB Notification: Performance of matching and sorting (n=78): time 0.004529/0.1221, allocations: 2.775 MB / 494.7 MB, free: 13.51 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.768e-05/0.1222, allocations: 145.2 kB / 494.9 MB, free: 13.34 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009121/0.1231, allocations: 0.7971 MB / 495.7 MB, free: 12.53 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.456e-05/0.1232, allocations: 41.7 kB / 495.7 MB, free: 12.48 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004457/0.1236, allocations: 0.6237 MB / 496.3 MB, free: 11.85 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001838/0.1238, allocations: 260.3 kB / 496.6 MB, free: 11.59 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002255/0.1241, allocations: 154.6 kB / 496.7 MB, free: 11.44 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.1242, allocations: 394.8 kB / 497.1 MB, free: 11.04 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006133/0.1249, allocations: 413.6 kB / 497.5 MB, free: 10.64 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007378/0.1256, allocations: 0.5996 MB / 498.1 MB, free: 9.965 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001346/0.127, allocations: 0.9855 MB / 499.1 MB, free: 8.918 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.127, allocations: 4 kB / 499.1 MB, free: 8.914 MB / 334.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001859/0.1288, allocations: 1.243 MB / 0.4886 GB, free: 7.66 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.1289, allocations: 8 kB / 0.4886 GB, free: 7.652 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.1289, allocations: 4 kB / 0.4886 GB, free: 7.648 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003741/0.1293, allocations: 172.9 kB / 0.4888 GB, free: 7.477 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006431/0.1299, allocations: 159.8 kB / 0.4889 GB, free: 7.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003018/0.1329, allocations: 2.985 MB / 0.4919 GB, free: 4.203 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004929/0.1335, allocations: 52.02 kB / 0.4919 GB, free: 4.152 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.072e-05/0.1335, allocations: 28 kB / 0.4919 GB, free: 4.125 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,rootMeanSquare[3].mean.y_last,$PRE.rootMeanSquare[3].mean.y_last,rootMeanSquare[2].mean.y_last,$PRE.rootMeanSquare[2].mean.y_last,rootMeanSquare[1].mean.y_last,$PRE.rootMeanSquare[1].mean.y_last,switch.control[3],switch.control[2],switch.control[1]) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007556/0.1343, allocations: 0.5577 MB / 0.4925 GB, free: 3.559 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/0.1344, allocations: 86.97 kB / 0.4926 GB, free: 3.473 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001892/0.1346, allocations: 108.3 kB / 0.4927 GB, free: 3.363 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/0.1346, allocations: 8 kB / 0.4927 GB, free: 3.355 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/0.1346, allocations: 4 kB / 0.4927 GB, free: 3.352 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.377e-06/0.1346, allocations: 7.984 kB / 0.4927 GB, free: 3.344 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003811/0.1385, allocations: 2.658 MB / 0.4953 GB, free: 0.6094 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.1385, allocations: 0 / 0.4953 GB, free: 0.6094 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005196/0.139, allocations: 115.8 kB / 0.4954 GB, free: 0.4961 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003539/0.1394, allocations: 160.8 kB / 0.4955 GB, free: 344 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.893e-05/0.1394, allocations: 23.98 kB / 0.4956 GB, free: 320 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002944/0.1424, allocations: 2.94 MB / 0.4984 GB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/0.1424, allocations: 3.938 kB / 0.4984 GB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002647/0.1451, allocations: 1.727 MB / 0.5001 GB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004107/0.1455, allocations: 252.1 kB / 0.5004 GB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001305/0.1456, allocations: 31.98 kB / 0.5004 GB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004344/0.1461, allocations: 39.95 kB / 0.5004 GB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001853/0.1463, allocations: 80.48 kB / 0.5005 GB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.797e-05/0.1463, allocations: 31.92 kB / 0.5005 GB, free: 11.03 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000718/0.147, allocations: 0.5614 MB / 0.5011 GB, free: 10.47 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1471, allocations: 0 / 0.5011 GB, free: 10.47 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009602/0.148, allocations: 268 kB / 0.5014 GB, free: 10.21 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002741/0.1508, allocations: 2.308 MB / 0.5036 GB, free: 7.855 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002458/0.1532, allocations: 1.422 MB / 0.505 GB, free: 6.422 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.1533, allocations: 3.938 kB / 0.505 GB, free: 6.418 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001028/0.1543, allocations: 0.6899 MB / 0.5057 GB, free: 5.715 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.1554, allocations: 219.2 kB / 0.5059 GB, free: 5.504 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01383/0.1692, allocations: 10.88 MB / 0.5165 GB, free: 10.3 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001008/0.1702, allocations: 1.504 MB / 0.518 GB, free: 8.773 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005757/0.1708, allocations: 230.5 kB / 0.5182 GB, free: 8.543 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005435/0.1714, allocations: 463.3 kB / 0.5186 GB, free: 8.09 MB / 366.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1714, allocations: 4 kB / 0.5186 GB, free: 8.086 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1897/0.3611, allocations: 23.12 MB / 0.5412 GB, free: 65.62 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001483/0.3613, allocations: 210.2 kB / 0.5414 GB, free: 65.37 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.119/2.48, allocations: 0 / 0.5414 GB, free: 65.37 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/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)