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: translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2,tolerance=0.0001,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|tr.Core.B|tr.Core.Hstat|tr.Core.MagRel|tr.Wp.i|tr.Ws.i",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") Notification: Performance of loadModel(Modelica): time 1.994/1.994, allocations: 194.9 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003549/0.0003551, allocations: 19.98 kB / 264.6 MB, free: 12.92 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08971/0.09009, allocations: 44.5 MB / 309.1 MB, free: 360 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.005672/0.09581, allocations: 3.523 MB / 312.6 MB, free: 12.81 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003669/0.09953, allocations: 1.557 MB / 314.1 MB, free: 11.24 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004399/0.1, allocations: 11.94 kB / 314.2 MB, free: 11.23 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00033/0.1004, allocations: 91.36 kB / 314.2 MB, free: 11.14 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001177/0.1016, allocations: 350.9 kB / 314.6 MB, free: 10.79 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005292/0.1021, allocations: 135.8 kB / 314.7 MB, free: 10.66 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001087/0.1032, allocations: 0.6058 MB / 315.3 MB, free: 10.05 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003875/0.1036, allocations: 174.1 kB / 315.5 MB, free: 9.887 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005138/0.1041, allocations: 302.9 kB / 315.8 MB, free: 9.59 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006338/0.1048, allocations: 366.5 kB / 316.2 MB, free: 9.23 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001199/0.1049, allocations: 40 kB / 316.2 MB, free: 9.191 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005391/0.1055, allocations: 167.8 kB / 316.4 MB, free: 9.027 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001666/0.1057, allocations: 139.5 kB / 316.5 MB, free: 8.891 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001913/0.1059, allocations: 157.3 kB / 316.6 MB, free: 8.73 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001248/0.1071, allocations: 0.8766 MB / 317.5 MB, free: 7.852 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1071, allocations: 0 / 317.5 MB, free: 7.852 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1072, allocations: 0 / 317.5 MB, free: 7.852 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.729e-06/0.1072, allocations: 0 / 317.5 MB, free: 7.852 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.003478/0.1107, allocations: 0.9857 MB / 318.5 MB, free: 6.812 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.1107, allocations: 8.031 kB / 318.5 MB, free: 6.805 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002279/0.111, allocations: 87.02 kB / 318.6 MB, free: 6.719 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001002/0.112, allocations: 490.1 kB / 319.1 MB, free: 6.199 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001112/0.1121, allocations: 75 kB / 319.2 MB, free: 6.121 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003103/0.1124, allocations: 71.89 kB / 319.2 MB, free: 6.051 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00178/0.1142, allocations: 0.598 MB / 319.8 MB, free: 5.434 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.599e-05/0.1143, allocations: 0 / 319.8 MB, free: 5.434 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001153/0.1144, allocations: 27.98 kB / 319.8 MB, free: 5.406 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.226e-05/0.1144, allocations: 15.95 kB / 319.9 MB, free: 5.391 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00204/0.1165, allocations: 0.536 MB / 320.4 MB, free: 4.855 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005946/0.1225, allocations: 2.322 MB / 322.7 MB, free: 2.426 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00168/0.1242, allocations: 497.7 kB / 323.2 MB, free: 1.922 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.874e-05/0.1243, allocations: 8.219 kB / 323.2 MB, free: 1.914 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.715e-05/0.1243, allocations: 42.52 kB / 323.3 MB, free: 1.863 MB / 266.7 MB Notification: Performance of pre-optimization done (n=45): time 3.437e-06/0.1243, allocations: 0 / 323.3 MB, free: 1.863 MB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.02481/0.1492, allocations: 3.683 MB / 326.9 MB, free: 14.08 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.751e-05/0.1493, allocations: 85.67 kB / 327 MB, free: 13.98 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001101/0.1504, allocations: 0.5293 MB / 327.6 MB, free: 13.44 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001335/0.1505, allocations: 41.64 kB / 327.6 MB, free: 13.39 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002922/0.1508, allocations: 324.2 kB / 327.9 MB, free: 13.07 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002505/0.1511, allocations: 205 kB / 328.1 MB, free: 12.87 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.417e-05/0.1512, allocations: 12 kB / 328.1 MB, free: 12.86 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001775/0.1513, allocations: 366.8 kB / 328.5 MB, free: 12.49 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001009/0.1524, allocations: 257.2 kB / 328.7 MB, free: 12.24 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001096/0.1535, allocations: 360.4 kB / 329.1 MB, free: 11.85 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/0.1546, allocations: 286.1 kB / 329.4 MB, free: 11.57 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.1546, allocations: 4 kB / 329.4 MB, free: 11.57 MB / 282.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002833/0.1575, allocations: 0.7608 MB / 330.1 MB, free: 10.79 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.1575, allocations: 4 kB / 330.1 MB, free: 10.79 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.1575, allocations: 4 kB / 330.1 MB, free: 10.79 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002394/0.1578, allocations: 28.84 kB / 330.2 MB, free: 10.75 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001579/0.1594, allocations: 183.8 kB / 330.3 MB, free: 10.57 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00146/0.1609, allocations: 1.331 MB / 331.7 MB, free: 9.109 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001149/0.162, allocations: 43.98 kB / 331.7 MB, free: 9.066 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.801e-05/0.1621, allocations: 27.92 kB / 331.7 MB, free: 9.039 MB / 282.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.0004486/0.1626, allocations: 205.7 kB / 331.9 MB, free: 8.828 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001854/0.1628, allocations: 59.25 kB / 332 MB, free: 8.77 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00315/0.1659, allocations: 0.8686 MB / 332.9 MB, free: 7.895 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.605e-05/0.166, allocations: 3.984 kB / 332.9 MB, free: 7.891 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.166, allocations: 4.219 kB / 332.9 MB, free: 7.887 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004534/0.1665, allocations: 204.3 kB / 333.1 MB, free: 7.668 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001713/0.1666, allocations: 16 kB / 333.1 MB, free: 7.652 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001046/0.1677, allocations: 51.97 kB / 333.1 MB, free: 7.602 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000163/0.1679, allocations: 44.44 kB / 333.2 MB, free: 7.555 MB / 282.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005414/0.1733, allocations: 1.136 MB / 334.3 MB, free: 6.41 MB / 282.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003709/0.177, allocations: 1.28 MB / 335.6 MB, free: 5.109 MB / 282.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001061/0.1781, allocations: 320.3 kB / 335.9 MB, free: 4.797 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0007676/0.1789, allocations: 383 kB / 336.3 MB, free: 4.426 MB / 282.7 MB Notification: Performance of Backend: time 7.71e-07/0.1789, allocations: 0 / 336.3 MB, free: 4.426 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002174/0.1811, allocations: 0.5998 MB / 336.9 MB, free: 3.812 MB / 282.7 MB Notification: Performance of SimCode: time 0.003773/0.1849, allocations: 2.208 MB / 339.1 MB, free: 1.547 MB / 282.7 MB Notification: Performance of Templates: time 0.02601/0.211, allocations: 8.903 MB / 348 MB, free: 8.668 MB / 298.7 MB