Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingDelta",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.00102/0.00102, allocations: 92.97 kB / 16.95 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 183 kB / 17.84 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.725/1.725, allocations: 205.4 MB / 224 MB, free: 13.07 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004384/0.0004386, allocations: 12 kB / 280.9 MB, free: 3.602 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1103, allocations: 47.57 MB / 328.5 MB, free: 3.961 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.009154/0.1195, allocations: 8.327 MB / 336.8 MB, free: 11.6 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005619/0.1252, allocations: 2.501 MB / 339.3 MB, free: 9.086 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009169/0.1261, allocations: 51.88 kB / 339.3 MB, free: 9.035 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009985/0.1271, allocations: 401.5 kB / 339.7 MB, free: 8.641 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002559/0.1297, allocations: 0.8866 MB / 340.6 MB, free: 7.75 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001499/0.1312, allocations: 0.6315 MB / 341.2 MB, free: 7.117 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004348/0.1356, allocations: 3.622 MB / 344.9 MB, free: 3.48 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0152/0.1508, allocations: 8.197 MB / 353.1 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003139/0.154, allocations: 1.546 MB / 354.6 MB, free: 9.656 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003737/0.1578, allocations: 1.833 MB / 356.4 MB, free: 7.816 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001204/0.159, allocations: 252 kB / 356.7 MB, free: 7.57 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002185/0.1612, allocations: 459.8 kB / 357.1 MB, free: 7.121 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008701/0.1621, allocations: 0.7279 MB / 357.9 MB, free: 6.391 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001364/0.1635, allocations: 0.8239 MB / 358.7 MB, free: 5.559 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006753/0.1702, allocations: 6.814 MB / 365.5 MB, free: 14.73 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.1703, allocations: 0 / 365.5 MB, free: 14.73 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1703, allocations: 0 / 365.5 MB, free: 14.73 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001841/0.1705, allocations: 0 / 365.5 MB, free: 14.73 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: 1203 * Number of variables: 1203 Notification: Performance of Generate backend data structure: time 0.01164/0.1821, allocations: 4.276 MB / 369.8 MB, free: 10.38 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.605e-05/0.1822, allocations: 12.03 kB / 369.8 MB, free: 10.37 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002591/0.1848, allocations: 0.6415 MB / 370.4 MB, free: 9.719 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01547/0.2003, allocations: 2.582 MB / 373 MB, free: 7.129 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005422/0.2057, allocations: 2.135 MB / 375.1 MB, free: 4.945 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004542/0.2062, allocations: 337.1 kB / 375.5 MB, free: 4.613 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002065/0.2083, allocations: 448 kB / 375.9 MB, free: 4.176 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2754/0.4837, allocations: 6.082 MB / 382 MB, free: 31.35 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001351/0.4839, allocations: 3.312 kB / 382 MB, free: 31.35 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006348/0.4846, allocations: 184.7 kB / 382.2 MB, free: 31.35 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005227/0.4851, allocations: 213.2 kB / 382.4 MB, free: 31.34 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01562/0.5007, allocations: 5.772 MB / 388.2 MB, free: 31.29 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03506/0.5358, allocations: 21.48 MB / 409.6 MB, free: 20.22 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005967/0.5419, allocations: 8.973 MB / 418.6 MB, free: 11.25 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001422/0.5433, allocations: 1.025 MB / 419.6 MB, free: 10.77 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004584/0.5479, allocations: 3.674 MB / 423.3 MB, free: 7.344 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.294e-05/0.548, allocations: 44.72 kB / 423.3 MB, free: 7.293 MB / 318.1 MB Notification: Performance of pre-optimization done (n=34): time 2.545e-06/0.548, allocations: 0 / 423.3 MB, free: 7.293 MB / 318.1 MB Notification: Performance of matching and sorting (n=34): time 0.001001/0.549, allocations: 0.7582 MB / 424.1 MB, free: 6.535 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.172e-05/0.549, allocations: 55.41 kB / 424.2 MB, free: 6.469 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002237/0.5513, allocations: 1.967 MB / 426.1 MB, free: 4.492 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.853e-05/0.5513, allocations: 33.7 kB / 426.2 MB, free: 4.453 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008548/0.5522, allocations: 2.181 MB / 428.3 MB, free: 2.262 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001032/0.5523, allocations: 165.8 kB / 428.5 MB, free: 2.102 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.212e-05/0.5524, allocations: 56 kB / 428.6 MB, free: 2.047 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.5526, allocations: 458.3 kB / 429 MB, free: 1.594 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001048/0.5536, allocations: 0.8988 MB / 429.9 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002258/0.5559, allocations: 2.28 MB / 432.2 MB, free: 13.76 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002017/0.5579, allocations: 1.442 MB / 433.6 MB, free: 12.36 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-05/0.558, allocations: 19.95 kB / 433.6 MB, free: 12.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=324) (initialization): time 0.004933/0.5629, allocations: 3.181 MB / 436.8 MB, free: 9.441 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.109e-05/0.563, allocations: 28 kB / 436.9 MB, free: 9.414 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.441e-05/0.563, allocations: 52.16 kB / 436.9 MB, free: 9.363 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.058e-05/0.5631, allocations: 75.94 kB / 437 MB, free: 9.289 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00174/0.5649, allocations: 0.5927 MB / 437.6 MB, free: 8.746 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.054e-05/0.565, allocations: 94.28 kB / 437.7 MB, free: 8.676 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00197/0.5669, allocations: 412.1 kB / 438.1 MB, free: 8.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001969/0.5672, allocations: 144 kB / 438.2 MB, free: 8.129 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 219 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (320): * Single equations (assignments): 316 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002924/0.5701, allocations: 1.563 MB / 439.8 MB, free: 6.602 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002902/0.5704, allocations: 134.3 kB / 439.9 MB, free: 6.469 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00119/0.5716, allocations: 0.7142 MB / 440.6 MB, free: 5.727 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005372/0.5721, allocations: 406.8 kB / 441 MB, free: 5.32 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.126e-06/0.5721, allocations: 3.984 kB / 441 MB, free: 5.316 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.5722, allocations: 0 / 441 MB, free: 5.316 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006238/0.5784, allocations: 4.076 MB / 445.1 MB, free: 1.117 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.116e-05/0.5784, allocations: 7.953 kB / 445.1 MB, free: 1.109 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002536/0.5787, allocations: 55.47 kB / 445.2 MB, free: 1.062 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.522e-05/0.5787, allocations: 10.52 kB / 445.2 MB, free: 1.055 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.078e-05/0.5788, allocations: 12 kB / 445.2 MB, free: 1.043 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.835e-05/0.5788, allocations: 7.984 kB / 445.2 MB, free: 1.035 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.806e-06/0.5788, allocations: 11.75 kB / 445.2 MB, free: 1.027 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001399/0.5802, allocations: 1.025 MB / 446.2 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005336/0.5807, allocations: 295.1 kB / 446.5 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001456/0.5809, allocations: 15.98 kB / 446.5 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004988/0.5814, allocations: 39.95 kB / 446.6 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.744e-05/0.5815, allocations: 35.64 kB / 446.6 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.271e-05/0.5815, allocations: 16 kB / 446.6 MB, free: 15.52 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001921/0.5834, allocations: 1.315 MB / 447.9 MB, free: 14.21 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.172e-06/0.5835, allocations: 0 / 447.9 MB, free: 14.21 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003073/0.5865, allocations: 0.9338 MB / 448.9 MB, free: 13.28 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 1 (voltageSource.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001963/0.5885, allocations: 1.635 MB / 450.5 MB, free: 11.59 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003042/0.5916, allocations: 1.737 MB / 452.2 MB, free: 9.988 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.5916, allocations: 0 / 452.2 MB, free: 9.988 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003199/0.5919, allocations: 229.6 kB / 452.5 MB, free: 9.781 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001609/0.5935, allocations: 294.7 kB / 452.7 MB, free: 9.492 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02757/0.6211, allocations: 15.04 MB / 467.8 MB, free: 9.547 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002968/0.6241, allocations: 2.888 MB / 470.7 MB, free: 6.625 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.002071/0.6262, allocations: 0.7709 MB / 471.4 MB, free: 5.848 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001471/0.6277, allocations: 1.222 MB / 472.7 MB, free: 4.625 MB / 366.1 MB Notification: Performance of SimCode: time 1.052e-06/0.6277, allocations: 0 / 472.7 MB, free: 4.625 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07363/0.7013, allocations: 39.44 MB / 0.5001 GB, free: 13.19 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002088/0.7016, allocations: 212.2 kB / 0.5003 GB, free: 12.95 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.979/3.68, allocations: 3.938 kB / 0.5003 GB, free: 12.95 MB / 414.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingDelta_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingDelta.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta_res.mat does not exist to compare? outputFormat=mat