Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.177/2.177, allocations: 194.9 MB / 211.1 MB, free: 8.57 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003552/0.0003551, allocations: 8 kB / 264.1 MB, free: 3.473 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3001/0.3005, allocations: 44.49 MB / 308.6 MB, free: 12.8 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1423/0.4429, allocations: 79.01 MB / 387.6 MB, free: 13.68 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003289/0.4432, allocations: 83.95 kB / 387.7 MB, free: 13.59 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4105/0.8538, allocations: 38.56 MB / 426.2 MB, free: 93.2 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.036e-06/0.8539, allocations: 0 / 426.2 MB, free: 93.2 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002845/0.8542, allocations: 37.53 kB / 426.3 MB, free: 93.19 MB / 346.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.006382/0.8606, allocations: 2.64 MB / 428.9 MB, free: 91.59 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/0.8606, allocations: 10.31 kB / 428.9 MB, free: 91.59 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002023/0.8608, allocations: 74.83 kB / 429 MB, free: 91.55 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007132/0.8616, allocations: 286.7 kB / 429.3 MB, free: 91.4 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005218/0.8668, allocations: 1.878 MB / 431.1 MB, free: 90.61 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.545e-05/0.867, allocations: 60.83 kB / 431.2 MB, free: 90.56 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002664/0.8672, allocations: 50.28 kB / 431.2 MB, free: 90.55 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00105/0.8683, allocations: 399.8 kB / 431.6 MB, free: 90.36 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.133e-05/0.8683, allocations: 0 / 431.6 MB, free: 90.36 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.258e-05/0.8684, allocations: 12.72 kB / 431.6 MB, free: 90.35 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/0.8684, allocations: 6.562 kB / 431.7 MB, free: 90.35 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001105/0.8695, allocations: 335.2 kB / 432 MB, free: 90.24 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007134/0.8767, allocations: 3.089 MB / 435.1 MB, free: 88.14 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001035/0.8778, allocations: 321.2 kB / 435.4 MB, free: 87.85 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.137e-05/0.8779, allocations: 6.031 kB / 435.4 MB, free: 87.84 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.8779, allocations: 46.52 kB / 435.4 MB, free: 87.79 MB / 346.7 MB Notification: Performance of pre-optimization done (n=37): time 3.437e-06/0.8779, allocations: 0 / 435.4 MB, free: 87.79 MB / 346.7 MB Notification: Performance of matching and sorting (n=48): time 0.008468/0.8864, allocations: 2.555 MB / 438 MB, free: 85.32 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/0.8865, allocations: 85.5 kB / 438.1 MB, free: 85.22 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0149/0.9014, allocations: 4.866 MB / 442.9 MB, free: 80.59 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001224/0.9016, allocations: 41.73 kB / 443 MB, free: 80.54 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001832/0.9034, allocations: 1.148 MB / 444.1 MB, free: 79.39 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000204/0.9037, allocations: 170 kB / 444.3 MB, free: 79.22 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.811e-05/0.9037, allocations: 12 kB / 444.3 MB, free: 79.21 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.775e-05/0.9038, allocations: 326 kB / 444.6 MB, free: 78.89 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005765/0.9044, allocations: 141.1 kB / 444.8 MB, free: 78.75 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005495/0.905, allocations: 222.1 kB / 445 MB, free: 78.51 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006381/0.9056, allocations: 229.5 kB / 445.2 MB, free: 78.27 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.9056, allocations: 0 / 445.2 MB, free: 78.27 MB / 346.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002325/0.908, allocations: 0.7567 MB / 446 MB, free: 77.5 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.257e-05/0.9081, allocations: 59.44 kB / 446 MB, free: 77.43 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.9081, allocations: 4 kB / 446 MB, free: 77.42 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.001e-05/0.9081, allocations: 11.92 kB / 446 MB, free: 77.41 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009273/0.9091, allocations: 115.9 kB / 446.1 MB, free: 77.3 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.511e-05/0.9091, allocations: 4 kB / 446.2 MB, free: 77.29 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001237/0.9103, allocations: 31.89 kB / 446.2 MB, free: 77.26 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.339e-05/0.9104, allocations: 23.98 kB / 446.2 MB, free: 77.24 MB / 346.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 2 * 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.002006/0.9124, allocations: 0.9192 MB / 447.1 MB, free: 76.31 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000914/0.9134, allocations: 276.5 kB / 447.4 MB, free: 76.04 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002697/0.9161, allocations: 0.7784 MB / 448.2 MB, free: 75.23 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.678e-06/0.9161, allocations: 8 kB / 448.2 MB, free: 75.23 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.9161, allocations: 4 kB / 448.2 MB, free: 75.22 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.184e-05/0.9162, allocations: 7.922 kB / 448.2 MB, free: 75.21 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003469/0.9196, allocations: 1.693 MB / 449.9 MB, free: 73.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-05/0.9197, allocations: 4 kB / 449.9 MB, free: 73.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009316/0.9207, allocations: 99.83 kB / 450 MB, free: 73.38 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005087/0.9212, allocations: 94.97 kB / 450.1 MB, free: 73.29 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.389e-05/0.9213, allocations: 8 kB / 450.1 MB, free: 73.28 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008974/0.9222, allocations: 0.6383 MB / 450.7 MB, free: 72.61 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.9222, allocations: 0 / 450.7 MB, free: 72.61 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00304/0.9253, allocations: 1.104 MB / 451.8 MB, free: 71.48 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00207/0.9274, allocations: 0.668 MB / 452.5 MB, free: 70.8 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00053/0.9279, allocations: 23.94 kB / 452.5 MB, free: 70.77 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009747/0.9289, allocations: 31.98 kB / 452.6 MB, free: 70.74 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.9291, allocations: 28.39 kB / 452.6 MB, free: 70.71 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.259e-05/0.9291, allocations: 12 kB / 452.6 MB, free: 70.7 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.01028/0.9394, allocations: 3.828 MB / 456.4 MB, free: 66.88 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.182e-06/0.9395, allocations: 0 / 456.4 MB, free: 66.88 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003317/0.9428, allocations: 339.9 kB / 456.8 MB, free: 66.55 MB / 346.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 () * Number of clocked 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.007177/0.9501, allocations: 2.04 MB / 458.8 MB, free: 64.56 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001639/0.9518, allocations: 0.4889 MB / 459.3 MB, free: 64.04 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.421e-06/0.9518, allocations: 0 / 459.3 MB, free: 64.04 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006956/0.9525, allocations: 210.4 kB / 459.5 MB, free: 63.84 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001719/0.9542, allocations: 183.2 kB / 459.7 MB, free: 63.65 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01779/0.972, allocations: 11.72 MB / 471.4 MB, free: 50.67 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002157/0.9743, allocations: 1.849 MB / 473.2 MB, free: 48.78 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001296/0.9756, allocations: 383.5 kB / 473.6 MB, free: 48.4 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002273/0.9779, allocations: 1.019 MB / 474.6 MB, free: 47.38 MB / 346.7 MB Notification: Performance of SimCode: time 1.032e-06/0.9779, allocations: 0 / 474.6 MB, free: 47.38 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.116/1.094, allocations: 44.27 MB / 0.5067 GB, free: 3 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002759/1.094, allocations: 288.7 kB / 0.507 GB, free: 2.641 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.422/5.517, allocations: 4 kB / 0.507 GB, free: 2.637 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat does not exist to compare? outputFormat=mat