Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001048/0.001048, allocations: 172.2 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.506/1.506, allocations: 205.2 MB / 219.8 MB, free: 14.2 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007634/0.0007631, allocations: 86.62 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.395e-05/3.398e-05, allocations: 4 kB / 322.5 MB, free: 17.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08605/0.0861, allocations: 47.57 MB / 370.1 MB, free: 1.617 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3171/0.4033, allocations: 76.87 MB / 447 MB, free: 416 kB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002264/0.4036, allocations: 72.14 kB / 447.1 MB, free: 376 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009123/0.4127, allocations: 3.149 MB / 450.2 MB, free: 13.69 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4127, allocations: 0 / 450.2 MB, free: 13.69 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.588e-06/0.4127, allocations: 4 kB / 450.2 MB, free: 13.68 MB / 330.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.0005672/0.4133, allocations: 441.6 kB / 450.6 MB, free: 13.22 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.4134, allocations: 8.031 kB / 450.6 MB, free: 13.21 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.688e-05/0.4134, allocations: 45.42 kB / 450.7 MB, free: 13.16 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.448e-05/0.4135, allocations: 15.81 kB / 450.7 MB, free: 13.15 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001766/0.4137, allocations: 190.7 kB / 450.9 MB, free: 12.93 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.4137, allocations: 7.953 kB / 450.9 MB, free: 12.92 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.234e-05/0.4137, allocations: 11.19 kB / 450.9 MB, free: 12.91 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002343/0.414, allocations: 141.4 kB / 451 MB, free: 12.79 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.414, allocations: 0 / 451 MB, free: 12.79 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.927e-05/0.414, allocations: 7.875 kB / 451.1 MB, free: 12.79 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.414, allocations: 0 / 451.1 MB, free: 12.79 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001337/0.4142, allocations: 66.98 kB / 451.1 MB, free: 12.74 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008528/0.415, allocations: 0.5057 MB / 451.6 MB, free: 12.25 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001428/0.4152, allocations: 81.36 kB / 451.7 MB, free: 12.19 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001173/0.4153, allocations: 56.23 kB / 451.8 MB, free: 12.14 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.4153, allocations: 7.891 kB / 451.8 MB, free: 12.14 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/0.4154, allocations: 34.56 kB / 451.8 MB, free: 12.09 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.4154, allocations: 0 / 451.8 MB, free: 12.09 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002133/0.4156, allocations: 92.23 kB / 451.9 MB, free: 12.01 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.774e-05/0.4157, allocations: 102.8 kB / 452 MB, free: 11.89 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/0.4158, allocations: 141 kB / 452.1 MB, free: 11.76 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.4158, allocations: 29.92 kB / 452.2 MB, free: 11.72 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.151e-05/0.4159, allocations: 127.2 kB / 452.3 MB, free: 11.61 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.503e-05/0.4159, allocations: 27.53 kB / 452.3 MB, free: 11.59 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.422e-06/0.4159, allocations: 0 / 452.3 MB, free: 11.59 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.416, allocations: 326.4 kB / 452.6 MB, free: 11.27 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.951e-05/0.4161, allocations: 19.81 kB / 452.7 MB, free: 11.25 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.913e-05/0.4162, allocations: 72.7 kB / 452.7 MB, free: 11.18 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.535e-05/0.4163, allocations: 35.73 kB / 452.8 MB, free: 11.15 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.4163, allocations: 0 / 452.8 MB, free: 11.15 MB / 330.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001842/0.4165, allocations: 128.4 kB / 452.9 MB, free: 11.05 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.4165, allocations: 7.953 kB / 452.9 MB, free: 11.04 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.4165, allocations: 3.984 kB / 452.9 MB, free: 11.04 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.4165, allocations: 4.094 kB / 452.9 MB, free: 11.03 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005592/0.4171, allocations: 83.92 kB / 453 MB, free: 10.95 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001197/0.4183, allocations: 1.38 MB / 454.4 MB, free: 9.473 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001635/0.4185, allocations: 23.83 kB / 454.4 MB, free: 9.449 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.38e-05/0.4185, allocations: 11.94 kB / 454.4 MB, free: 9.441 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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 7.566e-05/0.4186, allocations: 105 kB / 454.5 MB, free: 9.332 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.507e-05/0.4186, allocations: 11.86 kB / 454.5 MB, free: 9.32 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003138/0.4189, allocations: 129.5 kB / 454.6 MB, free: 9.211 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.4189, allocations: 0 / 454.6 MB, free: 9.211 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-06/0.419, allocations: 0 / 454.6 MB, free: 9.211 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.419, allocations: 4.031 kB / 454.6 MB, free: 9.207 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005548/0.4195, allocations: 444.3 kB / 455.1 MB, free: 8.762 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.4195, allocations: 0 / 455.1 MB, free: 8.762 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001353/0.4197, allocations: 19.98 kB / 455.1 MB, free: 8.742 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002582/0.42, allocations: 44.72 kB / 455.1 MB, free: 8.699 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.42, allocations: 7.938 kB / 455.1 MB, free: 8.695 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001001/0.421, allocations: 1.294 MB / 456.4 MB, free: 7.312 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.421, allocations: 0 / 456.4 MB, free: 7.312 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003853/0.4214, allocations: 281.5 kB / 456.7 MB, free: 7.047 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.621e-05/0.4215, allocations: 92.97 kB / 456.8 MB, free: 6.938 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/0.4215, allocations: 3.938 kB / 456.8 MB, free: 6.934 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001656/0.4216, allocations: 19.94 kB / 456.8 MB, free: 6.914 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.337e-05/0.4217, allocations: 15.73 kB / 456.8 MB, free: 6.902 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.4217, allocations: 0 / 456.8 MB, free: 6.902 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.406e-05/0.4218, allocations: 123.6 kB / 457 MB, free: 6.793 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4218, allocations: 0 / 457 MB, free: 6.793 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002696/0.4221, allocations: 35.5 kB / 457 MB, free: 6.762 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (SaturatingInductance1.Psi,Inductance1.i) * Number of discrete variables: 0 () * Number of discrete 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.0006636/0.4227, allocations: 0.8687 MB / 457.9 MB, free: 5.891 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005547/0.4233, allocations: 115.1 kB / 458 MB, free: 5.797 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4233, allocations: 0 / 458 MB, free: 5.797 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002426/0.4236, allocations: 158 kB / 458.1 MB, free: 5.645 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001602/0.4237, allocations: 8.797 kB / 458.1 MB, free: 5.641 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001372/0.4251, allocations: 472.6 kB / 458.6 MB, free: 5.16 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002711/0.4254, allocations: 0.7199 MB / 459.3 MB, free: 4.414 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.536e-05/0.4255, allocations: 20.53 kB / 459.3 MB, free: 4.395 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.114e-05/0.4256, allocations: 42.23 kB / 459.4 MB, free: 4.375 MB / 330.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4256, allocations: 0 / 459.4 MB, free: 4.375 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01325/0.4388, allocations: 2.856 MB / 462.2 MB, free: 1.527 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001552/0.439, allocations: 184.2 kB / 462.4 MB, free: 1.309 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.483/1.922, allocations: 0 / 462.4 MB, free: 1.309 MB / 330.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor_fmu --startTime=0 --stopTime=6.2832 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat does not exist to compare? outputFormat=mat