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.001/2.001, allocations: 194.9 MB / 211.1 MB, free: 8.566 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003524/0.0003526, allocations: 8 kB / 264.1 MB, free: 3.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2953/0.2957, allocations: 44.51 MB / 308.6 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.004888/0.3006, allocations: 2.727 MB / 311.3 MB, free: 10.03 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00341/0.3041, allocations: 1.342 MB / 312.6 MB, free: 8.676 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003087/0.3044, allocations: 7.938 kB / 312.6 MB, free: 8.668 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004526/0.309, allocations: 2.101 MB / 314.7 MB, free: 6.562 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007889/0.3098, allocations: 163.5 kB / 314.9 MB, free: 6.402 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006617/0.3105, allocations: 143.6 kB / 315 MB, free: 6.262 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002945/0.3134, allocations: 1.467 MB / 316.5 MB, free: 4.789 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003239/0.3138, allocations: 102.7 kB / 316.6 MB, free: 4.684 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006125/0.3144, allocations: 283.2 kB / 316.9 MB, free: 4.406 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005458/0.315, allocations: 299 kB / 317.2 MB, free: 4.113 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001177/0.3151, allocations: 24 kB / 317.2 MB, free: 4.09 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003101/0.3155, allocations: 55.91 kB / 317.3 MB, free: 4.035 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009192/0.3164, allocations: 0.8298 MB / 318.1 MB, free: 3.203 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004383/0.3168, allocations: 380.3 kB / 318.5 MB, free: 2.824 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003037/0.3199, allocations: 2.079 MB / 320.5 MB, free: 0.7422 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.3199, allocations: 0 / 320.5 MB, free: 0.7422 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.604e-06/0.3199, allocations: 3.938 kB / 320.5 MB, free: 0.7383 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.872e-05/0.32, allocations: 0 / 320.5 MB, free: 0.7383 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.006154/0.3262, allocations: 2.477 MB / 323 MB, free: 14.18 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/0.3262, allocations: 12.03 kB / 323 MB, free: 14.17 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001883/0.3264, allocations: 78.53 kB / 323.1 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006674/0.3271, allocations: 276.3 kB / 323.4 MB, free: 13.81 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004401/0.3315, allocations: 1.669 MB / 325.1 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001063/0.3317, allocations: 54.7 kB / 325.1 MB, free: 12.03 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002916/0.332, allocations: 51.89 kB / 325.2 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001146/0.3331, allocations: 395 kB / 325.5 MB, free: 11.58 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/0.3332, allocations: 0 / 325.5 MB, free: 11.58 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.592e-05/0.3333, allocations: 16 kB / 325.6 MB, free: 11.56 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.694e-05/0.3333, allocations: 12 kB / 325.6 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00122/0.3345, allocations: 331.7 kB / 325.9 MB, free: 11.22 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007119/0.3416, allocations: 2.906 MB / 328.8 MB, free: 8.219 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001117/0.3428, allocations: 328.8 kB / 329.1 MB, free: 7.879 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.372e-05/0.3429, allocations: 7.984 kB / 329.1 MB, free: 7.871 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.593e-05/0.3429, allocations: 38.56 kB / 329.2 MB, free: 7.824 MB / 266.7 MB Notification: Performance of pre-optimization done (n=37): time 4.419e-06/0.3429, allocations: 0 / 329.2 MB, free: 7.824 MB / 266.7 MB Notification: Performance of matching and sorting (n=48): time 0.008436/0.3514, allocations: 2.383 MB / 331.5 MB, free: 5.371 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.645e-05/0.3515, allocations: 89.56 kB / 331.6 MB, free: 5.266 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01135/0.3629, allocations: 5.426 MB / 337.1 MB, free: 15.84 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001039/0.363, allocations: 37.64 kB / 337.1 MB, free: 15.79 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001826/0.3648, allocations: 1.144 MB / 338.2 MB, free: 14.64 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002482/0.3651, allocations: 165.6 kB / 338.4 MB, free: 14.48 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.431e-05/0.3652, allocations: 12 kB / 338.4 MB, free: 14.47 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.3653, allocations: 322 kB / 338.7 MB, free: 14.15 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006164/0.366, allocations: 149 kB / 338.9 MB, free: 14 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006577/0.3666, allocations: 225.8 kB / 339.1 MB, free: 13.75 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000722/0.3674, allocations: 229.6 kB / 339.3 MB, free: 13.52 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.3674, allocations: 0 / 339.3 MB, free: 13.52 MB / 282.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.00239/0.3698, allocations: 0.7566 MB / 340.1 MB, free: 12.74 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.537e-05/0.3699, allocations: 55.41 kB / 340.1 MB, free: 12.68 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.499e-05/0.3699, allocations: 4 kB / 340.1 MB, free: 12.67 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.339e-05/0.3699, allocations: 4 kB / 340.1 MB, free: 12.67 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/0.371, allocations: 131.8 kB / 340.3 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.498e-05/0.371, allocations: 4 kB / 340.3 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009947/0.372, allocations: 20.25 kB / 340.3 MB, free: 12.52 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.625e-05/0.3721, allocations: 19.98 kB / 340.3 MB, free: 12.5 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (64): * Single equations (assignments): 62 * 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.001898/0.374, allocations: 0.9192 MB / 341.2 MB, free: 11.57 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006031/0.3746, allocations: 268.5 kB / 341.5 MB, free: 11.3 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002508/0.3771, allocations: 0.7849 MB / 342.3 MB, free: 10.5 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.264e-05/0.3772, allocations: 8 kB / 342.3 MB, free: 10.5 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.3772, allocations: 0 / 342.3 MB, free: 10.5 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.184e-05/0.3772, allocations: 3.984 kB / 342.3 MB, free: 10.49 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003009/0.3802, allocations: 1.472 MB / 343.8 MB, free: 8.969 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.3802, allocations: 0 / 343.8 MB, free: 8.969 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009025/0.3812, allocations: 95.88 kB / 343.9 MB, free: 8.875 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005058/0.3817, allocations: 88.8 kB / 343.9 MB, free: 8.785 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.586e-05/0.3817, allocations: 8 kB / 343.9 MB, free: 8.777 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008165/0.3826, allocations: 0.6343 MB / 344.6 MB, free: 8.117 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.3826, allocations: 8.094 kB / 344.6 MB, free: 8.109 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002963/0.3856, allocations: 1.061 MB / 345.7 MB, free: 7.027 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001377/0.387, allocations: 0.4897 MB / 346.1 MB, free: 6.516 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003344/0.3873, allocations: 16.08 kB / 346.2 MB, free: 6.5 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008159/0.3882, allocations: 19.98 kB / 346.2 MB, free: 6.48 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001245/0.3883, allocations: 32.39 kB / 346.2 MB, free: 6.445 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.642e-05/0.3884, allocations: 15.98 kB / 346.2 MB, free: 6.43 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.008136/0.3965, allocations: 3.965 MB / 350.2 MB, free: 2.473 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.022e-06/0.3965, allocations: 4 kB / 350.2 MB, free: 2.469 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001324/0.3979, allocations: 212 kB / 350.4 MB, free: 2.262 MB / 282.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.004284/0.4022, allocations: 1.929 MB / 352.3 MB, free: 352 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00149/0.4037, allocations: 0.4892 MB / 352.8 MB, free: 15.82 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/0.4037, allocations: 4.125 kB / 352.8 MB, free: 15.82 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007708/0.4045, allocations: 214.3 kB / 353 MB, free: 15.61 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00151/0.406, allocations: 166.9 kB / 353.2 MB, free: 15.45 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0187/0.4248, allocations: 10.35 MB / 363.5 MB, free: 3.84 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002602/0.4274, allocations: 1.857 MB / 365.4 MB, free: 1.949 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0009353/0.4284, allocations: 267.5 kB / 365.7 MB, free: 1.684 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001793/0.4302, allocations: 0.921 MB / 366.6 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of SimCode: time 1.393e-06/0.4302, allocations: 0 / 366.6 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1037/0.5339, allocations: 38.1 MB / 404.7 MB, free: 10.59 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003502/0.5343, allocations: 288.7 kB / 405 MB, free: 10.23 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.804/4.338, allocations: 0 / 405 MB, free: 10.23 MB / 346.7 MB