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.005513/0.005513, allocations: 96.5 kB / 15.73 MB, free: 6.043 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.537/1.537, allocations: 222.9 MB / 239.4 MB, free: 4.523 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.001557/0.001557, allocations: 192 kB / 289.7 MB, free: 2.234 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.038/0.038, allocations: 8.792 MB / 348.7 MB, free: 4.609 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002369/0.002369, allocations: 79.88 kB / 463.4 MB, free: 13.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.121, allocations: 51.56 MB / 0.5029 GB, free: 9.992 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.StarDelta): time 0.005997/0.1271, allocations: 4.039 MB / 0.5069 GB, free: 5.934 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002525/0.1296, allocations: 1.102 MB / 0.5079 GB, free: 4.828 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005643/0.1302, allocations: 27.88 kB / 0.508 GB, free: 4.801 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004603/0.1307, allocations: 162.7 kB / 0.5081 GB, free: 4.641 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001218/0.132, allocations: 270.4 kB / 0.5084 GB, free: 4.375 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005506/0.1326, allocations: 171.7 kB / 0.5085 GB, free: 4.207 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00193/0.1345, allocations: 1.595 MB / 0.5101 GB, free: 2.605 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001766/0.1363, allocations: 1.502 MB / 0.5116 GB, free: 1.059 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009606/0.1373, allocations: 0.7477 MB / 0.5123 GB, free: 316 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001215/0.1385, allocations: 0.8794 MB / 0.5131 GB, free: 15.43 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002677/0.1388, allocations: 192 kB / 0.5133 GB, free: 15.24 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003829/0.1392, allocations: 196 kB / 0.5135 GB, free: 15.05 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005221/0.1397, allocations: 0.522 MB / 0.514 GB, free: 14.52 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009813/0.1407, allocations: 0.8594 MB / 0.5149 GB, free: 13.66 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002923/0.1436, allocations: 2.464 MB / 0.5173 GB, free: 11.19 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.1436, allocations: 0 / 0.5173 GB, free: 11.19 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.096e-06/0.1436, allocations: 0 / 0.5173 GB, free: 11.19 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.049e-05/0.1437, allocations: 4 kB / 0.5173 GB, free: 11.18 MB / 366.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.004008/0.1477, allocations: 1.909 MB / 0.5191 GB, free: 9.219 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/0.1478, allocations: 12.03 kB / 0.5192 GB, free: 9.207 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002942/0.1481, allocations: 218.9 kB / 0.5194 GB, free: 8.984 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004111/0.1485, allocations: 179.9 kB / 0.5195 GB, free: 8.809 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001671/0.1502, allocations: 1.018 MB / 0.5205 GB, free: 7.75 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001046/0.1503, allocations: 111.1 kB / 0.5206 GB, free: 7.641 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002226/0.1505, allocations: 139.9 kB / 0.5208 GB, free: 7.504 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003382/0.1539, allocations: 1.932 MB / 0.5227 GB, free: 5.535 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.05e-05/0.154, allocations: 7.938 kB / 0.5227 GB, free: 5.527 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001513/0.1541, allocations: 63.92 kB / 0.5227 GB, free: 5.465 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.601e-05/0.1542, allocations: 32 kB / 0.5228 GB, free: 5.434 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002713/0.1569, allocations: 1.588 MB / 0.5243 GB, free: 3.84 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2276/0.3845, allocations: 4.794 MB / 0.529 GB, free: 22.42 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001685/0.3863, allocations: 1.831 MB / 0.5308 GB, free: 21.26 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001162/0.3874, allocations: 0.6613 MB / 0.5314 GB, free: 21.25 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.769e-05/0.3875, allocations: 10.97 kB / 0.5314 GB, free: 21.25 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009686/0.3885, allocations: 0.6014 MB / 0.532 GB, free: 21.16 MB / 366.1 MB Notification: Performance of pre-optimization done (n=74): time 2.896e-06/0.3885, allocations: 0 / 0.532 GB, free: 21.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=78): time 0.00511/0.3936, allocations: 2.789 MB / 0.5347 GB, free: 20.75 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.414e-05/0.3937, allocations: 142.2 kB / 0.5349 GB, free: 20.59 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001147/0.3949, allocations: 0.8083 MB / 0.5357 GB, free: 20.46 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.078e-05/0.395, allocations: 42.41 kB / 0.5357 GB, free: 20.43 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005401/0.3955, allocations: 0.6282 MB / 0.5363 GB, free: 20.19 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001831/0.3957, allocations: 275 kB / 0.5366 GB, free: 20.05 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002805/0.396, allocations: 154 kB / 0.5367 GB, free: 20.03 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.3962, allocations: 396.2 kB / 0.5371 GB, free: 19.71 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006986/0.3969, allocations: 405.5 kB / 0.5375 GB, free: 19.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000791/0.3977, allocations: 0.5926 MB / 0.5381 GB, free: 19.53 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001436/0.3991, allocations: 0.9939 MB / 0.539 GB, free: 19.36 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.3992, allocations: 3.156 kB / 0.539 GB, free: 19.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002141/0.4013, allocations: 1.244 MB / 0.5403 GB, free: 19.25 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.4013, allocations: 7.578 kB / 0.5403 GB, free: 19.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/0.4014, allocations: 8.062 kB / 0.5403 GB, free: 19.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004409/0.4018, allocations: 170 kB / 0.5404 GB, free: 19.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006511/0.4025, allocations: 159.8 kB / 0.5406 GB, free: 19.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002942/0.4054, allocations: 2.996 MB / 0.5435 GB, free: 17.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000635/0.4061, allocations: 50.16 kB / 0.5436 GB, free: 17.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.524e-05/0.4061, allocations: 33.16 kB / 0.5436 GB, free: 17.73 MB / 366.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.001028/0.4072, allocations: 0.5591 MB / 0.5441 GB, free: 17.61 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001648/0.4073, allocations: 87.72 kB / 0.5442 GB, free: 17.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002239/0.4076, allocations: 104.5 kB / 0.5443 GB, free: 17.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/0.4076, allocations: 8.484 kB / 0.5443 GB, free: 17.54 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.013e-05/0.4076, allocations: 9.406 kB / 0.5443 GB, free: 17.54 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.218e-05/0.4076, allocations: 4.812 kB / 0.5443 GB, free: 17.54 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005046/0.4127, allocations: 2.647 MB / 0.5469 GB, free: 16.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.523e-06/0.4127, allocations: 1.094 kB / 0.5469 GB, free: 16.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005336/0.4133, allocations: 117.1 kB / 0.547 GB, free: 16.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000409/0.4137, allocations: 161.7 kB / 0.5472 GB, free: 16.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-05/0.4138, allocations: 30.39 kB / 0.5472 GB, free: 16.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003197/0.417, allocations: 2.935 MB / 0.5501 GB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.417, allocations: 5.562 kB / 0.5501 GB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003262/0.4203, allocations: 1.731 MB / 0.5518 GB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004704/0.4207, allocations: 256.8 kB / 0.552 GB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001243/0.4209, allocations: 30.64 kB / 0.5521 GB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004027/0.4213, allocations: 48.11 kB / 0.5521 GB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001963/0.4215, allocations: 75.22 kB / 0.5522 GB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-05/0.4216, allocations: 26.17 kB / 0.5522 GB, free: 13.56 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007474/0.4223, allocations: 0.5651 MB / 0.5528 GB, free: 13.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4223, allocations: 1.25 kB / 0.5528 GB, free: 13.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001198/0.4235, allocations: 266.6 kB / 0.553 GB, free: 13.31 MB / 366.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.002684/0.4262, allocations: 2.314 MB / 0.5553 GB, free: 12 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001902/0.4281, allocations: 1.147 MB / 0.5564 GB, free: 11.38 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.4281, allocations: 5.531 kB / 0.5564 GB, free: 11.37 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001008/0.4292, allocations: 0.6768 MB / 0.5571 GB, free: 10.97 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001115/0.4303, allocations: 216.7 kB / 0.5573 GB, free: 10.88 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01487/0.4452, allocations: 9.996 MB / 0.567 GB, free: 3.691 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00111/0.4463, allocations: 1.502 MB / 0.5685 GB, free: 2.164 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0008445/0.4472, allocations: 230.4 kB / 0.5687 GB, free: 1.941 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000654/0.4479, allocations: 471.3 kB / 0.5692 GB, free: 1.48 MB / 366.1 MB Notification: Performance of SimCode: time 6.81e-07/0.4479, allocations: 3.938 kB / 0.5692 GB, free: 1.477 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06615/0.514, allocations: 23.85 MB / 0.5925 GB, free: 9.883 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.65, allocations: 6.406 kB / 0.5925 GB, free: 9.879 MB / 398.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 & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.Electrical.StarDelta_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 HanserModelica_HanserModelica_Electrical_StarDelta.fmu > HanserModelica_HanserModelica.Electrical.StarDelta.pipe 2>&1)