Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.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 4.0.0+maint.om/package.mo", uses=false) 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 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.QuasiStatic.Polyphase.Examples.BalancingDelta,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_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.0009742/0.0009743, allocations: 98.05 kB / 16.3 MB, free: 5.992 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.0009947/0.0009949, allocations: 181.5 kB / 17.19 MB, free: 5.906 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.454/1.454, allocations: 223.2 MB / 241.1 MB, free: 5.473 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002747/0.0002747, allocations: 6.703 kB / 300.8 MB, free: 6.055 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1265, allocations: 50.43 MB / 351.2 MB, free: 11.66 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.007651/0.1342, allocations: 7.336 MB / 358.6 MB, free: 4.297 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00463/0.1389, allocations: 2.392 MB / 361 MB, free: 1.898 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008112/0.1397, allocations: 59.81 kB / 361 MB, free: 1.84 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008788/0.1406, allocations: 405.8 kB / 361.4 MB, free: 1.441 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002166/0.1428, allocations: 0.7516 MB / 362.2 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001442/0.1443, allocations: 0.6269 MB / 362.8 MB, free: 64 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002928/0.1472, allocations: 2.413 MB / 365.2 MB, free: 13.64 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01195/0.1592, allocations: 8.054 MB / 373.3 MB, free: 5.516 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002567/0.1618, allocations: 1.359 MB / 374.6 MB, free: 4.152 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00376/0.1655, allocations: 1.548 MB / 376.2 MB, free: 2.598 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001481/0.1671, allocations: 244 kB / 376.4 MB, free: 2.359 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002429/0.1695, allocations: 415.8 kB / 376.8 MB, free: 1.953 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008615/0.1704, allocations: 0.6423 MB / 377.5 MB, free: 1.309 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001806/0.1722, allocations: 0.7811 MB / 378.2 MB, free: 0.5195 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008376/0.1806, allocations: 6.634 MB / 384.9 MB, free: 9.867 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1807, allocations: 0 / 384.9 MB, free: 9.867 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.1807, allocations: 0 / 384.9 MB, free: 9.867 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002109/0.1809, allocations: 0 / 384.9 MB, free: 9.867 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: 1104 * Number of variables: 1104 Notification: Performance of Generate backend data structure: time 0.01194/0.1929, allocations: 4.033 MB / 388.9 MB, free: 5.766 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.1929, allocations: 12.03 kB / 388.9 MB, free: 5.754 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001675/0.1946, allocations: 0.596 MB / 389.5 MB, free: 5.145 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007665/0.2023, allocations: 1.264 MB / 390.8 MB, free: 3.875 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005514/0.2078, allocations: 2.209 MB / 393 MB, free: 1.617 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002433/0.2081, allocations: 312.4 kB / 393.3 MB, free: 1.309 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007539/0.2089, allocations: 412 kB / 393.7 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009957/0.2188, allocations: 5.426 MB / 399.1 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.137e-05/0.2189, allocations: 7.906 kB / 399.1 MB, free: 11.42 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003637/0.2193, allocations: 164 kB / 399.3 MB, free: 11.26 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001776/0.2195, allocations: 184.6 kB / 399.5 MB, free: 11.07 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008899/0.2284, allocations: 4.784 MB / 404.2 MB, free: 6.273 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03318/0.2616, allocations: 19.35 MB / 423.6 MB, free: 2.281 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2421/0.5038, allocations: 3.923 MB / 427.5 MB, free: 55.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003615/0.5042, allocations: 116.9 kB / 427.6 MB, free: 55.89 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.504e-05/0.5043, allocations: 47.12 kB / 427.7 MB, free: 55.85 MB / 350.1 MB Notification: Performance of pre-optimization done (n=106): time 4.368e-06/0.5043, allocations: 0 / 427.7 MB, free: 55.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=106): time 0.003419/0.5077, allocations: 2.004 MB / 429.7 MB, free: 55.42 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.34e-05/0.5078, allocations: 62.41 kB / 429.7 MB, free: 55.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00233/0.5101, allocations: 1.329 MB / 431.1 MB, free: 55.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.253e-05/0.5102, allocations: 41.33 kB / 431.1 MB, free: 55.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001363/0.5116, allocations: 1.749 MB / 432.9 MB, free: 54.15 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003763/0.512, allocations: 384.2 kB / 433.2 MB, free: 53.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.127e-05/0.5121, allocations: 44.41 kB / 433.3 MB, free: 53.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002247/0.5123, allocations: 443.4 kB / 433.7 MB, free: 53.61 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00197/0.5143, allocations: 0.8657 MB / 434.6 MB, free: 53.61 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003256/0.5175, allocations: 1.863 MB / 436.4 MB, free: 52.36 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002876/0.5204, allocations: 1.323 MB / 437.8 MB, free: 52.3 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.333e-05/0.5205, allocations: 9.906 kB / 437.8 MB, free: 52.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.006123/0.5266, allocations: 2.816 MB / 440.6 MB, free: 51.95 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.799e-05/0.5268, allocations: 23.84 kB / 440.6 MB, free: 51.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.114e-05/0.5269, allocations: 33 kB / 440.6 MB, free: 51.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001165/0.527, allocations: 52.25 kB / 440.7 MB, free: 51.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001881/0.5289, allocations: 0.5206 MB / 441.2 MB, free: 51.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-05/0.529, allocations: 71.39 kB / 441.3 MB, free: 51.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001673/0.5307, allocations: 290.6 kB / 441.6 MB, free: 51.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002363/0.5309, allocations: 118.9 kB / 441.7 MB, free: 51.76 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (275): * Single equations (assignments): 271 * 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.003062/0.534, allocations: 1.484 MB / 443.2 MB, free: 51.16 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003408/0.5343, allocations: 118.3 kB / 443.3 MB, free: 51.1 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002164/0.5365, allocations: 1.56 MB / 444.8 MB, free: 50.46 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001333/0.5378, allocations: 1.124 MB / 446 MB, free: 50.04 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/0.5379, allocations: 4.719 kB / 446 MB, free: 50.04 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.545e-05/0.5379, allocations: 7.312 kB / 446 MB, free: 50.04 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01522/0.5531, allocations: 12.6 MB / 458.6 MB, free: 42.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.341e-05/0.5532, allocations: 20 kB / 458.6 MB, free: 42.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000762/0.554, allocations: 231.5 kB / 458.8 MB, free: 42.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.198e-05/0.554, allocations: 30.56 kB / 458.9 MB, free: 42.59 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.431e-05/0.5541, allocations: 47.98 kB / 458.9 MB, free: 42.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-05/0.5541, allocations: 39.86 kB / 458.9 MB, free: 42.5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-05/0.5541, allocations: 34.3 kB / 459 MB, free: 42.47 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003457/0.5576, allocations: 3.961 MB / 462.9 MB, free: 37.71 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007011/0.5583, allocations: 347.2 kB / 463.3 MB, free: 37.36 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001749/0.5585, allocations: 47.98 kB / 463.3 MB, free: 37.31 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007582/0.5593, allocations: 72 kB / 463.4 MB, free: 37.24 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001595/0.5594, allocations: 135.5 kB / 463.5 MB, free: 37.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.812e-05/0.5595, allocations: 63.92 kB / 463.6 MB, free: 37.04 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001261/0.5608, allocations: 0.8945 MB / 464.5 MB, free: 36.14 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5608, allocations: 0 / 464.5 MB, free: 36.14 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003338/0.5641, allocations: 0.8708 MB / 465.4 MB, free: 35.27 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 93 * 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 (107): * Single equations (assignments): 103 * 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.005004/0.5692, allocations: 10.84 MB / 476.2 MB, free: 23.79 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00318/0.5724, allocations: 1.963 MB / 478.2 MB, free: 21.82 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.366e-05/0.5724, allocations: 4 kB / 478.2 MB, free: 21.82 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007829/0.5732, allocations: 0.6735 MB / 478.8 MB, free: 21.15 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001771/0.5749, allocations: 312.6 kB / 479.1 MB, free: 20.86 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03459/0.6096, allocations: 37.92 MB / 0.5049 GB, free: 13.71 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002875/0.6125, allocations: 2.873 MB / 0.5078 GB, free: 10.8 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001904/0.6144, allocations: 0.7577 MB / 0.5085 GB, free: 10.04 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001382/0.6158, allocations: 1.148 MB / 0.5096 GB, free: 8.891 MB / 382.1 MB Notification: Performance of SimCode: time 8.31e-07/0.6158, allocations: 0 / 0.5096 GB, free: 8.891 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06798/0.6838, allocations: 37.32 MB / 0.5461 GB, free: 3.805 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001911/0.684, allocations: 201.2 kB / 0.5463 GB, free: 3.566 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.509/3.193, allocations: 3.938 kB / 0.5463 GB, free: 3.562 MB / 414.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat does not exist to compare? outputFormat=mat