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.0008396/0.0008396, allocations: 87.31 kB / 16.31 MB, free: 5.676 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.001793/0.001792, allocations: 182.2 kB / 17.21 MB, free: 5.598 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.426/1.426, allocations: 223.2 MB / 241.2 MB, free: 344 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003087/0.0003088, allocations: 4 kB / 300.9 MB, free: 6.328 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.101, allocations: 50.42 MB / 351.3 MB, free: 3.895 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.007989/0.109, allocations: 7.809 MB / 359.1 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005093/0.1141, allocations: 2.333 MB / 361.5 MB, free: 9.711 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009647/0.1151, allocations: 67.81 kB / 361.5 MB, free: 9.645 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009965/0.1161, allocations: 385.7 kB / 361.9 MB, free: 9.266 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00216/0.1183, allocations: 0.7341 MB / 362.7 MB, free: 8.531 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001669/0.12, allocations: 0.63 MB / 363.3 MB, free: 7.902 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004739/0.1247, allocations: 3.322 MB / 366.6 MB, free: 4.566 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2139/0.3386, allocations: 8.136 MB / 374.7 MB, free: 8.668 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002314/0.341, allocations: 1.441 MB / 376.2 MB, free: 8.668 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00229/0.3433, allocations: 1.677 MB / 377.9 MB, free: 8.664 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004451/0.3438, allocations: 242.9 kB / 378.1 MB, free: 8.664 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001236/0.345, allocations: 450.8 kB / 378.5 MB, free: 8.664 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005997/0.3456, allocations: 0.648 MB / 379.2 MB, free: 8.664 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009177/0.3465, allocations: 0.7772 MB / 380 MB, free: 8.633 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006098/0.3527, allocations: 6.641 MB / 386.6 MB, free: 6.773 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.3527, allocations: 1.219 kB / 386.6 MB, free: 6.773 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.3527, allocations: 7.938 kB / 386.6 MB, free: 6.766 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001663/0.3529, allocations: 3.094 kB / 386.6 MB, free: 6.766 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.009953/0.3628, allocations: 4.034 MB / 390.6 MB, free: 4.641 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.3629, allocations: 9.594 kB / 390.7 MB, free: 4.641 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001337/0.3642, allocations: 0.5962 MB / 391.3 MB, free: 4.473 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007322/0.3716, allocations: 1.264 MB / 392.5 MB, free: 3.996 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004747/0.3763, allocations: 2.21 MB / 394.7 MB, free: 3.32 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002215/0.3766, allocations: 317.5 kB / 395 MB, free: 3.305 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009626/0.3775, allocations: 404.6 kB / 395.4 MB, free: 3.305 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01251/0.3901, allocations: 5.456 MB / 400.9 MB, free: 1.238 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001036/0.3902, allocations: 11.91 kB / 400.9 MB, free: 1.227 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004398/0.3907, allocations: 174.9 kB / 401.1 MB, free: 1.094 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001722/0.3908, allocations: 180 kB / 401.2 MB, free: 1.07 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008989/0.3998, allocations: 4.787 MB / 406 MB, free: 12.55 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03355/0.4334, allocations: 19.34 MB / 425.4 MB, free: 8.926 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004804/0.4383, allocations: 3.926 MB / 429.3 MB, free: 4.539 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0013/0.4396, allocations: 0.8325 MB / 430.1 MB, free: 3.707 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001775/0.4398, allocations: 114 kB / 430.2 MB, free: 3.578 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.765e-05/0.4398, allocations: 43.56 kB / 430.3 MB, free: 3.527 MB / 334.1 MB Notification: Performance of pre-optimization done (n=106): time 3.857e-06/0.4398, allocations: 0 / 430.3 MB, free: 3.527 MB / 334.1 MB Notification: Performance of matching and sorting (n=106): time 0.002617/0.4425, allocations: 1.662 MB / 432 MB, free: 1.867 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/0.4426, allocations: 64.39 kB / 432 MB, free: 1.789 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002183/0.4448, allocations: 1.332 MB / 433.3 MB, free: 452 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 8.443e-05/0.4449, allocations: 41.7 kB / 433.4 MB, free: 404 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001329/0.4462, allocations: 1.75 MB / 435.1 MB, free: 14.63 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003575/0.4466, allocations: 385.4 kB / 435.5 MB, free: 14.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.686e-05/0.4467, allocations: 44 kB / 435.6 MB, free: 14.21 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002754/0.447, allocations: 439.1 kB / 436 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001353/0.4483, allocations: 0.8592 MB / 436.8 MB, free: 12.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001922/0.4503, allocations: 1.861 MB / 438.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001753/0.452, allocations: 1.305 MB / 440 MB, free: 9.312 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.908e-05/0.4521, allocations: 16 kB / 440 MB, free: 9.297 MB / 350.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.004471/0.4565, allocations: 2.797 MB / 442.8 MB, free: 6.691 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.274e-05/0.4566, allocations: 22.34 kB / 442.8 MB, free: 6.672 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-05/0.4567, allocations: 32 kB / 442.9 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.26e-05/0.4568, allocations: 55.78 kB / 442.9 MB, free: 6.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001625/0.4584, allocations: 0.5239 MB / 443.5 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.957e-05/0.4585, allocations: 74.03 kB / 443.5 MB, free: 6.047 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001363/0.4598, allocations: 293.4 kB / 443.8 MB, free: 5.758 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001708/0.46, allocations: 116 kB / 443.9 MB, free: 5.645 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.002582/0.4626, allocations: 1.48 MB / 445.4 MB, free: 4.191 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002411/0.4628, allocations: 118.5 kB / 445.5 MB, free: 4.074 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002477/0.4653, allocations: 1.544 MB / 447.1 MB, free: 2.52 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001493/0.4668, allocations: 1.111 MB / 448.2 MB, free: 1.402 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.343e-06/0.4669, allocations: 0 / 448.2 MB, free: 1.402 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.193e-05/0.4669, allocations: 3.984 kB / 448.2 MB, free: 1.398 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01729/0.4842, allocations: 12.39 MB / 460.6 MB, free: 4.406 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.641e-05/0.4842, allocations: 22.73 kB / 460.6 MB, free: 4.387 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008038/0.4851, allocations: 227.6 kB / 460.8 MB, free: 4.164 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.86e-05/0.4851, allocations: 31.98 kB / 460.8 MB, free: 4.133 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.231e-05/0.4852, allocations: 48 kB / 460.9 MB, free: 4.086 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.181e-05/0.4853, allocations: 43.8 kB / 460.9 MB, free: 4.043 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.208e-05/0.4853, allocations: 31.88 kB / 461 MB, free: 4.012 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003729/0.489, allocations: 2.794 MB / 463.8 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008132/0.4899, allocations: 347.1 kB / 464.1 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002049/0.4901, allocations: 47.98 kB / 464.1 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008061/0.4909, allocations: 67.94 kB / 464.2 MB, free: 448 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001862/0.4911, allocations: 147.5 kB / 464.4 MB, free: 300 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.783e-05/0.4912, allocations: 59.98 kB / 464.4 MB, free: 240 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001602/0.4928, allocations: 0.8905 MB / 465.3 MB, free: 15.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 3e-07/0.4928, allocations: 4 kB / 465.3 MB, free: 15.33 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002989/0.4958, allocations: 0.8702 MB / 466.2 MB, free: 14.46 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.004098/0.4999, allocations: 3.43 MB / 469.6 MB, free: 10.72 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003424/0.5034, allocations: 1.941 MB / 471.5 MB, free: 8.785 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.741e-05/0.5034, allocations: 4 kB / 471.6 MB, free: 8.781 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001064/0.5045, allocations: 0.6716 MB / 472.2 MB, free: 8.113 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002212/0.5067, allocations: 344.8 kB / 472.6 MB, free: 7.781 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02556/0.5323, allocations: 14.83 MB / 487.4 MB, free: 7.922 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002979/0.5353, allocations: 2.809 MB / 490.2 MB, free: 5.074 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.00203/0.5374, allocations: 0.7656 MB / 491 MB, free: 4.301 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001596/0.539, allocations: 1.136 MB / 492.1 MB, free: 3.164 MB / 398.1 MB Notification: Performance of SimCode: time 3.126e-06/0.539, allocations: 0 / 492.1 MB, free: 3.164 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05688/0.5959, allocations: 37.45 MB / 0.5171 GB, free: 13.99 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001645/0.5961, allocations: 206.7 kB / 0.5173 GB, free: 13.75 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.477/3.073, allocations: 4 kB / 0.5173 GB, free: 13.75 MB / 446.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