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 1.993/1.993, allocations: 194.9 MB / 211.1 MB, free: 8.547 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003669/0.0003669, allocations: 8 kB / 264.1 MB, free: 3.461 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2978/0.2982, allocations: 44.51 MB / 308.6 MB, free: 12.75 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.003911/0.3022, allocations: 2.263 MB / 310.8 MB, free: 10.48 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002645/0.3049, allocations: 1.17 MB / 312 MB, free: 9.301 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000178/0.3051, allocations: 8 kB / 312 MB, free: 9.293 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002573/0.3054, allocations: 55.61 kB / 312.1 MB, free: 9.238 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007752/0.3061, allocations: 215.3 kB / 312.3 MB, free: 9.027 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003222/0.3065, allocations: 83.83 kB / 312.4 MB, free: 8.945 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000511/0.307, allocations: 284 kB / 312.6 MB, free: 8.664 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001877/0.3072, allocations: 69.33 kB / 312.7 MB, free: 8.602 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003103/0.3075, allocations: 155.5 kB / 312.9 MB, free: 8.449 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004157/0.308, allocations: 195.3 kB / 313 MB, free: 8.258 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.317e-05/0.308, allocations: 24 kB / 313.1 MB, free: 8.234 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004369/0.3085, allocations: 147.9 kB / 313.2 MB, free: 8.09 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.337e-05/0.3086, allocations: 63.78 kB / 313.3 MB, free: 8.027 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001106/0.3087, allocations: 81.52 kB / 313.4 MB, free: 7.941 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006226/0.3094, allocations: 367.9 kB / 313.7 MB, free: 7.582 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.716e-06/0.3094, allocations: 0 / 313.7 MB, free: 7.582 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3094, allocations: 4 kB / 313.7 MB, free: 7.578 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.3094, allocations: 0 / 313.7 MB, free: 7.578 MB / 250.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.002358/0.3118, allocations: 0.6508 MB / 314.4 MB, free: 6.879 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.3118, allocations: 12.03 kB / 314.4 MB, free: 6.867 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001101/0.312, allocations: 58.55 kB / 314.4 MB, free: 6.801 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001157/0.3121, allocations: 35.58 kB / 314.5 MB, free: 6.766 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005942/0.3127, allocations: 323.9 kB / 314.8 MB, free: 6.406 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.544e-05/0.3128, allocations: 50.27 kB / 314.8 MB, free: 6.352 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002461/0.3131, allocations: 39.97 kB / 314.9 MB, free: 6.312 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009995/0.3141, allocations: 324.4 kB / 315.2 MB, free: 5.977 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.3141, allocations: 0 / 315.2 MB, free: 5.977 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.333e-05/0.3142, allocations: 16 kB / 315.2 MB, free: 5.961 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.953e-05/0.3142, allocations: 11.89 kB / 315.2 MB, free: 5.949 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00118/0.3154, allocations: 310 kB / 315.5 MB, free: 5.648 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002807/0.3182, allocations: 1.171 MB / 316.7 MB, free: 4.398 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001037/0.3193, allocations: 304.5 kB / 317 MB, free: 4.086 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.915e-05/0.3194, allocations: 8 kB / 317 MB, free: 4.078 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.648e-05/0.3194, allocations: 42.48 kB / 317 MB, free: 4.027 MB / 250.7 MB Notification: Performance of pre-optimization done (n=31): time 2.986e-06/0.3194, allocations: 0 / 317 MB, free: 4.027 MB / 250.7 MB Notification: Performance of matching and sorting (n=42): time 0.01738/0.3368, allocations: 2.525 MB / 319.6 MB, free: 1.426 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.905e-05/0.3369, allocations: 85.05 kB / 319.7 MB, free: 1.324 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005516/0.3375, allocations: 296.8 kB / 319.9 MB, free: 1.023 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 7.551e-05/0.3376, allocations: 33.7 kB / 320 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001536/0.3377, allocations: 160.5 kB / 320.1 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001837/0.3379, allocations: 149.8 kB / 320.3 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.472e-05/0.338, allocations: 8 kB / 320.3 MB, free: 0.668 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.3382, allocations: 342.8 kB / 320.6 MB, free: 332 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000719/0.3389, allocations: 172.8 kB / 320.8 MB, free: 160 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008064/0.3398, allocations: 238.7 kB / 321 MB, free: 15.89 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007766/0.3406, allocations: 185.8 kB / 321.2 MB, free: 15.71 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.3406, allocations: 0 / 321.2 MB, free: 15.71 MB / 266.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001878/0.3425, allocations: 0.4969 MB / 321.7 MB, free: 15.21 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.776e-05/0.3425, allocations: 8 kB / 321.7 MB, free: 15.2 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/0.3426, allocations: 0 / 321.7 MB, free: 15.2 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.33e-05/0.3426, allocations: 4 kB / 321.7 MB, free: 15.2 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001165/0.3438, allocations: 127.8 kB / 321.8 MB, free: 15.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.701e-05/0.3438, allocations: 7.953 kB / 321.8 MB, free: 15.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000747/0.3446, allocations: 39.97 kB / 321.9 MB, free: 15.03 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.743e-05/0.3446, allocations: 11.98 kB / 321.9 MB, free: 15.02 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (52): * Single equations (assignments): 52 * 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.0002889/0.3449, allocations: 153.8 kB / 322 MB, free: 14.86 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001477/0.3451, allocations: 31.62 kB / 322.1 MB, free: 14.82 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003398/0.3485, allocations: 0.6876 MB / 322.8 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.371e-05/0.3486, allocations: 4 kB / 322.8 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/0.3486, allocations: 4 kB / 322.8 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.412e-05/0.3486, allocations: 3.984 kB / 322.8 MB, free: 14.11 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005752/0.3544, allocations: 1.326 MB / 324.1 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.436e-05/0.3544, allocations: 0 / 324.1 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009246/0.3554, allocations: 83.89 kB / 324.2 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003133/0.3585, allocations: 284.5 kB / 324.5 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001123/0.3587, allocations: 19.94 kB / 324.5 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006914/0.3656, allocations: 2.327 MB / 326.8 MB, free: 9.883 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.3657, allocations: 4.031 kB / 326.8 MB, free: 9.879 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00419/0.3699, allocations: 1.045 MB / 327.9 MB, free: 8.816 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003614/0.3703, allocations: 152.7 kB / 328 MB, free: 8.648 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.501e-05/0.3704, allocations: 12 kB / 328 MB, free: 8.637 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007547/0.3712, allocations: 35.97 kB / 328.1 MB, free: 8.602 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001901/0.3714, allocations: 40.41 kB / 328.1 MB, free: 8.562 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-05/0.3715, allocations: 12 kB / 328.1 MB, free: 8.551 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003477/0.3718, allocations: 212.5 kB / 328.3 MB, free: 8.344 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.3718, allocations: 0 / 328.3 MB, free: 8.344 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007653/0.3726, allocations: 112 kB / 328.4 MB, free: 8.234 MB / 266.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.004725/0.3773, allocations: 1.625 MB / 330 MB, free: 6.574 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001734/0.3791, allocations: 449.9 kB / 330.5 MB, free: 6.133 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.3792, allocations: 4 kB / 330.5 MB, free: 6.129 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00121/0.3804, allocations: 389.4 kB / 330.9 MB, free: 5.734 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005595/0.381, allocations: 36.39 kB / 330.9 MB, free: 5.699 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007161/0.3881, allocations: 2.616 MB / 333.5 MB, free: 3.023 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004927/0.3887, allocations: 0.8049 MB / 334.3 MB, free: 2.191 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003984/0.3891, allocations: 38.95 kB / 334.4 MB, free: 2.152 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000355/0.3895, allocations: 119.4 kB / 334.5 MB, free: 2.035 MB / 266.7 MB Notification: Performance of SimCode: time 1.312e-06/0.3895, allocations: 0 / 334.5 MB, free: 2.035 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03943/0.4289, allocations: 8.795 MB / 343.3 MB, free: 9.27 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003772/0.4294, allocations: 240.3 kB / 343.5 MB, free: 9.02 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.719/3.148, allocations: 0 / 343.5 MB, free: 9.02 MB / 282.7 MB