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 1.905/1.905, allocations: 194.9 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000371/0.0003712, allocations: 15.92 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09037/0.09076, allocations: 44.5 MB / 309.1 MB, free: 360 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.004663/0.09548, allocations: 2.719 MB / 311.8 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002989/0.09851, allocations: 1.342 MB / 313.1 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002144/0.09876, allocations: 8 kB / 313.1 MB, free: 12.26 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004349/0.1031, allocations: 2.105 MB / 315.2 MB, free: 10.15 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005971/0.1038, allocations: 159.5 kB / 315.4 MB, free: 9.992 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006158/0.1044, allocations: 139.7 kB / 315.5 MB, free: 9.855 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002481/0.1069, allocations: 1.475 MB / 317 MB, free: 8.375 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002709/0.1072, allocations: 102.7 kB / 317.1 MB, free: 8.27 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004757/0.1077, allocations: 283.2 kB / 317.4 MB, free: 7.992 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004986/0.1082, allocations: 303 kB / 317.7 MB, free: 7.695 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001365/0.1083, allocations: 28 kB / 317.7 MB, free: 7.668 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002447/0.1086, allocations: 43.94 kB / 317.8 MB, free: 7.625 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008813/0.1095, allocations: 0.8298 MB / 318.6 MB, free: 6.793 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003974/0.1099, allocations: 380.3 kB / 319 MB, free: 6.414 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00276/0.1127, allocations: 2.074 MB / 321 MB, free: 4.336 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1127, allocations: 0 / 321 MB, free: 4.336 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1127, allocations: 0 / 321 MB, free: 4.336 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.581e-05/0.1128, allocations: 3.938 kB / 321 MB, free: 4.332 MB / 266.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.005609/0.1184, allocations: 2.476 MB / 323.5 MB, free: 1.781 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.1185, allocations: 8.031 kB / 323.5 MB, free: 1.773 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004822/0.1189, allocations: 276.4 kB / 323.8 MB, free: 1.5 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003849/0.1228, allocations: 1.681 MB / 325.5 MB, free: 15.76 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001048/0.1229, allocations: 58.7 kB / 325.5 MB, free: 15.7 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002695/0.1232, allocations: 51.89 kB / 325.6 MB, free: 15.65 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00112/0.1244, allocations: 391 kB / 326 MB, free: 15.25 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.186e-05/0.1244, allocations: 3.938 kB / 326 MB, free: 15.25 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.385e-05/0.1245, allocations: 16 kB / 326 MB, free: 15.23 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.516e-05/0.1245, allocations: 8 kB / 326 MB, free: 15.23 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001226/0.1257, allocations: 331.8 kB / 326.3 MB, free: 14.9 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006241/0.132, allocations: 2.91 MB / 329.2 MB, free: 11.89 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/0.1331, allocations: 323.2 kB / 329.5 MB, free: 11.56 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.5e-05/0.1331, allocations: 11.94 kB / 329.5 MB, free: 11.55 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.567e-05/0.1332, allocations: 38.5 kB / 329.6 MB, free: 11.5 MB / 282.7 MB Notification: Performance of pre-optimization done (n=37): time 5.591e-06/0.1332, allocations: 4 kB / 329.6 MB, free: 11.5 MB / 282.7 MB Notification: Performance of matching and sorting (n=48): time 0.007782/0.141, allocations: 2.383 MB / 332 MB, free: 9.043 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.228e-05/0.1411, allocations: 89.58 kB / 332.1 MB, free: 8.938 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0107/0.1518, allocations: 5.418 MB / 337.5 MB, free: 3.516 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001043/0.1519, allocations: 41.64 kB / 337.5 MB, free: 3.469 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001693/0.1537, allocations: 1.144 MB / 338.7 MB, free: 2.32 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002151/0.1539, allocations: 169.5 kB / 338.8 MB, free: 2.152 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.995e-05/0.1539, allocations: 8 kB / 338.8 MB, free: 2.145 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.1541, allocations: 329.9 kB / 339.2 MB, free: 1.816 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000598/0.1547, allocations: 149.1 kB / 339.3 MB, free: 1.672 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006402/0.1554, allocations: 225.8 kB / 339.5 MB, free: 1.422 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006756/0.156, allocations: 225.6 kB / 339.7 MB, free: 1.191 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.1561, allocations: 0 / 339.7 MB, free: 1.191 MB / 282.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.002301/0.1584, allocations: 0.7527 MB / 340.5 MB, free: 428 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.465e-05/0.1585, allocations: 67.39 kB / 340.6 MB, free: 348 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.1585, allocations: 3.938 kB / 340.6 MB, free: 344 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.281e-05/0.1585, allocations: 4 kB / 340.6 MB, free: 340 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009597/0.1595, allocations: 119.9 kB / 340.7 MB, free: 220 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.387e-05/0.1595, allocations: 12.2 kB / 340.7 MB, free: 208 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008875/0.1604, allocations: 23.92 kB / 340.7 MB, free: 184 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.88e-05/0.1605, allocations: 20 kB / 340.7 MB, free: 164 kB / 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.00185/0.1624, allocations: 0.9153 MB / 341.7 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006064/0.163, allocations: 264.5 kB / 341.9 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002387/0.1654, allocations: 0.7823 MB / 342.7 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/0.1654, allocations: 11.86 kB / 342.7 MB, free: 14.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.1654, allocations: 0 / 342.7 MB, free: 14.16 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001228/0.1667, allocations: 497.4 kB / 343.2 MB, free: 13.66 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003151/0.167, allocations: 12 kB / 343.2 MB, free: 13.64 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008247/0.1678, allocations: 27.98 kB / 343.2 MB, free: 13.62 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.1679, allocations: 28.39 kB / 343.3 MB, free: 13.59 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002556/0.1705, allocations: 0.6675 MB / 343.9 MB, free: 12.91 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00287/0.1734, allocations: 1.086 MB / 345 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006051/0.174, allocations: 175.4 kB / 345.2 MB, free: 11.63 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.008562/0.1826, allocations: 3.969 MB / 349.2 MB, free: 7.672 MB / 298.7 MB Notification: Performance of Backend: time 3.276e-06/0.1827, allocations: 112 / 349.2 MB, free: 7.672 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.003325/0.186, allocations: 1.179 MB / 350.3 MB, free: 6.527 MB / 298.7 MB Notification: Performance of SimCode: time 0.01252/0.1986, allocations: 6.026 MB / 356.4 MB, free: 452 kB / 298.7 MB Notification: Performance of Templates: time 0.04962/0.2482, allocations: 14.37 MB / 370.7 MB, free: 2.051 MB / 314.7 MB