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.001097/0.001097, allocations: 198.5 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.254/1.254, allocations: 227.2 MB / 245 MB, free: 7.496 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008821/0.0008822, allocations: 112.1 kB / 297.3 MB, free: 6.184 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002586/0.0002585, allocations: 8 kB / 358 MB, free: 9.426 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2201/0.2204, allocations: 51.49 MB / 409.5 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1057/0.3261, allocations: 89.8 MB / 499.3 MB, free: 0.7773 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002305/0.3264, allocations: 83.94 kB / 499.4 MB, free: 0.6953 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02867/0.3551, allocations: 9.635 MB / 0.4971 GB, free: 7.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3551, allocations: 0 / 0.4971 GB, free: 7.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.773e-05/0.3552, allocations: 8 kB / 0.4971 GB, free: 7.012 MB / 378.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.001346/0.3565, allocations: 0.6589 MB / 0.4978 GB, free: 6.305 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.3566, allocations: 8.031 kB / 0.4978 GB, free: 6.297 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.272e-05/0.3567, allocations: 62.53 kB / 0.4978 GB, free: 6.227 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001796/0.3568, allocations: 47.61 kB / 0.4979 GB, free: 6.18 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005107/0.3574, allocations: 328 kB / 0.4982 GB, free: 5.812 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.831e-05/0.3574, allocations: 50.27 kB / 0.4982 GB, free: 5.758 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001438/0.3576, allocations: 39.83 kB / 0.4983 GB, free: 5.719 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006019/0.3582, allocations: 324.5 kB / 0.4986 GB, free: 5.387 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.3582, allocations: 4 kB / 0.4986 GB, free: 5.383 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.115e-05/0.3583, allocations: 8 kB / 0.4986 GB, free: 5.375 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.3583, allocations: 8 kB / 0.4986 GB, free: 5.367 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006455/0.3589, allocations: 310 kB / 0.4989 GB, free: 5.066 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001748/0.3607, allocations: 1.16 MB / 0.5 GB, free: 3.828 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00059/0.3613, allocations: 314.2 kB / 0.5003 GB, free: 3.508 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.313e-05/0.3613, allocations: 8 kB / 0.5003 GB, free: 3.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.3614, allocations: 30.56 kB / 0.5004 GB, free: 3.461 MB / 378.7 MB Notification: Performance of pre-optimization done (n=31): time 1.683e-06/0.3614, allocations: 3.938 kB / 0.5004 GB, free: 3.457 MB / 378.7 MB Notification: Performance of matching and sorting (n=42): time 0.01182/0.3732, allocations: 2.831 MB / 0.5031 GB, free: 0.5508 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/0.3733, allocations: 81.11 kB / 0.5032 GB, free: 464 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003046/0.3736, allocations: 264.2 kB / 0.5035 GB, free: 196 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.702e-05/0.3736, allocations: 33.7 kB / 0.5035 GB, free: 156 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1952/0.5688, allocations: 159.2 kB / 0.5036 GB, free: 94.91 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002387/0.5691, allocations: 144.6 kB / 0.5038 GB, free: 94.88 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.254e-05/0.5691, allocations: 8.219 kB / 0.5038 GB, free: 94.88 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.5692, allocations: 339.5 kB / 0.5041 GB, free: 94.56 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005058/0.5697, allocations: 173.2 kB / 0.5043 GB, free: 94.56 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004914/0.5702, allocations: 227.7 kB / 0.5045 GB, free: 94.5 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000459/0.5707, allocations: 194.8 kB / 0.5047 GB, free: 94.5 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.5707, allocations: 0.5625 kB / 0.5047 GB, free: 94.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001131/0.5719, allocations: 499.2 kB / 0.5052 GB, free: 94.45 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.5719, allocations: 7.188 kB / 0.5052 GB, free: 94.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.507e-06/0.5719, allocations: 1.281 kB / 0.5052 GB, free: 94.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.366e-05/0.5719, allocations: 5.406 kB / 0.5052 GB, free: 94.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006871/0.5726, allocations: 126 kB / 0.5053 GB, free: 94.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/0.5727, allocations: 3.688 kB / 0.5053 GB, free: 94.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004331/0.5731, allocations: 40.86 kB / 0.5053 GB, free: 94.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.197e-05/0.5731, allocations: 17.38 kB / 0.5053 GB, free: 94.45 MB / 378.7 MB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 51 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000169/0.5733, allocations: 156.1 kB / 0.5055 GB, free: 94.33 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.347e-05/0.5734, allocations: 30.41 kB / 0.5055 GB, free: 94.32 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002351/0.5758, allocations: 0.7283 MB / 0.5062 GB, free: 94.26 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/0.5758, allocations: 5.5 kB / 0.5062 GB, free: 94.26 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.5758, allocations: 2.766 kB / 0.5062 GB, free: 94.26 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.585e-06/0.5758, allocations: 5.719 kB / 0.5062 GB, free: 94.26 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00323/0.5791, allocations: 1.312 MB / 0.5075 GB, free: 93.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.5791, allocations: 4.812 kB / 0.5075 GB, free: 93.94 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004524/0.5795, allocations: 94.58 kB / 0.5076 GB, free: 93.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001843/0.5814, allocations: 284.4 kB / 0.5079 GB, free: 93.93 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.827e-05/0.5814, allocations: 12.88 kB / 0.5079 GB, free: 93.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003746/0.5852, allocations: 2.324 MB / 0.5102 GB, free: 92.41 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.5852, allocations: 5.688 kB / 0.5102 GB, free: 92.41 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002254/0.5875, allocations: 1.053 MB / 0.5112 GB, free: 91.89 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001294/0.5876, allocations: 145.1 kB / 0.5113 GB, free: 91.77 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.898e-05/0.5877, allocations: 8 kB / 0.5114 GB, free: 91.76 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004305/0.5881, allocations: 43.88 kB / 0.5114 GB, free: 91.75 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.5882, allocations: 43.56 kB / 0.5114 GB, free: 91.74 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.617e-05/0.5883, allocations: 11.88 kB / 0.5114 GB, free: 91.73 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001642/0.5884, allocations: 209.1 kB / 0.5116 GB, free: 91.61 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5884, allocations: 0 / 0.5116 GB, free: 91.61 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005269/0.589, allocations: 129.3 kB / 0.5118 GB, free: 91.6 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 () * Number of clocked 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.002295/0.5913, allocations: 1.725 MB / 0.5135 GB, free: 90.47 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007765/0.592, allocations: 447.8 kB / 0.5139 GB, free: 90.33 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.5921, allocations: 0 / 0.5139 GB, free: 90.33 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005684/0.5926, allocations: 392.1 kB / 0.5143 GB, free: 90.12 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000345/0.593, allocations: 38.48 kB / 0.5143 GB, free: 90.11 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003467/0.5965, allocations: 3.373 MB / 0.5176 GB, free: 87.96 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001856/0.5967, allocations: 0.7997 MB / 0.5184 GB, free: 87.26 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001947/0.5969, allocations: 41.94 kB / 0.5184 GB, free: 87.25 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001877/0.5971, allocations: 122.7 kB / 0.5185 GB, free: 87.17 MB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5971, allocations: 0 / 0.5185 GB, free: 87.17 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01982/0.6169, allocations: 8.959 MB / 0.5273 GB, free: 82.35 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001406/0.6171, allocations: 231.7 kB / 0.5275 GB, free: 82.11 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.039/2.656, allocations: 3.5 kB / 0.5275 GB, free: 82.11 MB / 378.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