Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.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.Analog.Examples.ShowSaturatingInductor,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001017/0.001017, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.222/1.222, allocations: 227.2 MB / 245 MB, free: 5.938 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008228/0.0008228, allocations: 89.44 kB / 297.2 MB, free: 5.977 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001934/0.0001935, allocations: 8 kB / 358 MB, free: 9.23 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1745/0.1747, allocations: 51.49 MB / 409.5 MB, free: 26.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08479/0.2596, allocations: 79.21 MB / 488.7 MB, free: 11.37 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001863/0.2598, allocations: 77.08 kB / 488.8 MB, free: 11.29 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009763/0.2696, allocations: 3.372 MB / 492.1 MB, free: 7.918 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2696, allocations: 0 / 492.1 MB, free: 7.918 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.2696, allocations: 4 kB / 492.2 MB, free: 7.914 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0006383/0.2703, allocations: 462.9 kB / 492.6 MB, free: 7.414 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.2703, allocations: 8.031 kB / 492.6 MB, free: 7.406 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.203e-05/0.2704, allocations: 42.56 kB / 492.7 MB, free: 7.355 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003659/0.2707, allocations: 51.86 kB / 492.7 MB, free: 7.305 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001703/0.2709, allocations: 199.7 kB / 492.9 MB, free: 7.07 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.2709, allocations: 12 kB / 492.9 MB, free: 7.059 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.676e-05/0.271, allocations: 15.94 kB / 492.9 MB, free: 7.043 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003007/0.2713, allocations: 158 kB / 493.1 MB, free: 6.875 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.2713, allocations: 0 / 493.1 MB, free: 6.875 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.2713, allocations: 8 kB / 493.1 MB, free: 6.867 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.2713, allocations: 4 kB / 493.1 MB, free: 6.863 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002714/0.2716, allocations: 95.94 kB / 493.2 MB, free: 6.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008972/0.2725, allocations: 0.5071 MB / 493.7 MB, free: 6.207 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002928/0.2728, allocations: 110.5 kB / 493.8 MB, free: 6.09 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/0.2729, allocations: 3.953 kB / 493.8 MB, free: 6.086 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/0.2729, allocations: 42.55 kB / 493.8 MB, free: 6.035 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.563e-06/0.2729, allocations: 0 / 493.8 MB, free: 6.035 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004566/0.2734, allocations: 145.5 kB / 494 MB, free: 5.887 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.355e-05/0.2734, allocations: 107 kB / 494.1 MB, free: 5.758 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.2735, allocations: 143.8 kB / 494.2 MB, free: 5.613 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.2736, allocations: 25.7 kB / 494.3 MB, free: 5.582 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.814e-05/0.2736, allocations: 127.8 kB / 494.4 MB, free: 5.453 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.795e-05/0.2737, allocations: 27.64 kB / 494.4 MB, free: 5.426 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.614e-05/0.2737, allocations: 7.938 kB / 494.4 MB, free: 5.418 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.2738, allocations: 322.8 kB / 494.7 MB, free: 5.094 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.2739, allocations: 43.92 kB / 494.8 MB, free: 5.051 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001453/0.2741, allocations: 79.33 kB / 494.9 MB, free: 4.961 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/0.2743, allocations: 48.3 kB / 494.9 MB, free: 4.914 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.2743, allocations: 3.984 kB / 494.9 MB, free: 4.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003384/0.2746, allocations: 149.5 kB / 495.1 MB, free: 4.758 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.2746, allocations: 11.94 kB / 495.1 MB, free: 4.746 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.2747, allocations: 0 / 495.1 MB, free: 4.746 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.2747, allocations: 4 kB / 495.1 MB, free: 4.742 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006186/0.2753, allocations: 87.89 kB / 495.2 MB, free: 4.656 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001292/0.2766, allocations: 1.382 MB / 496.5 MB, free: 3.133 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001832/0.2768, allocations: 19.92 kB / 496.6 MB, free: 3.113 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/0.2768, allocations: 8 kB / 496.6 MB, free: 3.105 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001118/0.2769, allocations: 126 kB / 496.7 MB, free: 2.973 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.108e-05/0.277, allocations: 15.86 kB / 496.7 MB, free: 2.957 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004871/0.2775, allocations: 167.1 kB / 496.9 MB, free: 2.789 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.2775, allocations: 0 / 496.9 MB, free: 2.789 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.2775, allocations: 0 / 496.9 MB, free: 2.789 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.2775, allocations: 3.984 kB / 496.9 MB, free: 2.785 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002394/0.2777, allocations: 225.6 kB / 497.1 MB, free: 2.516 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.2778, allocations: 0 / 497.1 MB, free: 2.516 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001525/0.2779, allocations: 27.92 kB / 497.1 MB, free: 2.488 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002466/0.2782, allocations: 44.77 kB / 497.2 MB, free: 2.441 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.2782, allocations: 0 / 497.2 MB, free: 2.441 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001001/0.2792, allocations: 1.3 MB / 498.5 MB, free: 1.004 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2792, allocations: 0 / 498.5 MB, free: 1.004 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006083/0.2798, allocations: 308.3 kB / 498.8 MB, free: 0.6836 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.638e-05/0.2799, allocations: 88.95 kB / 498.8 MB, free: 0.5781 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.039e-05/0.2799, allocations: 0 / 498.8 MB, free: 0.5781 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001704/0.2801, allocations: 20.05 kB / 498.9 MB, free: 0.5586 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.834e-05/0.2801, allocations: 11.98 kB / 498.9 MB, free: 0.5469 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-06/0.2802, allocations: 0 / 498.9 MB, free: 0.5469 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.136e-05/0.2802, allocations: 120.1 kB / 499 MB, free: 440 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2803, allocations: 3.938 kB / 499 MB, free: 436 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002836/0.2805, allocations: 43.94 kB / 499 MB, free: 392 kB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (SaturatingInductance1.Psi,Inductance1.i) * 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 (7): * Single equations (assignments): 6 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008984/0.2814, allocations: 0.8461 MB / 499.9 MB, free: 15.51 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006988/0.2822, allocations: 148 kB / 0.4883 GB, free: 15.37 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2822, allocations: 0 / 0.4883 GB, free: 15.37 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002917/0.2825, allocations: 170.6 kB / 0.4885 GB, free: 15.19 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001447/0.2826, allocations: 10.06 kB / 0.4885 GB, free: 15.18 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001847/0.2845, allocations: 1.141 MB / 0.4896 GB, free: 13.98 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002499/0.2847, allocations: 0.7121 MB / 0.4903 GB, free: 13.24 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.966e-05/0.2848, allocations: 12.56 kB / 0.4903 GB, free: 13.23 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.922e-05/0.2849, allocations: 47.41 kB / 0.4904 GB, free: 13.19 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.2849, allocations: 0 / 0.4904 GB, free: 13.19 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01292/0.2978, allocations: 2.838 MB / 0.4931 GB, free: 10.54 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001954/0.298, allocations: 216 kB / 0.4933 GB, free: 10.3 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.499/1.797, allocations: 0 / 0.4933 GB, free: 10.3 MB / 378.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor_fmu --startTime=0 --stopTime=6.2832 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat does not exist to compare? outputFormat=mat