Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_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: translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Core.B|Core.Hstat|Core.MagRel|WindingPrim.i|WindingSec.i",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") Notification: Performance of loadModel(Modelica): time 2.141/2.141, allocations: 194.9 MB / 212.3 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004954/0.0004951, allocations: 8 kB / 264.5 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1081, allocations: 44.51 MB / 309 MB, free: 1.043 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.431/0.5392, allocations: 78.99 MB / 388 MB, free: 14.88 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000311/0.5396, allocations: 86.88 kB / 388.1 MB, free: 14.88 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1204/0.66, allocations: 38.57 MB / 426.6 MB, free: 2.504 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.835e-06/0.6601, allocations: 4 kB / 426.6 MB, free: 2.5 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003092/0.6604, allocations: 34.72 kB / 426.7 MB, free: 2.5 MB / 314.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.006418/0.6668, allocations: 2.63 MB / 429.3 MB, free: 0.6797 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.6669, allocations: 7.938 kB / 429.3 MB, free: 0.6797 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008082/0.6677, allocations: 284.7 kB / 429.6 MB, free: 0.5312 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005519/0.6732, allocations: 1.89 MB / 431.5 MB, free: 15.5 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001005/0.6734, allocations: 60.67 kB / 431.5 MB, free: 15.45 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002756/0.6737, allocations: 57.12 kB / 431.6 MB, free: 15.41 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0012/0.6749, allocations: 391.1 kB / 432 MB, free: 15.12 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.775e-05/0.6749, allocations: 7.922 kB / 432 MB, free: 15.12 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.617e-05/0.675, allocations: 15.62 kB / 432 MB, free: 15.11 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.378e-05/0.675, allocations: 8 kB / 432 MB, free: 15.11 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001201/0.6763, allocations: 324.1 kB / 432.3 MB, free: 14.88 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00804/0.6843, allocations: 3.089 MB / 435.4 MB, free: 12.43 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001112/0.6855, allocations: 319.8 kB / 435.7 MB, free: 12.2 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.405e-05/0.6855, allocations: 11.31 kB / 435.7 MB, free: 12.2 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/0.6856, allocations: 38.56 kB / 435.8 MB, free: 12.15 MB / 330.7 MB Notification: Performance of pre-optimization done (n=37): time 2.795e-06/0.6856, allocations: 0 / 435.8 MB, free: 12.15 MB / 330.7 MB Notification: Performance of matching and sorting (n=48): time 0.009733/0.6953, allocations: 2.545 MB / 438.3 MB, free: 9.844 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.893e-05/0.6955, allocations: 93.47 kB / 438.4 MB, free: 9.734 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01788/0.7133, allocations: 5.254 MB / 443.7 MB, free: 5.871 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001402/0.7135, allocations: 36.14 kB / 443.7 MB, free: 5.836 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001544/0.7151, allocations: 0.8988 MB / 444.6 MB, free: 5.578 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002696/0.7154, allocations: 170 kB / 444.8 MB, free: 5.434 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.844e-05/0.7154, allocations: 9.875 kB / 444.8 MB, free: 5.434 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.7156, allocations: 329.3 kB / 445.1 MB, free: 5.109 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005995/0.7162, allocations: 149.5 kB / 445.2 MB, free: 5.016 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006145/0.7168, allocations: 221.5 kB / 445.4 MB, free: 4.828 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006642/0.7175, allocations: 232.9 kB / 445.7 MB, free: 4.66 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.7175, allocations: 0 / 445.7 MB, free: 4.66 MB / 330.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001527/0.7191, allocations: 0.5049 MB / 446.2 MB, free: 4.27 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.75e-05/0.7192, allocations: 59.34 kB / 446.2 MB, free: 4.199 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.7192, allocations: 4 kB / 446.2 MB, free: 4.195 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.263e-05/0.7192, allocations: 4 kB / 446.2 MB, free: 4.191 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009532/0.7202, allocations: 118.5 kB / 446.4 MB, free: 4.078 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.508e-05/0.7202, allocations: 4 kB / 446.4 MB, free: 4.074 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001222/0.7214, allocations: 31.36 kB / 446.4 MB, free: 4.055 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/0.7216, allocations: 19.22 kB / 446.4 MB, free: 4.039 MB / 330.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.002363/0.724, allocations: 0.9193 MB / 447.3 MB, free: 3.336 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001031/0.7251, allocations: 280.4 kB / 447.6 MB, free: 3.059 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002894/0.728, allocations: 0.7863 MB / 448.4 MB, free: 2.469 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/0.728, allocations: 7.984 kB / 448.4 MB, free: 2.461 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/0.728, allocations: 4 kB / 448.4 MB, free: 2.457 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.7281, allocations: 0 / 448.4 MB, free: 2.457 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003799/0.7319, allocations: 1.691 MB / 450.1 MB, free: 1.172 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.257e-05/0.7319, allocations: 4 kB / 450.1 MB, free: 1.168 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009316/0.7329, allocations: 96.88 kB / 450.2 MB, free: 1.078 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000514/0.7334, allocations: 91.8 kB / 450.3 MB, free: 1.008 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.571e-05/0.7335, allocations: 22.12 kB / 450.3 MB, free: 0.9922 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001041/0.7345, allocations: 0.6371 MB / 450.9 MB, free: 392 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.7345, allocations: 0 / 450.9 MB, free: 392 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003158/0.7377, allocations: 1.078 MB / 452 MB, free: 15.49 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002016/0.7398, allocations: 0.6647 MB / 452.7 MB, free: 14.84 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005273/0.7403, allocations: 27.98 kB / 452.7 MB, free: 14.81 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009294/0.7413, allocations: 24 kB / 452.7 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/0.7414, allocations: 28.34 kB / 452.8 MB, free: 14.76 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.326e-05/0.7415, allocations: 19.98 kB / 452.8 MB, free: 14.74 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.01047/0.752, allocations: 3.832 MB / 456.6 MB, free: 10.91 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.62e-07/0.752, allocations: 3.938 kB / 456.6 MB, free: 10.91 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001939/0.754, allocations: 339.9 kB / 456.9 MB, free: 10.58 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.00129/0.7553, allocations: 424.8 kB / 457.4 MB, free: 10.23 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001532/0.7568, allocations: 496.7 kB / 457.8 MB, free: 9.715 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.319e-06/0.7569, allocations: 0 / 457.8 MB, free: 9.715 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007823/0.7577, allocations: 214.4 kB / 458.1 MB, free: 9.508 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001713/0.7594, allocations: 175.3 kB / 458.2 MB, free: 9.332 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01532/0.7747, allocations: 6.424 MB / 464.7 MB, free: 2.859 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00351/0.7783, allocations: 1.857 MB / 466.5 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001403/0.7797, allocations: 131.4 kB / 466.6 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of SimCode: time 1.673e-06/0.7798, allocations: 0 / 466.6 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of Templates: time 0.09899/0.8788, allocations: 37.1 MB / 0.4919 GB, free: 11.65 MB / 394.7 MB