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: 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_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") Notification: Performance of loadModel(Modelica): time 2.108/2.108, allocations: 194.8 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004491/0.0004494, allocations: 12 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09515/0.09564, allocations: 44.5 MB / 309.1 MB, free: 368 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4203/0.516, allocations: 78.99 MB / 388.1 MB, free: 15.41 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002886/0.5164, allocations: 90.48 kB / 388.1 MB, free: 15.41 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1359/0.6523, allocations: 38.56 MB / 426.7 MB, free: 2.73 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.176e-06/0.6523, allocations: 4 kB / 426.7 MB, free: 2.727 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002791/0.6526, allocations: 35 kB / 426.7 MB, free: 2.727 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.006362/0.659, allocations: 2.636 MB / 429.4 MB, free: 0.9023 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.6591, allocations: 7.75 kB / 429.4 MB, free: 0.9023 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007604/0.6598, allocations: 287.5 kB / 429.7 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005537/0.6654, allocations: 1.878 MB / 431.5 MB, free: 15.13 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001206/0.6656, allocations: 74.08 kB / 431.6 MB, free: 15.07 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002796/0.6659, allocations: 41.34 kB / 431.7 MB, free: 15.04 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001183/0.6671, allocations: 403 kB / 432 MB, free: 14.75 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.232e-05/0.6671, allocations: 0 / 432 MB, free: 14.75 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.479e-05/0.6672, allocations: 14.56 kB / 432.1 MB, free: 14.74 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/0.6672, allocations: 8 kB / 432.1 MB, free: 14.73 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001193/0.6684, allocations: 337.5 kB / 432.4 MB, free: 14.5 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008187/0.6766, allocations: 3.084 MB / 435.5 MB, free: 12.05 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00113/0.6778, allocations: 316 kB / 435.8 MB, free: 11.83 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.796e-05/0.6779, allocations: 10.72 kB / 435.8 MB, free: 11.82 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.812e-05/0.6779, allocations: 42.44 kB / 435.8 MB, free: 11.77 MB / 330.7 MB Notification: Performance of pre-optimization done (n=37): time 3.186e-06/0.6779, allocations: 0 / 435.8 MB, free: 11.77 MB / 330.7 MB Notification: Performance of matching and sorting (n=48): time 0.01012/0.6881, allocations: 2.546 MB / 438.4 MB, free: 9.461 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.202e-05/0.6882, allocations: 81.55 kB / 438.5 MB, free: 9.363 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02318/0.7114, allocations: 5.259 MB / 443.7 MB, free: 5.496 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001304/0.7116, allocations: 37.52 kB / 443.8 MB, free: 5.461 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001861/0.7134, allocations: 1.151 MB / 444.9 MB, free: 5.051 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003206/0.7138, allocations: 175 kB / 445.1 MB, free: 4.906 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.423e-05/0.7139, allocations: 11.62 kB / 445.1 MB, free: 4.902 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001944/0.7141, allocations: 329.4 kB / 445.4 MB, free: 4.586 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007986/0.7149, allocations: 140.5 kB / 445.6 MB, free: 4.496 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008464/0.7157, allocations: 225 kB / 445.8 MB, free: 4.309 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008832/0.7166, allocations: 228.1 kB / 446 MB, free: 4.145 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.7167, allocations: 0 / 446 MB, free: 4.145 MB / 330.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003231/0.7199, allocations: 0.7546 MB / 446.8 MB, free: 3.5 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.33e-05/0.72, allocations: 55.41 kB / 446.8 MB, free: 3.434 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/0.72, allocations: 7.938 kB / 446.8 MB, free: 3.426 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.562e-05/0.7201, allocations: 4 kB / 446.8 MB, free: 3.422 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001224/0.7213, allocations: 122.9 kB / 446.9 MB, free: 3.305 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.754e-05/0.7213, allocations: 4 kB / 446.9 MB, free: 3.301 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001226/0.7226, allocations: 29.8 kB / 447 MB, free: 3.281 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.75e-05/0.7227, allocations: 15.81 kB / 447 MB, free: 3.27 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.002944/0.7256, allocations: 0.9205 MB / 447.9 MB, free: 2.566 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001259/0.7269, allocations: 284.4 kB / 448.2 MB, free: 2.285 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00396/0.7309, allocations: 0.7883 MB / 449 MB, free: 1.691 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.785e-05/0.731, allocations: 4 kB / 449 MB, free: 1.688 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/0.731, allocations: 4 kB / 449 MB, free: 1.684 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/0.731, allocations: 0 / 449 MB, free: 1.684 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005091/0.7361, allocations: 1.688 MB / 450.7 MB, free: 412 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-05/0.7362, allocations: 8 kB / 450.7 MB, free: 404 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001165/0.7374, allocations: 95.44 kB / 450.8 MB, free: 312 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006535/0.738, allocations: 90.11 kB / 450.9 MB, free: 240 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-05/0.7381, allocations: 19.31 kB / 450.9 MB, free: 228 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001396/0.7395, allocations: 0.6383 MB / 451.5 MB, free: 15.61 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.7396, allocations: 3.938 kB / 451.5 MB, free: 15.61 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004401/0.744, allocations: 1.077 MB / 452.6 MB, free: 14.64 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002893/0.7469, allocations: 0.6654 MB / 453.3 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007028/0.7477, allocations: 27.98 kB / 453.3 MB, free: 13.92 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001361/0.749, allocations: 24 kB / 453.3 MB, free: 13.9 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001514/0.7492, allocations: 28.34 kB / 453.3 MB, free: 13.87 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.526e-05/0.7493, allocations: 19.98 kB / 453.4 MB, free: 13.85 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.01306/0.7624, allocations: 3.828 MB / 457.2 MB, free: 10.03 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.032e-06/0.7624, allocations: 0 / 457.2 MB, free: 10.03 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002836/0.7653, allocations: 339.9 kB / 457.5 MB, free: 9.699 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.001834/0.7672, allocations: 433.7 kB / 457.9 MB, free: 9.344 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00203/0.7692, allocations: 496.7 kB / 458.4 MB, free: 8.828 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.7692, allocations: 4.125 kB / 458.4 MB, free: 8.824 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001039/0.7703, allocations: 210.4 kB / 458.6 MB, free: 8.621 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002224/0.7725, allocations: 175 kB / 458.8 MB, free: 8.445 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0199/0.7925, allocations: 6.227 MB / 465 MB, free: 2.176 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002939/0.7955, allocations: 1.857 MB / 466.9 MB, free: 292 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.00143/0.7969, allocations: 379.5 kB / 467.3 MB, free: 15.91 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007059/0.7977, allocations: 135.4 kB / 467.4 MB, free: 15.78 MB / 362.7 MB Notification: Performance of SimCode: time 1.042e-06/0.7977, allocations: 0 / 467.4 MB, free: 15.78 MB / 362.7 MB Notification: Performance of Templates: time 0.0698/0.8675, allocations: 19.96 MB / 487.4 MB, free: 11.77 MB / 378.7 MB