Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.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.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1",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.001208/0.001208, allocations: 172.5 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.367/1.367, allocations: 205.2 MB / 219.8 MB, free: 14.26 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.0008719/0.0008719, allocations: 82.72 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.601e-05/2.611e-05, allocations: 0 / 322.6 MB, free: 17.24 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08411/0.08416, allocations: 47.57 MB / 370.1 MB, free: 1.613 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2936/0.3778, allocations: 83.85 MB / 454 MB, free: 9.527 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001992/0.378, allocations: 77.52 kB / 454 MB, free: 9.488 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07374/0.4518, allocations: 39.24 MB / 493.3 MB, free: 3.359 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4518, allocations: 0 / 493.3 MB, free: 3.359 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.000123/0.452, allocations: 36.12 kB / 493.3 MB, free: 3.324 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.002144/0.4541, allocations: 1.932 MB / 495.3 MB, free: 1.34 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.4542, allocations: 12.03 kB / 495.3 MB, free: 1.328 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.354e-05/0.4543, allocations: 70.47 kB / 495.3 MB, free: 1.25 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003166/0.4546, allocations: 288.9 kB / 495.6 MB, free: 0.9648 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002963/0.4575, allocations: 1.884 MB / 497.5 MB, free: 15.02 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.677e-05/0.4576, allocations: 62.48 kB / 497.6 MB, free: 14.96 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001523/0.4578, allocations: 43.98 kB / 497.6 MB, free: 14.91 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005908/0.4584, allocations: 371.8 kB / 498 MB, free: 14.53 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.4584, allocations: 0 / 498 MB, free: 14.53 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.651e-05/0.4585, allocations: 23.88 kB / 498 MB, free: 14.51 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/0.4585, allocations: 8 kB / 498 MB, free: 14.5 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004839/0.459, allocations: 299 kB / 498.3 MB, free: 14.21 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00397/0.4629, allocations: 3.097 MB / 0.4896 GB, free: 11.01 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004777/0.4634, allocations: 305.2 kB / 0.4899 GB, free: 10.7 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002274/0.4637, allocations: 158.5 kB / 0.4901 GB, free: 10.54 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.418e-05/0.4637, allocations: 8.578 kB / 0.4901 GB, free: 10.53 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.4638, allocations: 34.56 kB / 0.4901 GB, free: 10.48 MB / 378.7 MB Notification: Performance of pre-optimization done (n=37): time 1.482e-06/0.4638, allocations: 8 kB / 0.4901 GB, free: 10.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=48): time 0.00374/0.4675, allocations: 2.218 MB / 0.4923 GB, free: 8.184 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.015e-05/0.4676, allocations: 85.48 kB / 0.4924 GB, free: 8.082 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008034/0.4756, allocations: 4.851 MB / 0.4971 GB, free: 3.227 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.533e-05/0.4757, allocations: 29.7 kB / 0.4971 GB, free: 3.191 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001009/0.4767, allocations: 1.191 MB / 0.4983 GB, free: 1.992 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001193/0.4768, allocations: 165.6 kB / 0.4985 GB, free: 1.828 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.17e-05/0.4768, allocations: 8 kB / 0.4985 GB, free: 1.82 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.477, allocations: 333.9 kB / 0.4988 GB, free: 1.488 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002279/0.4772, allocations: 133.1 kB / 0.4989 GB, free: 1.355 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002617/0.4775, allocations: 204.9 kB / 0.4991 GB, free: 1.133 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002713/0.4777, allocations: 153.6 kB / 0.4993 GB, free: 0.9805 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.4777, allocations: 7.922 kB / 0.4993 GB, free: 0.9727 MB / 378.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.002094/0.4798, allocations: 1.001 MB / 0.5002 GB, free: 15.96 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.4799, allocations: 4 kB / 0.5002 GB, free: 15.95 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.4799, allocations: 4 kB / 0.5002 GB, free: 15.95 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000473/0.4804, allocations: 156.8 kB / 0.5004 GB, free: 15.79 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00038/0.4808, allocations: 103.8 kB / 0.5005 GB, free: 15.69 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007022/0.4815, allocations: 0.7365 MB / 0.5012 GB, free: 14.93 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004237/0.4819, allocations: 31.97 kB / 0.5012 GB, free: 14.9 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.258e-05/0.4819, allocations: 19.98 kB / 0.5013 GB, free: 14.88 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (47): * Single equations (assignments): 46 * 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 14} Notification: Performance of prepare postOptimizeDAE: time 0.0001065/0.4821, allocations: 136.8 kB / 0.5014 GB, free: 14.74 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003565/0.4824, allocations: 280.5 kB / 0.5017 GB, free: 14.46 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001151/0.4836, allocations: 0.7472 MB / 0.5024 GB, free: 13.7 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/0.4836, allocations: 8 kB / 0.5024 GB, free: 13.7 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.4836, allocations: 0 / 0.5024 GB, free: 13.7 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.4836, allocations: 3.984 kB / 0.5024 GB, free: 13.69 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001678/0.4853, allocations: 1.703 MB / 0.5041 GB, free: 11.94 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.4853, allocations: 0 / 0.5041 GB, free: 11.94 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004332/0.4858, allocations: 95.88 kB / 0.5042 GB, free: 11.84 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002302/0.486, allocations: 92.8 kB / 0.5042 GB, free: 11.75 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.09e-05/0.486, allocations: 12 kB / 0.5043 GB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005316/0.4866, allocations: 0.642 MB / 0.5049 GB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.4866, allocations: 64 / 0.5049 GB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001351/0.488, allocations: 1.055 MB / 0.5059 GB, free: 9.984 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001013/0.489, allocations: 0.6732 MB / 0.5066 GB, free: 9.289 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001949/0.4892, allocations: 16 kB / 0.5066 GB, free: 9.273 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004715/0.4897, allocations: 35.94 kB / 0.5066 GB, free: 9.238 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.743e-05/0.4897, allocations: 28.39 kB / 0.5066 GB, free: 9.211 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-05/0.4898, allocations: 16.12 kB / 0.5067 GB, free: 9.195 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.004281/0.4941, allocations: 3.804 MB / 0.5104 GB, free: 5.398 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.4941, allocations: 0 / 0.5104 GB, free: 5.398 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007859/0.4949, allocations: 331.9 kB / 0.5107 GB, free: 5.074 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (core.MagRel,winding1.i,winding2.i,core.Hstat,core.B) * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 40 * 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 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.002299/0.4972, allocations: 1.959 MB / 0.5126 GB, free: 3.086 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006823/0.4979, allocations: 361 kB / 0.513 GB, free: 2.734 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.4979, allocations: 0 / 0.513 GB, free: 2.734 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003162/0.4982, allocations: 194.5 kB / 0.5131 GB, free: 2.543 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008635/0.4991, allocations: 187.8 kB / 0.5133 GB, free: 2.355 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008105/0.5072, allocations: 5.44 MB / 0.5186 GB, free: 12.85 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001539/0.5088, allocations: 1.868 MB / 0.5205 GB, free: 10.95 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006713/0.5095, allocations: 375.6 kB / 0.5208 GB, free: 10.58 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001201/0.5107, allocations: 1.023 MB / 0.5218 GB, free: 9.555 MB / 410.7 MB Notification: Performance of SimCode: time 8.51e-07/0.5107, allocations: 0 / 0.5218 GB, free: 9.555 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2464/0.7571, allocations: 45.15 MB / 0.5659 GB, free: 113.8 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001713/0.7573, allocations: 264 kB / 0.5662 GB, free: 113.4 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.816/3.574, allocations: 0 / 0.5662 GB, free: 113.4 MB / 410.7 MB (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1_fmu --startTime=0 --stopTime=0.02 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1.fmu > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat does not exist to compare? outputFormat=mat