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.SinglePhaseTransformerWithHysteresis2.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.SinglePhaseTransformerWithHysteresis2,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.023/2.023, allocations: 194.9 MB / 211.1 MB, free: 8.422 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003472/0.0003473, allocations: 8 kB / 264.1 MB, free: 3.34 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.2929, allocations: 44.52 MB / 308.6 MB, free: 12.75 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.00594/0.2989, allocations: 3.519 MB / 312.1 MB, free: 9.211 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003835/0.3028, allocations: 1.565 MB / 313.7 MB, free: 7.633 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005153/0.3034, allocations: 4 kB / 313.7 MB, free: 7.629 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003782/0.3038, allocations: 91.36 kB / 313.8 MB, free: 7.539 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001362/0.3052, allocations: 346.9 kB / 314.1 MB, free: 7.199 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006113/0.3058, allocations: 139.8 kB / 314.2 MB, free: 7.062 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001293/0.3071, allocations: 0.6096 MB / 314.8 MB, free: 6.453 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004187/0.3075, allocations: 174.1 kB / 315 MB, free: 6.285 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006314/0.3082, allocations: 302.9 kB / 315.3 MB, free: 5.988 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006761/0.3089, allocations: 366.5 kB / 315.7 MB, free: 5.629 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001276/0.309, allocations: 44 kB / 315.7 MB, free: 5.586 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000552/0.3096, allocations: 163.8 kB / 315.9 MB, free: 5.426 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001746/0.3098, allocations: 139.5 kB / 316 MB, free: 5.289 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002004/0.31, allocations: 157.3 kB / 316.2 MB, free: 5.129 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001341/0.3114, allocations: 0.8773 MB / 317 MB, free: 4.25 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3114, allocations: 0 / 317 MB, free: 4.25 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3114, allocations: 0 / 317 MB, free: 4.25 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.697e-05/0.3114, allocations: 0 / 317 MB, free: 4.25 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.003514/0.3149, allocations: 0.9818 MB / 318 MB, free: 3.215 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.315, allocations: 12.03 kB / 318 MB, free: 3.203 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001976/0.3152, allocations: 94.52 kB / 318.1 MB, free: 3.102 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002074/0.3154, allocations: 83.02 kB / 318.2 MB, free: 3.02 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/0.3165, allocations: 0.4941 MB / 318.7 MB, free: 2.484 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000113/0.3166, allocations: 75.02 kB / 318.8 MB, free: 2.406 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003223/0.317, allocations: 67.97 kB / 318.8 MB, free: 2.34 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001763/0.3188, allocations: 0.6019 MB / 319.4 MB, free: 1.719 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.535e-05/0.3188, allocations: 0 / 319.4 MB, free: 1.719 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-05/0.3189, allocations: 24 kB / 319.5 MB, free: 1.695 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.267e-05/0.3189, allocations: 19.95 kB / 319.5 MB, free: 1.676 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001956/0.3209, allocations: 0.536 MB / 320 MB, free: 1.141 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005607/0.3265, allocations: 2.314 MB / 322.3 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001728/0.3283, allocations: 489.7 kB / 322.8 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.065e-05/0.3284, allocations: 16.11 kB / 322.8 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.495e-05/0.3285, allocations: 46.55 kB / 322.9 MB, free: 14.15 MB / 266.7 MB Notification: Performance of pre-optimization done (n=45): time 4.789e-06/0.3285, allocations: 3.984 kB / 322.9 MB, free: 14.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.0236/0.3521, allocations: 3.683 MB / 326.6 MB, free: 10.36 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.742e-05/0.3522, allocations: 85.67 kB / 326.6 MB, free: 10.26 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001091/0.3533, allocations: 0.5254 MB / 327.2 MB, free: 9.727 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001125/0.3534, allocations: 37.7 kB / 327.2 MB, free: 9.684 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003189/0.3537, allocations: 320.2 kB / 327.5 MB, free: 9.363 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002707/0.354, allocations: 212.9 kB / 327.7 MB, free: 9.152 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.26e-05/0.3541, allocations: 11.94 kB / 327.7 MB, free: 9.141 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002015/0.3543, allocations: 366.8 kB / 328.1 MB, free: 8.773 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001006/0.3553, allocations: 257.2 kB / 328.3 MB, free: 8.523 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001121/0.3565, allocations: 352.4 kB / 328.7 MB, free: 8.145 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001099/0.3576, allocations: 298.1 kB / 329 MB, free: 7.852 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.3576, allocations: 0 / 329 MB, free: 7.852 MB / 266.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.00273/0.3604, allocations: 0.7645 MB / 329.7 MB, free: 7.074 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.582e-05/0.3604, allocations: 8 kB / 329.7 MB, free: 7.066 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.3604, allocations: 224 / 329.7 MB, free: 7.066 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002271/0.3607, allocations: 32.84 kB / 329.8 MB, free: 7.031 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001526/0.3622, allocations: 171.8 kB / 329.9 MB, free: 6.863 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001458/0.3637, allocations: 1.336 MB / 331.3 MB, free: 5.395 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001118/0.3648, allocations: 48.03 kB / 331.3 MB, free: 5.348 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.778e-05/0.3649, allocations: 27.92 kB / 331.4 MB, free: 5.32 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 (transformer.core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004516/0.3654, allocations: 205.7 kB / 331.6 MB, free: 5.109 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001861/0.3656, allocations: 63.25 kB / 331.6 MB, free: 5.047 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003154/0.3688, allocations: 0.8647 MB / 332.5 MB, free: 4.176 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-05/0.3688, allocations: 8 kB / 332.5 MB, free: 4.168 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3688, allocations: 0 / 332.5 MB, free: 4.168 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-06/0.3688, allocations: 0 / 332.5 MB, free: 4.168 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006239/0.3751, allocations: 1.885 MB / 334.4 MB, free: 2.219 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.3751, allocations: 0 / 334.4 MB, free: 2.219 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001065/0.3762, allocations: 123.8 kB / 334.5 MB, free: 2.098 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004508/0.3807, allocations: 0.4925 MB / 335 MB, free: 1.602 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001143/0.3809, allocations: 16 kB / 335 MB, free: 1.586 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008668/0.3895, allocations: 3.017 MB / 338 MB, free: 14.44 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.3896, allocations: 3.984 kB / 338 MB, free: 14.43 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005348/0.395, allocations: 1.409 MB / 339.4 MB, free: 13.01 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005147/0.3955, allocations: 208.3 kB / 339.6 MB, free: 12.79 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001535/0.3957, allocations: 12 kB / 339.7 MB, free: 12.77 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001085/0.3968, allocations: 55.91 kB / 339.7 MB, free: 12.72 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002085/0.397, allocations: 48.44 kB / 339.8 MB, free: 12.67 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.017e-05/0.3971, allocations: 23.98 kB / 339.8 MB, free: 12.65 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0007383/0.3978, allocations: 382.9 kB / 340.2 MB, free: 12.28 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.3979, allocations: 0 / 340.2 MB, free: 12.28 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001029/0.3989, allocations: 192.1 kB / 340.3 MB, free: 12.09 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (transformer.winding1.i,transformer.winding2.i,transformer.core.B,transformer.core.MagRel) * Number of discrete variables: 1 (transformer.core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.005981/0.4049, allocations: 2.001 MB / 342.3 MB, free: 10.05 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002645/0.4076, allocations: 0.7482 MB / 343.1 MB, free: 9.289 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.4076, allocations: 0 / 343.1 MB, free: 9.289 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001667/0.4093, allocations: 0.5295 MB / 343.6 MB, free: 8.75 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008955/0.4103, allocations: 81.81 kB / 343.7 MB, free: 8.668 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01252/0.4228, allocations: 4.353 MB / 348 MB, free: 4.223 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006435/0.4235, allocations: 0.9162 MB / 349 MB, free: 3.277 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0006793/0.4242, allocations: 76.8 kB / 349 MB, free: 3.203 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005837/0.4248, allocations: 231.3 kB / 349.3 MB, free: 2.977 MB / 282.7 MB Notification: Performance of SimCode: time 1.463e-06/0.4248, allocations: 4 kB / 349.3 MB, free: 2.973 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05444/0.4792, allocations: 14.87 MB / 364.1 MB, free: 4.125 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003815/0.4797, allocations: 248.9 kB / 364.4 MB, free: 3.793 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.887/3.367, allocations: 0 / 364.4 MB, free: 3.793 MB / 298.7 MB