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.InductorWithHysteresis.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.InductorWithHysteresis,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.024/2.024, allocations: 194.9 MB / 211.1 MB, free: 8.555 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004968/0.000497, allocations: 8 kB / 264.1 MB, free: 3.461 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2993/0.2998, allocations: 44.5 MB / 308.6 MB, free: 12.77 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1698/0.4697, allocations: 81.98 MB / 390.5 MB, free: 10.66 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003328/0.4701, allocations: 87.95 kB / 390.6 MB, free: 10.58 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04932/0.5194, allocations: 9.253 MB / 399.9 MB, free: 1.277 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.494e-06/0.5195, allocations: 0 / 399.9 MB, free: 1.277 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.311e-05/0.5195, allocations: 4 kB / 399.9 MB, free: 1.273 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.002118/0.5216, allocations: 0.6511 MB / 400.5 MB, free: 0.5742 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.54e-05/0.5217, allocations: 8.031 kB / 400.5 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001301/0.5218, allocations: 58.55 kB / 400.6 MB, free: 0.5 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001166/0.522, allocations: 39.58 kB / 400.6 MB, free: 472 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006418/0.5226, allocations: 323.8 kB / 401 MB, free: 104 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.615e-05/0.5227, allocations: 58.2 kB / 401 MB, free: 40 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002457/0.523, allocations: 39.98 kB / 401.1 MB, free: 0 / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001063/0.5241, allocations: 316.5 kB / 401.4 MB, free: 15.67 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/0.5241, allocations: 0 / 401.4 MB, free: 15.67 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.925e-05/0.5242, allocations: 12 kB / 401.4 MB, free: 15.66 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.299e-05/0.5242, allocations: 11.95 kB / 401.4 MB, free: 15.65 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001157/0.5254, allocations: 313.9 kB / 401.7 MB, free: 15.34 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002893/0.5283, allocations: 1.165 MB / 402.9 MB, free: 14.1 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001063/0.5294, allocations: 301 kB / 403.2 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.365e-05/0.5295, allocations: 11.97 kB / 403.2 MB, free: 13.78 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.529e-05/0.5295, allocations: 38.56 kB / 403.2 MB, free: 13.73 MB / 346.7 MB Notification: Performance of pre-optimization done (n=31): time 1.108e-05/0.5296, allocations: 4 kB / 403.2 MB, free: 13.73 MB / 346.7 MB Notification: Performance of matching and sorting (n=42): time 0.02161/0.5512, allocations: 2.83 MB / 406 MB, free: 10.82 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.174e-05/0.5513, allocations: 81.11 kB / 406.1 MB, free: 10.72 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006154/0.5519, allocations: 268.2 kB / 406.4 MB, free: 10.46 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000115/0.5521, allocations: 29.7 kB / 406.4 MB, free: 10.42 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001514/0.5522, allocations: 168.5 kB / 406.6 MB, free: 10.25 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001911/0.5524, allocations: 141.9 kB / 406.7 MB, free: 10.11 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.381e-05/0.5525, allocations: 12 kB / 406.7 MB, free: 10.1 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.5527, allocations: 338.8 kB / 407.1 MB, free: 9.762 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007584/0.5534, allocations: 172.7 kB / 407.2 MB, free: 9.594 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007845/0.5542, allocations: 229.8 kB / 407.4 MB, free: 9.348 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007808/0.555, allocations: 189.8 kB / 407.6 MB, free: 9.164 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.359e-06/0.5551, allocations: 0 / 407.6 MB, free: 9.164 MB / 346.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001887/0.557, allocations: 0.4929 MB / 408.1 MB, free: 8.664 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.996e-05/0.557, allocations: 6.5 kB / 408.1 MB, free: 8.66 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/0.5571, allocations: 4 kB / 408.1 MB, free: 8.656 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.406e-05/0.5571, allocations: 4 kB / 408.1 MB, free: 8.652 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001156/0.5583, allocations: 131.8 kB / 408.3 MB, free: 8.523 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.59e-05/0.5583, allocations: 4 kB / 408.3 MB, free: 8.52 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000764/0.5591, allocations: 35.98 kB / 408.3 MB, free: 8.484 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.564e-05/0.5592, allocations: 11.98 kB / 408.3 MB, free: 8.473 MB / 346.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.0003474/0.5595, allocations: 153.8 kB / 408.5 MB, free: 8.312 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001583/0.5597, allocations: 35.58 kB / 408.5 MB, free: 8.277 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004691/0.5644, allocations: 0.7266 MB / 409.2 MB, free: 7.543 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.689e-05/0.5645, allocations: 8 kB / 409.2 MB, free: 7.535 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/0.5645, allocations: 4 kB / 409.2 MB, free: 7.531 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.171e-05/0.5645, allocations: 7.922 kB / 409.3 MB, free: 7.523 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005778/0.5703, allocations: 1.318 MB / 410.6 MB, free: 6.145 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.475e-05/0.5704, allocations: 0 / 410.6 MB, free: 6.145 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001248/0.5716, allocations: 95.88 kB / 410.7 MB, free: 6.051 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004076/0.5757, allocations: 292.5 kB / 410.9 MB, free: 5.762 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001344/0.5759, allocations: 12 kB / 411 MB, free: 5.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009569/0.5855, allocations: 2.315 MB / 413.3 MB, free: 3.301 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.798e-06/0.5856, allocations: 0 / 413.3 MB, free: 3.301 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02899/0.6146, allocations: 1.059 MB / 414.3 MB, free: 2.219 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004739/0.6151, allocations: 140.7 kB / 414.5 MB, free: 2.062 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001308/0.6153, allocations: 19.95 kB / 414.5 MB, free: 2.043 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001058/0.6163, allocations: 35.97 kB / 414.5 MB, free: 2.008 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002256/0.6166, allocations: 36.33 kB / 414.6 MB, free: 1.973 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-05/0.6167, allocations: 15.98 kB / 414.6 MB, free: 1.957 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005076/0.6172, allocations: 212.5 kB / 414.8 MB, free: 1.75 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.6172, allocations: 0 / 414.8 MB, free: 1.75 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001288/0.6185, allocations: 123.9 kB / 414.9 MB, free: 1.629 MB / 346.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.2833/0.9018, allocations: 1.715 MB / 416.6 MB, free: 95.57 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00205/0.9039, allocations: 440.6 kB / 417 MB, free: 95.57 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/0.904, allocations: 4.344 kB / 417.1 MB, free: 95.57 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001273/0.9053, allocations: 386.4 kB / 417.4 MB, free: 95.46 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005422/0.9058, allocations: 38.36 kB / 417.5 MB, free: 95.46 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00695/0.9128, allocations: 3.381 MB / 420.8 MB, free: 93.95 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002744/0.9131, allocations: 0.7949 MB / 421.6 MB, free: 93.25 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000384/0.9135, allocations: 43.7 kB / 421.7 MB, free: 93.24 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003273/0.9139, allocations: 121 kB / 421.8 MB, free: 93.24 MB / 346.7 MB Notification: Performance of SimCode: time 1.422e-06/0.9139, allocations: 3.969 kB / 421.8 MB, free: 93.24 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03835/0.9522, allocations: 8.956 MB / 430.8 MB, free: 91.05 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002581/0.9526, allocations: 228.3 kB / 431 MB, free: 90.82 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.971/3.924, allocations: 0 / 431 MB, free: 90.82 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis_res.mat does not exist to compare? outputFormat=mat