Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.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.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001249/0.001249, allocations: 202.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.48/1.48, allocations: 225.6 MB / 234.8 MB, free: 3.301 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001037/0.001037, allocations: 93.33 kB / 286.7 MB, free: 5.281 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.269e-05/2.271e-05, allocations: 4 kB / 343.8 MB, free: 8.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1167, allocations: 51.48 MB / 395.3 MB, free: 4.672 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3402/0.457, allocations: 89.06 MB / 484.3 MB, free: 3.879 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002164/0.4572, allocations: 83.95 kB / 484.4 MB, free: 3.836 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02773/0.485, allocations: 9.482 MB / 493.9 MB, free: 12.13 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.634e-06/0.4851, allocations: 0 / 493.9 MB, free: 12.13 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.192e-05/0.4851, allocations: 8 kB / 493.9 MB, free: 12.12 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001331/0.4865, allocations: 0.5926 MB / 494.5 MB, free: 11.51 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.4865, allocations: 8.031 kB / 494.5 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002761/0.4868, allocations: 51.53 kB / 494.6 MB, free: 11.45 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005217/0.4873, allocations: 314.4 kB / 494.9 MB, free: 11.14 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.534e-05/0.4874, allocations: 45.19 kB / 494.9 MB, free: 11.1 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001497/0.4876, allocations: 27.92 kB / 494.9 MB, free: 11.07 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004598/0.488, allocations: 240.2 kB / 495.2 MB, free: 10.92 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004588/0.4885, allocations: 267.2 kB / 495.4 MB, free: 10.71 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.4885, allocations: 4 kB / 495.4 MB, free: 10.7 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.943e-05/0.4886, allocations: 0 / 495.4 MB, free: 10.7 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.435e-06/0.4886, allocations: 4 kB / 495.4 MB, free: 10.7 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001725/0.4903, allocations: 1.124 MB / 496.6 MB, free: 9.719 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000378/0.4907, allocations: 242.7 kB / 496.8 MB, free: 9.547 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001841/0.4909, allocations: 139.5 kB / 496.9 MB, free: 9.457 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.565e-05/0.491, allocations: 9.641 kB / 496.9 MB, free: 9.449 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.491, allocations: 38.5 kB / 497 MB, free: 9.406 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 1.613e-06/0.491, allocations: 0 / 497 MB, free: 9.406 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.007048/0.498, allocations: 1.906 MB / 498.9 MB, free: 7.758 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.875e-05/0.4981, allocations: 93 kB / 499 MB, free: 7.648 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003237/0.4984, allocations: 243.6 kB / 499.2 MB, free: 7.457 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.842e-05/0.4985, allocations: 25.7 kB / 499.2 MB, free: 7.426 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.4986, allocations: 161.8 kB / 499.4 MB, free: 7.293 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001074/0.4987, allocations: 145.4 kB / 499.5 MB, free: 7.168 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.492e-05/0.4987, allocations: 0 / 499.5 MB, free: 7.168 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.4989, allocations: 340.4 kB / 499.9 MB, free: 6.84 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002173/0.4991, allocations: 132.3 kB / 0.4883 GB, free: 6.766 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002395/0.4993, allocations: 185.4 kB / 0.4885 GB, free: 6.629 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002489/0.4996, allocations: 155.9 kB / 0.4886 GB, free: 6.535 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.4996, allocations: 0 / 0.4886 GB, free: 6.535 MB / 362.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.005914/0.5055, allocations: 1.431 MB / 0.49 GB, free: 5.289 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.5056, allocations: 8 kB / 0.49 GB, free: 5.281 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.944e-06/0.5056, allocations: 3.984 kB / 0.49 GB, free: 5.277 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005602/0.5112, allocations: 1.036 MB / 0.491 GB, free: 4.352 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002934/0.5115, allocations: 59.91 kB / 0.4911 GB, free: 4.293 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009552/0.5211, allocations: 4.258 MB / 0.4953 GB, free: 0.9805 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005007/0.5216, allocations: 35.72 kB / 0.4953 GB, free: 0.9492 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.366e-05/0.5217, allocations: 15.81 kB / 0.4953 GB, free: 0.9375 MB / 362.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: core.Hstat:VARIABLE(unit = "A/m" ) "Static (ferromagnetic) portion of the magnetic field strength" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * 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 20} Notification: Performance of prepare postOptimizeDAE: time 0.0002003/0.5219, allocations: 113.9 kB / 0.4954 GB, free: 0.8203 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002302/0.5242, allocations: 0.6598 MB / 0.4961 GB, free: 292 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/0.5243, allocations: 31.62 kB / 0.4961 GB, free: 260 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00147/0.5258, allocations: 0.5656 MB / 0.4966 GB, free: 15.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/0.5258, allocations: 7.938 kB / 0.4966 GB, free: 15.84 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.5259, allocations: 0 / 0.4966 GB, free: 15.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.5259, allocations: 0 / 0.4966 GB, free: 15.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002898/0.5288, allocations: 1.14 MB / 0.4978 GB, free: 14.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/0.5288, allocations: 0 / 0.4978 GB, free: 14.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004687/0.5293, allocations: 95.75 kB / 0.4978 GB, free: 14.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001413/0.5307, allocations: 251.7 kB / 0.4981 GB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.494e-05/0.5308, allocations: 11.42 kB / 0.4981 GB, free: 14.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003472/0.5343, allocations: 2.089 MB / 0.5001 GB, free: 12.75 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.5343, allocations: 0 / 0.5001 GB, free: 12.75 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001772/0.5361, allocations: 0.8982 MB / 0.501 GB, free: 11.9 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002164/0.5363, allocations: 148.7 kB / 0.5012 GB, free: 11.74 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.081e-05/0.5364, allocations: 8 kB / 0.5012 GB, free: 11.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004545/0.5368, allocations: 23.97 kB / 0.5012 GB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.5369, allocations: 40.33 kB / 0.5012 GB, free: 11.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.387e-05/0.537, allocations: 16 kB / 0.5012 GB, free: 11.65 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000202/0.5372, allocations: 196.5 kB / 0.5014 GB, free: 11.46 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.795e-06/0.5372, allocations: 4 kB / 0.5014 GB, free: 11.45 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007046/0.5379, allocations: 131.5 kB / 0.5016 GB, free: 11.33 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (winding.i,core.Hstat,core.B,core.MagRel) * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 39 * 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 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.002212/0.5401, allocations: 1.544 MB / 0.5031 GB, free: 9.754 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009205/0.5411, allocations: 0.5134 MB / 0.5036 GB, free: 9.234 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.5411, allocations: 4.062 kB / 0.5036 GB, free: 9.23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004354/0.5415, allocations: 327.3 kB / 0.5039 GB, free: 8.898 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003316/0.5419, allocations: 27.11 kB / 0.5039 GB, free: 8.875 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00169/0.5436, allocations: 0.7803 MB / 0.5047 GB, free: 8.066 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004065/0.544, allocations: 0.8006 MB / 0.5055 GB, free: 7.238 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001814/0.5442, allocations: 35.27 kB / 0.5055 GB, free: 7.199 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001793/0.5444, allocations: 115.4 kB / 0.5056 GB, free: 7.086 MB / 378.7 MB Notification: Performance of SimCode: time 2.9e-07/0.5444, allocations: 3.938 kB / 0.5056 GB, free: 7.082 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03011/0.5745, allocations: 10.01 MB / 0.5154 GB, free: 13.15 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001929/0.5747, allocations: 170.5 kB / 0.5155 GB, free: 12.95 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.045/2.619, allocations: 4 kB / 0.5155 GB, free: 12.95 MB / 394.7 MB (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis_fmu --startTime=0 --stopTime=0.02 --timeout=50 --tolerance=0.0001 Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis.fmu > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis_res.mat does not exist to compare? outputFormat=mat