Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.0008871/0.000887, allocations: 97.91 kB / 17.01 MB, free: 6.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009011/0.0009014, allocations: 194.1 kB / 17.9 MB, free: 5.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.439/1.439, allocations: 227.3 MB / 246 MB, free: 10.26 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000275/0.0002754, allocations: 4 kB / 306.8 MB, free: 1.258 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1274, allocations: 51.49 MB / 358.3 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.007926/0.1354, allocations: 7.837 MB / 366.1 MB, free: 5.898 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005622/0.141, allocations: 2.395 MB / 368.5 MB, free: 3.496 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001725/0.1428, allocations: 59.88 kB / 368.6 MB, free: 3.438 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001707/0.1445, allocations: 373.7 kB / 369 MB, free: 3.07 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002909/0.1475, allocations: 0.6064 MB / 369.6 MB, free: 2.461 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002266/0.1497, allocations: 0.7492 MB / 370.3 MB, free: 1.715 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.184/0.3338, allocations: 3.311 MB / 373.6 MB, free: 8.77 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01466/0.3485, allocations: 8.147 MB / 381.8 MB, free: 7.699 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003178/0.3517, allocations: 1.444 MB / 383.2 MB, free: 7.699 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003465/0.3552, allocations: 1.671 MB / 384.9 MB, free: 7.699 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006733/0.3559, allocations: 243 kB / 385.1 MB, free: 7.699 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001714/0.3576, allocations: 471.5 kB / 385.6 MB, free: 7.688 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000773/0.3584, allocations: 0.6479 MB / 386.2 MB, free: 7.676 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001643/0.36, allocations: 0.7813 MB / 387 MB, free: 7.527 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00761/0.3677, allocations: 6.647 MB / 393.7 MB, free: 4.441 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.605e-06/0.3677, allocations: 1.219 kB / 393.7 MB, free: 4.441 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.025e-06/0.3677, allocations: 3.938 kB / 393.7 MB, free: 4.438 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002235/0.3679, allocations: 0 / 393.7 MB, free: 4.438 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: 1104 * Number of variables: 1104 Notification: Performance of Generate backend data structure: time 0.01142/0.3794, allocations: 4.046 MB / 397.7 MB, free: 1.879 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.3794, allocations: 10.44 kB / 397.7 MB, free: 1.879 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002235/0.3817, allocations: 0.5891 MB / 398.3 MB, free: 1.449 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007914/0.3896, allocations: 1.289 MB / 399.6 MB, free: 0.8867 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005041/0.3947, allocations: 2.219 MB / 401.8 MB, free: 15.36 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003894/0.3951, allocations: 313.5 kB / 402.1 MB, free: 15.22 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001391/0.3965, allocations: 412.1 kB / 402.5 MB, free: 14.97 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0132/0.4097, allocations: 5.456 MB / 408 MB, free: 9.469 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001358/0.4099, allocations: 7.844 kB / 408 MB, free: 9.461 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008376/0.4107, allocations: 171.9 kB / 408.2 MB, free: 9.293 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000226/0.4109, allocations: 184.6 kB / 408.3 MB, free: 9.109 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01106/0.422, allocations: 4.784 MB / 413.1 MB, free: 4.309 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03832/0.4604, allocations: 19.59 MB / 432.7 MB, free: 152 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004697/0.4651, allocations: 3.929 MB / 436.7 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001365/0.4665, allocations: 0.8392 MB / 437.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000241/0.4668, allocations: 194.8 kB / 437.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/0.4668, allocations: 43.56 kB / 437.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of pre-optimization done (n=106): time 3.076e-06/0.4669, allocations: 4 kB / 437.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=106): time 0.002629/0.4695, allocations: 1.659 MB / 439.4 MB, free: 8.984 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.18e-05/0.4696, allocations: 64.41 kB / 439.4 MB, free: 8.906 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002001/0.4716, allocations: 1.322 MB / 440.8 MB, free: 7.566 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.072e-05/0.4717, allocations: 45.7 kB / 440.8 MB, free: 7.516 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001101/0.4728, allocations: 1.755 MB / 442.6 MB, free: 5.746 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003423/0.4731, allocations: 377.5 kB / 442.9 MB, free: 5.383 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/0.4732, allocations: 44 kB / 443 MB, free: 5.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002403/0.4735, allocations: 447.1 kB / 443.4 MB, free: 4.895 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001325/0.4748, allocations: 0.863 MB / 444.3 MB, free: 4.027 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001924/0.4767, allocations: 1.855 MB / 446.1 MB, free: 1.699 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001787/0.4785, allocations: 1.318 MB / 447.5 MB, free: 396 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.077e-05/0.4786, allocations: 8 kB / 447.5 MB, free: 388 kB / 350.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.004332/0.4829, allocations: 2.8 MB / 450.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.192e-05/0.483, allocations: 20 kB / 450.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.736e-05/0.4831, allocations: 36 kB / 450.3 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.884e-05/0.4831, allocations: 52.78 kB / 450.4 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001713/0.4848, allocations: 0.5226 MB / 450.9 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.451e-05/0.4849, allocations: 67.72 kB / 451 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001414/0.4864, allocations: 281.2 kB / 451.2 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001907/0.4866, allocations: 120 kB / 451.3 MB, free: 12.48 MB / 366.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.003643/0.4902, allocations: 1.484 MB / 452.8 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003832/0.4906, allocations: 126.5 kB / 453 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002514/0.4931, allocations: 1.544 MB / 454.5 MB, free: 9.301 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001493/0.4946, allocations: 1.104 MB / 455.6 MB, free: 8.191 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.4947, allocations: 7.984 kB / 455.6 MB, free: 8.184 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.258e-05/0.4947, allocations: 3.984 kB / 455.6 MB, free: 8.18 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01928/0.514, allocations: 13.82 MB / 469.4 MB, free: 9.359 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.893e-05/0.514, allocations: 20 kB / 469.5 MB, free: 9.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008222/0.5149, allocations: 240.2 kB / 469.7 MB, free: 9.109 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.554e-05/0.5149, allocations: 32 kB / 469.7 MB, free: 9.078 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.541e-05/0.515, allocations: 55.94 kB / 469.8 MB, free: 9.023 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.238e-05/0.5151, allocations: 39.86 kB / 469.8 MB, free: 8.984 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.156e-05/0.5151, allocations: 31.88 kB / 469.8 MB, free: 8.953 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003671/0.5188, allocations: 2.772 MB / 472.6 MB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007365/0.5195, allocations: 347.1 kB / 473 MB, free: 5.504 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001748/0.5197, allocations: 56 kB / 473 MB, free: 5.449 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007505/0.5205, allocations: 71.94 kB / 473.1 MB, free: 5.379 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001681/0.5207, allocations: 143.4 kB / 473.2 MB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.577e-05/0.5207, allocations: 56 kB / 473.3 MB, free: 5.184 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001654/0.5224, allocations: 0.9023 MB / 474.2 MB, free: 4.273 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5224, allocations: 0 / 474.2 MB, free: 4.273 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003085/0.5255, allocations: 0.8662 MB / 475 MB, free: 3.402 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 95 * 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 (109): * Single equations (assignments): 105 * 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.003938/0.5295, allocations: 3.425 MB / 478.5 MB, free: 15.67 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003083/0.5326, allocations: 1.946 MB / 480.4 MB, free: 13.72 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.702e-05/0.5326, allocations: 4 kB / 480.4 MB, free: 13.71 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009766/0.5336, allocations: 0.6716 MB / 481.1 MB, free: 13.05 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002109/0.5357, allocations: 324.8 kB / 481.4 MB, free: 12.73 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02562/0.5614, allocations: 14.85 MB / 496.3 MB, free: 12.85 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002857/0.5643, allocations: 2.813 MB / 499.1 MB, free: 10 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.00196/0.5662, allocations: 0.7617 MB / 499.8 MB, free: 9.234 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001547/0.5678, allocations: 1.136 MB / 0.4892 GB, free: 8.098 MB / 414.1 MB Notification: Performance of SimCode: time 1.002e-06/0.5678, allocations: 3.938 kB / 0.4892 GB, free: 8.094 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06409/0.6319, allocations: 37.34 MB / 0.5257 GB, free: 3.016 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001942/0.6321, allocations: 209.1 kB / 0.5259 GB, free: 2.781 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.534/3.166, allocations: 0 / 0.5259 GB, free: 2.781 MB / 446.1 MB (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat does not exist to compare? outputFormat=mat