Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001608/0.001608, allocations: 174.8 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 221.4 MB / 235.5 MB, free: 2.922 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008797/0.0008798, allocations: 99.66 kB / 286.5 MB, free: 220 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.62e-05/2.624e-05, allocations: 0 / 343.9 MB, free: 4.199 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1064, allocations: 50.42 MB / 394.3 MB, free: 1.742 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3422/0.4486, allocations: 89.11 MB / 483.5 MB, free: 14.34 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002841/0.4489, allocations: 79.95 kB / 483.5 MB, free: 14.26 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1353/0.5842, allocations: 56.34 MB / 0.5272 GB, free: 5.508 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.5843, allocations: 0 / 0.5272 GB, free: 5.508 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001177/0.5844, allocations: 51.94 kB / 0.5273 GB, free: 5.457 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.00321/0.5876, allocations: 1.851 MB / 0.5291 GB, free: 3.555 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/0.5877, allocations: 8.031 kB / 0.5291 GB, free: 3.547 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003254/0.588, allocations: 266 kB / 0.5293 GB, free: 3.277 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006131/0.5886, allocations: 261.3 kB / 0.5296 GB, free: 3.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002204/0.5909, allocations: 1.313 MB / 0.5309 GB, free: 1.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001205/0.591, allocations: 131.5 kB / 0.531 GB, free: 1.531 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002396/0.5912, allocations: 176 kB / 0.5312 GB, free: 1.359 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003869/0.5951, allocations: 2.421 MB / 0.5335 GB, free: 14.87 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.006e-05/0.5952, allocations: 7.953 kB / 0.5335 GB, free: 14.86 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001669/0.5953, allocations: 80 kB / 0.5336 GB, free: 14.78 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.367e-05/0.5954, allocations: 95.52 kB / 0.5337 GB, free: 14.69 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002978/0.5984, allocations: 1.865 MB / 0.5355 GB, free: 12.82 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01065/0.6091, allocations: 7.477 MB / 0.5428 GB, free: 5.102 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00139/0.6105, allocations: 1.252 MB / 0.5441 GB, free: 3.715 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006362/0.6112, allocations: 460.1 kB / 0.5445 GB, free: 3.262 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002556/0.6114, allocations: 129.6 kB / 0.5446 GB, free: 3.117 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.6115, allocations: 35 kB / 0.5447 GB, free: 3.074 MB / 426.7 MB Notification: Performance of pre-optimization done (n=52): time 2.705e-06/0.6115, allocations: 0 / 0.5447 GB, free: 3.074 MB / 426.7 MB Notification: Performance of matching and sorting (n=53): time 0.003052/0.6145, allocations: 1.847 MB / 0.5465 GB, free: 1.168 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.105e-05/0.6146, allocations: 89.55 kB / 0.5465 GB, free: 1.062 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2256/0.8402, allocations: 1.33 MB / 0.5478 GB, free: 99.55 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001666/0.8404, allocations: 36.33 kB / 0.5479 GB, free: 99.52 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008181/0.8413, allocations: 0.97 MB / 0.5488 GB, free: 99.34 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001957/0.8415, allocations: 197.1 kB / 0.549 GB, free: 99.25 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.424e-05/0.8416, allocations: 24.44 kB / 0.549 GB, free: 99.25 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.8417, allocations: 360.8 kB / 0.5494 GB, free: 98.94 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007642/0.8425, allocations: 423.3 kB / 0.5498 GB, free: 98.94 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000994/0.8435, allocations: 1.052 MB / 0.5508 GB, free: 98.13 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009754/0.8444, allocations: 0.649 MB / 0.5514 GB, free: 98.13 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.498e-05/0.8445, allocations: 6.781 kB / 0.5514 GB, free: 98.13 MB / 426.7 MB Notification: Performance of matching and sorting (n=153) (initialization): time 0.003353/0.8478, allocations: 1.618 MB / 0.553 GB, free: 98.03 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.136e-05/0.8479, allocations: 13.62 kB / 0.553 GB, free: 98.03 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.38e-05/0.848, allocations: 21.88 kB / 0.5531 GB, free: 98.03 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006067/0.8486, allocations: 143.9 kB / 0.5532 GB, free: 98.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001283/0.8499, allocations: 288.3 kB / 0.5535 GB, free: 98.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002468/0.8523, allocations: 2.153 MB / 0.5556 GB, free: 96.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001197/0.8536, allocations: 87.91 kB / 0.5557 GB, free: 96.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001114/0.8537, allocations: 69.16 kB / 0.5557 GB, free: 96.66 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 100 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (145): * Single equations (assignments): 144 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002049/0.8539, allocations: 196 kB / 0.5559 GB, free: 96.56 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002195/0.8541, allocations: 136.4 kB / 0.556 GB, free: 96.49 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001542/0.8557, allocations: 0.8004 MB / 0.5568 GB, free: 96.42 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.8557, allocations: 9.578 kB / 0.5568 GB, free: 96.41 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.8557, allocations: 2.359 kB / 0.5568 GB, free: 96.41 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.8557, allocations: 2.344 kB / 0.5568 GB, free: 96.41 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004249/0.86, allocations: 2.481 MB / 0.5593 GB, free: 95.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/0.86, allocations: 3.812 kB / 0.5593 GB, free: 95.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000387/0.8604, allocations: 93.73 kB / 0.5594 GB, free: 95.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000338/0.8607, allocations: 113.9 kB / 0.5595 GB, free: 95.98 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.838e-05/0.8608, allocations: 16.7 kB / 0.5595 GB, free: 95.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001959/0.8627, allocations: 2.1 MB / 0.5615 GB, free: 94.63 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-06/0.8628, allocations: 2.953 kB / 0.5615 GB, free: 94.63 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002089/0.8649, allocations: 1.416 MB / 0.5629 GB, free: 94.14 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006709/0.8656, allocations: 285.4 kB / 0.5632 GB, free: 93.98 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001441/0.8657, allocations: 18.39 kB / 0.5632 GB, free: 93.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006176/0.8663, allocations: 51.52 kB / 0.5633 GB, free: 93.98 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001522/0.8665, allocations: 54.56 kB / 0.5633 GB, free: 93.97 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.272e-05/0.8666, allocations: 20.06 kB / 0.5633 GB, free: 93.97 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001897/0.8685, allocations: 1.016 MB / 0.5643 GB, free: 93.86 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.8685, allocations: 0 / 0.5643 GB, free: 93.86 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001756/0.8702, allocations: 365.4 kB / 0.5647 GB, free: 93.86 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 1 (transformer.l2sigma.inductor[1].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002595/0.8728, allocations: 2.782 MB / 0.5674 GB, free: 92.11 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002019/0.8749, allocations: 1.11 MB / 0.5685 GB, free: 91.99 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.568e-06/0.8749, allocations: 4.094 kB / 0.5685 GB, free: 91.99 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008195/0.8757, allocations: 0.4933 MB / 0.569 GB, free: 91.88 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002003/0.8778, allocations: 357.6 kB / 0.5693 GB, free: 91.87 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006713/0.8845, allocations: 3.054 MB / 0.5723 GB, free: 91.16 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001445/0.886, allocations: 1.741 MB / 0.574 GB, free: 90.44 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001272/0.8873, allocations: 331.4 kB / 0.5743 GB, free: 90.42 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008172/0.8881, allocations: 0.6072 MB / 0.5749 GB, free: 90.41 MB / 426.7 MB Notification: Performance of SimCode: time 1.282e-06/0.8881, allocations: 1.469 kB / 0.5749 GB, free: 90.41 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05763/0.9457, allocations: 32.3 MB / 0.6064 GB, free: 89.04 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000171/0.946, allocations: 196 kB / 0.6066 GB, free: 88.82 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.706/3.652, allocations: 0 / 0.6066 GB, free: 88.82 MB / 426.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat does not exist to compare? outputFormat=mat