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.0009924/0.0009926, allocations: 97.09 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001043/0.001043, allocations: 201.9 kB / 17.9 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.331/1.331, allocations: 227.3 MB / 245.9 MB, free: 10.31 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002427/0.0002427, allocations: 8 kB / 306.7 MB, free: 1.273 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1041, allocations: 51.5 MB / 358.2 MB, free: 13.78 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.007818/0.112, allocations: 7.343 MB / 365.5 MB, free: 6.41 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004966/0.117, allocations: 2.454 MB / 368 MB, free: 3.949 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001329/0.1184, allocations: 63.81 kB / 368.1 MB, free: 3.887 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001304/0.1197, allocations: 401.8 kB / 368.5 MB, free: 3.492 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002273/0.122, allocations: 0.6344 MB / 369.1 MB, free: 2.859 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001831/0.1238, allocations: 0.7414 MB / 369.8 MB, free: 2.121 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1812/0.305, allocations: 2.413 MB / 372.2 MB, free: 8.781 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01479/0.3199, allocations: 8.039 MB / 380.3 MB, free: 7.719 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002334/0.3223, allocations: 1.351 MB / 381.6 MB, free: 7.719 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002856/0.3251, allocations: 1.547 MB / 383.2 MB, free: 7.719 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000834/0.326, allocations: 242.8 kB / 383.4 MB, free: 7.719 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00201/0.328, allocations: 439.5 kB / 383.8 MB, free: 7.719 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009272/0.329, allocations: 0.6428 MB / 384.5 MB, free: 7.719 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001514/0.3305, allocations: 0.7847 MB / 385.3 MB, free: 7.684 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009414/0.3399, allocations: 6.64 MB / 391.9 MB, free: 5.086 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.34, allocations: 0 / 391.9 MB, free: 5.086 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.317e-06/0.34, allocations: 3.531 kB / 391.9 MB, free: 5.086 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.000365/0.3404, allocations: 0 / 391.9 MB, free: 5.086 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.01501/0.3554, allocations: 4.042 MB / 396 MB, free: 2.531 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.3555, allocations: 10.44 kB / 396 MB, free: 2.531 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002002/0.3575, allocations: 0.5925 MB / 396.6 MB, free: 2.098 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008172/0.3657, allocations: 1.299 MB / 397.9 MB, free: 1.527 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004564/0.3702, allocations: 2.215 MB / 400.1 MB, free: 24 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005426/0.3708, allocations: 342.4 kB / 400.4 MB, free: 15.98 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001152/0.372, allocations: 405.3 kB / 400.8 MB, free: 15.86 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01309/0.3851, allocations: 5.422 MB / 406.2 MB, free: 11.04 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001267/0.3852, allocations: 7.891 kB / 406.2 MB, free: 11.03 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007146/0.386, allocations: 174.7 kB / 406.4 MB, free: 10.86 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002155/0.3862, allocations: 176.6 kB / 406.6 MB, free: 10.69 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0125/0.3987, allocations: 4.781 MB / 411.4 MB, free: 5.891 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03404/0.4328, allocations: 19.6 MB / 431 MB, free: 1.719 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004614/0.4374, allocations: 3.938 MB / 434.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002665/0.4377, allocations: 201.2 kB / 435.1 MB, free: 13.1 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.602e-05/0.4378, allocations: 43.55 kB / 435.1 MB, free: 13.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=106): time 3.216e-06/0.4378, allocations: 0 / 435.1 MB, free: 13.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=106): time 0.002732/0.4405, allocations: 2.003 MB / 437.1 MB, free: 10.96 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/0.4406, allocations: 64.41 kB / 437.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001955/0.4426, allocations: 1.33 MB / 438.5 MB, free: 9.539 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.326e-05/0.4426, allocations: 37.7 kB / 438.6 MB, free: 9.496 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001112/0.4438, allocations: 1.753 MB / 440.3 MB, free: 7.727 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003306/0.4441, allocations: 383.6 kB / 440.7 MB, free: 7.355 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.4442, allocations: 40 kB / 440.7 MB, free: 7.316 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002438/0.4445, allocations: 443.1 kB / 441.2 MB, free: 6.875 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001312/0.4458, allocations: 0.867 MB / 442 MB, free: 6.004 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001897/0.4477, allocations: 1.857 MB / 443.9 MB, free: 3.668 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002008/0.4497, allocations: 1.327 MB / 445.2 MB, free: 2.344 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.831e-05/0.4498, allocations: 8 kB / 445.2 MB, free: 2.336 MB / 350.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.004425/0.4542, allocations: 2.818 MB / 448 MB, free: 15.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.667e-05/0.4542, allocations: 20 kB / 448.1 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.432e-05/0.4543, allocations: 36 kB / 448.1 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.854e-05/0.4544, allocations: 52 kB / 448.1 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001736/0.4561, allocations: 0.5186 MB / 448.7 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.617e-05/0.4562, allocations: 63.8 kB / 448.7 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001457/0.4576, allocations: 293.7 kB / 449 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002135/0.4579, allocations: 116 kB / 449.1 MB, free: 14.43 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.002955/0.4608, allocations: 1.492 MB / 450.6 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002655/0.4611, allocations: 118.5 kB / 450.7 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002555/0.4637, allocations: 1.559 MB / 452.3 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001545/0.4652, allocations: 1.127 MB / 453.4 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.4652, allocations: 0 / 453.4 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.377e-05/0.4653, allocations: 7.984 kB / 453.4 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03204/0.4973, allocations: 14.06 MB / 467.5 MB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.453e-05/0.4974, allocations: 23.94 kB / 467.5 MB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001241/0.4987, allocations: 231.6 kB / 467.7 MB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.204e-05/0.4987, allocations: 31.95 kB / 467.8 MB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002187/0.499, allocations: 44 kB / 467.8 MB, free: 10.72 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.325e-05/0.499, allocations: 51.78 kB / 467.9 MB, free: 10.67 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-05/0.4991, allocations: 31.88 kB / 467.9 MB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006611/0.5057, allocations: 3.953 MB / 471.8 MB, free: 5.91 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001062/0.5068, allocations: 343.2 kB / 472.2 MB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004632/0.5073, allocations: 47.94 kB / 472.2 MB, free: 5.508 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001475/0.5088, allocations: 67.94 kB / 472.3 MB, free: 5.441 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002742/0.5091, allocations: 147.5 kB / 472.4 MB, free: 5.297 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001657/0.5092, allocations: 56 kB / 472.5 MB, free: 5.242 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002415/0.5117, allocations: 0.8944 MB / 473.4 MB, free: 4.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 4e-07/0.5117, allocations: 0 / 473.4 MB, free: 4.34 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003957/0.5157, allocations: 0.8701 MB / 474.3 MB, free: 3.465 MB / 382.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.007108/0.5228, allocations: 10.83 MB / 485.1 MB, free: 7.984 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003343/0.5262, allocations: 1.962 MB / 487 MB, free: 6.023 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-05/0.5262, allocations: 4 kB / 487.1 MB, free: 6.02 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001054/0.5273, allocations: 0.6765 MB / 487.7 MB, free: 5.348 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001823/0.5291, allocations: 313.5 kB / 488 MB, free: 5.043 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03022/0.5593, allocations: 37.92 MB / 0.5136 GB, free: 13.88 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002975/0.5624, allocations: 2.871 MB / 0.5164 GB, free: 10.97 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002184/0.5646, allocations: 0.7655 MB / 0.5172 GB, free: 10.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001681/0.5663, allocations: 1.14 MB / 0.5183 GB, free: 9.062 MB / 446.1 MB Notification: Performance of SimCode: time 1.413e-06/0.5663, allocations: 0 / 0.5183 GB, free: 9.062 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2508/0.8171, allocations: 37.22 MB / 0.5546 GB, free: 137.2 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001422/0.8172, allocations: 201 kB / 0.5548 GB, free: 136.9 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.65/3.467, allocations: 4 kB / 0.5548 GB, free: 136.9 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