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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001391/0.001391, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.447/1.447, allocations: 225.6 MB / 234.8 MB, free: 3.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008689/0.000869, allocations: 88.78 kB / 286.7 MB, free: 5.312 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.199e-05/2.21e-05, allocations: 7.984 kB / 343.8 MB, free: 8.137 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1063, allocations: 51.48 MB / 395.3 MB, free: 4.621 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3383/0.4446, allocations: 89.56 MB / 484.8 MB, free: 3.359 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000209/0.4449, allocations: 81.64 kB / 484.9 MB, free: 3.32 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5125/0.9574, allocations: 141.6 MB / 0.6118 GB, free: 83.18 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.9575, allocations: 0 / 0.6118 GB, free: 83.18 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001415/0.9576, allocations: 90 kB / 0.6119 GB, free: 83.17 MB / 442.7 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.01201/0.9697, allocations: 3.717 MB / 0.6155 GB, free: 81.91 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.268e-05/0.9697, allocations: 9.188 kB / 0.6155 GB, free: 81.91 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006013/0.9757, allocations: 0.9445 MB / 0.6164 GB, free: 81.72 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006112/0.9819, allocations: 2.44 MB / 0.6188 GB, free: 81.18 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002124/0.9821, allocations: 127.1 kB / 0.6189 GB, free: 81.18 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008581/0.983, allocations: 229.2 kB / 0.6192 GB, free: 81.18 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007996/0.991, allocations: 4.123 MB / 0.6232 GB, free: 81.16 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008323/0.9994, allocations: 5.236 MB / 0.6283 GB, free: 80.04 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.056e-05/0.9995, allocations: 10.09 kB / 0.6283 GB, free: 80.03 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003157/0.9998, allocations: 2.031 kB / 0.6283 GB, free: 80.03 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003221/1, allocations: 275.9 kB / 0.6286 GB, free: 79.95 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02499/1.025, allocations: 18.07 MB / 0.6462 GB, free: 69.54 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004288/1.029, allocations: 4.005 MB / 0.6501 GB, free: 66.41 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006833/1.03, allocations: 0.6841 MB / 0.6508 GB, free: 66.16 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001795/1.03, allocations: 195.4 kB / 0.651 GB, free: 65.96 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/1.03, allocations: 43.5 kB / 0.651 GB, free: 65.91 MB / 442.7 MB Notification: Performance of pre-optimization done (n=106): time 2.865e-06/1.03, allocations: 3.938 kB / 0.651 GB, free: 65.91 MB / 442.7 MB Notification: Performance of matching and sorting (n=106): time 0.003101/1.034, allocations: 1.537 MB / 0.6525 GB, free: 65.43 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.405e-05/1.034, allocations: 63.94 kB / 0.6526 GB, free: 65.37 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001346/1.035, allocations: 1.13 MB / 0.6537 GB, free: 64.88 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.669e-05/1.035, allocations: 29.42 kB / 0.6537 GB, free: 64.84 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007135/1.036, allocations: 1.75 MB / 0.6554 GB, free: 63.51 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002231/1.036, allocations: 366.7 kB / 0.6558 GB, free: 63.23 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.047e-05/1.036, allocations: 0 / 0.6558 GB, free: 63.23 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001562/1.036, allocations: 439.3 kB / 0.6562 GB, free: 62.87 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009362/1.037, allocations: 0.8325 MB / 0.657 GB, free: 62.56 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001314/1.038, allocations: 1.804 MB / 0.6588 GB, free: 60.93 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003119/1.042, allocations: 1.7 MB / 0.6604 GB, free: 60.38 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.866e-05/1.042, allocations: 11.44 kB / 0.6604 GB, free: 60.38 MB / 442.7 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.004988/1.047, allocations: 2.993 MB / 0.6634 GB, free: 59.4 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.419e-05/1.047, allocations: 21.86 kB / 0.6634 GB, free: 59.4 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.181e-05/1.047, allocations: 33.97 kB / 0.6634 GB, free: 59.4 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.138e-05/1.047, allocations: 52.34 kB / 0.6635 GB, free: 59.4 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001601/1.048, allocations: 0.5317 MB / 0.664 GB, free: 59.34 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.09e-05/1.048, allocations: 69.78 kB / 0.6641 GB, free: 59.33 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001309/1.05, allocations: 256.5 kB / 0.6643 GB, free: 59.19 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001405/1.05, allocations: 118.5 kB / 0.6644 GB, free: 59.17 MB / 442.7 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 () * 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.0002292/1.05, allocations: 191.2 kB / 0.6646 GB, free: 58.99 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002945/1.053, allocations: 1.531 MB / 0.6661 GB, free: 58.52 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001401/1.053, allocations: 132.9 kB / 0.6662 GB, free: 58.45 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003233/1.056, allocations: 1.834 MB / 0.668 GB, free: 57.83 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002442/1.059, allocations: 1.406 MB / 0.6694 GB, free: 57.42 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/1.059, allocations: 4 kB / 0.6694 GB, free: 57.41 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/1.059, allocations: 7.781 kB / 0.6694 GB, free: 57.41 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01498/1.074, allocations: 13.58 MB / 0.6827 GB, free: 50.14 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-05/1.074, allocations: 21.44 kB / 0.6827 GB, free: 50.14 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008024/1.075, allocations: 233.6 kB / 0.6829 GB, free: 50.11 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-05/1.075, allocations: 29 kB / 0.6829 GB, free: 50.11 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.968e-05/1.075, allocations: 37.44 kB / 0.683 GB, free: 50.11 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.317e-05/1.075, allocations: 41.89 kB / 0.683 GB, free: 50.1 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.687e-05/1.075, allocations: 30.47 kB / 0.683 GB, free: 50.09 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004296/1.079, allocations: 4.256 MB / 0.6872 GB, free: 46.66 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003492/1.08, allocations: 243.2 kB / 0.6874 GB, free: 46.48 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001616/1.08, allocations: 28.39 kB / 0.6874 GB, free: 46.48 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007574/1.081, allocations: 62.88 kB / 0.6875 GB, free: 46.47 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000129/1.081, allocations: 143.3 kB / 0.6876 GB, free: 46.41 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.138e-05/1.081, allocations: 56.02 kB / 0.6877 GB, free: 46.41 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0009719/1.082, allocations: 0.8313 MB / 0.6885 GB, free: 46.04 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.61e-07/1.082, allocations: 0 / 0.6885 GB, free: 46.04 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002395/1.084, allocations: 0.8367 MB / 0.6893 GB, free: 45.77 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 93 * Number of states: 1 (currentSensor31.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete 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.005344/1.09, allocations: 11.14 MB / 0.7002 GB, free: 34.5 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002376/1.092, allocations: 1.847 MB / 0.702 GB, free: 32.87 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.074e-05/1.092, allocations: 8.062 kB / 0.702 GB, free: 32.86 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006842/1.093, allocations: 0.6438 MB / 0.7026 GB, free: 32.32 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001581/1.094, allocations: 292.5 kB / 0.7029 GB, free: 32.1 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0099/1.104, allocations: 6.341 MB / 0.7091 GB, free: 26.3 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001975/1.106, allocations: 2.868 MB / 0.7119 GB, free: 24 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001773/1.108, allocations: 0.7717 MB / 0.7127 GB, free: 23.5 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001117/1.109, allocations: 1.132 MB / 0.7138 GB, free: 22.46 MB / 442.7 MB Notification: Performance of SimCode: time 1.041e-06/1.109, allocations: 0 / 0.7138 GB, free: 22.46 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2831/1.392, allocations: 36.92 MB / 0.7498 GB, free: 73.28 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001697/1.392, allocations: 164.2 kB / 0.75 GB, free: 73.09 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.638/4.031, allocations: 0 / 0.75 GB, free: 73.09 MB / 442.7 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