Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.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.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") Notification: Performance of loadModel(Modelica): time 1.968/1.968, allocations: 194.9 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003324/0.0003325, allocations: 8 kB / 264.6 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1015, allocations: 44.52 MB / 309.1 MB, free: 356 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.01282/0.1144, allocations: 6.531 MB / 315.6 MB, free: 9.785 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007441/0.1219, allocations: 2.643 MB / 318.3 MB, free: 7.137 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00106/0.123, allocations: 51.69 kB / 318.3 MB, free: 7.086 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001553/0.1246, allocations: 477.5 kB / 318.8 MB, free: 6.617 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002116/0.1267, allocations: 0.5997 MB / 319.4 MB, free: 6.016 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001033/0.1277, allocations: 283.6 kB / 319.6 MB, free: 5.738 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003919/0.1317, allocations: 2.188 MB / 321.8 MB, free: 3.543 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004022/0.1357, allocations: 2.364 MB / 324.2 MB, free: 1.148 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00214/0.1379, allocations: 1.117 MB / 325.3 MB, free: 28 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002829/0.1407, allocations: 1.436 MB / 326.8 MB, free: 14.59 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005759/0.1413, allocations: 200 kB / 326.9 MB, free: 14.39 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001252/0.1426, allocations: 367.6 kB / 327.3 MB, free: 14.03 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00127/0.1439, allocations: 0.8764 MB / 328.2 MB, free: 13.15 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000969/0.1449, allocations: 0.6563 MB / 328.8 MB, free: 12.49 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007175/0.1521, allocations: 4.952 MB / 333.8 MB, free: 7.523 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.1521, allocations: 0 / 333.8 MB, free: 7.523 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.986e-06/0.1521, allocations: 0 / 333.8 MB, free: 7.523 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001215/0.1523, allocations: 4 kB / 333.8 MB, free: 7.52 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 772 * Number of variables: 772 Notification: Performance of Generate backend data structure: time 0.01016/0.1624, allocations: 3.19 MB / 337 MB, free: 4.266 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.1625, allocations: 8.031 kB / 337 MB, free: 4.258 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001565/0.1641, allocations: 387.8 kB / 337.4 MB, free: 3.875 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005094/0.1692, allocations: 1.893 MB / 339.3 MB, free: 1.926 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002579/0.1695, allocations: 229.8 kB / 339.5 MB, free: 1.699 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000683/0.1702, allocations: 284 kB / 339.8 MB, free: 1.422 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01088/0.1811, allocations: 4.144 MB / 343.9 MB, free: 13.23 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.09e-05/0.1812, allocations: 0 / 343.9 MB, free: 13.23 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000438/0.1816, allocations: 120 kB / 344 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002554/0.1819, allocations: 145.9 kB / 344.2 MB, free: 12.96 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009761/0.1917, allocations: 3.47 MB / 347.6 MB, free: 9.484 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02975/0.2214, allocations: 10.99 MB / 358.6 MB, free: 14.3 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004794/0.2263, allocations: 2.638 MB / 361.3 MB, free: 11.44 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003745/0.2267, allocations: 126.1 kB / 361.4 MB, free: 11.3 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.554e-05/0.2268, allocations: 43.56 kB / 361.4 MB, free: 11.25 MB / 314.7 MB Notification: Performance of pre-optimization done (n=128): time 4.438e-06/0.2268, allocations: 0 / 361.4 MB, free: 11.25 MB / 314.7 MB Notification: Performance of matching and sorting (n=132): time 0.01528/0.2421, allocations: 5.559 MB / 367 MB, free: 5.57 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.679e-05/0.2422, allocations: 90.42 kB / 367.1 MB, free: 5.465 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004114/0.2463, allocations: 1.902 MB / 369 MB, free: 3.559 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002393/0.2466, allocations: 45.7 kB / 369 MB, free: 3.508 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001448/0.248, allocations: 1.326 MB / 370.4 MB, free: 2.164 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006113/0.2487, allocations: 449.5 kB / 370.8 MB, free: 1.719 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001381/0.2488, allocations: 28 kB / 370.8 MB, free: 1.691 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001986/0.249, allocations: 369.9 kB / 371.2 MB, free: 1.324 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002235/0.2513, allocations: 0.8315 MB / 372 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2989/0.5501, allocations: 1.174 MB / 373.2 MB, free: 58.49 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004636/0.5548, allocations: 1.035 MB / 374.2 MB, free: 58.42 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.991e-05/0.5549, allocations: 3.688 kB / 374.2 MB, free: 58.42 MB / 314.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.01146/0.5664, allocations: 2.555 MB / 376.8 MB, free: 57.52 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.693e-05/0.5665, allocations: 15.73 kB / 376.8 MB, free: 57.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.257e-05/0.5666, allocations: 10.19 kB / 376.8 MB, free: 57.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004893/0.5715, allocations: 0.491 MB / 377.3 MB, free: 57.42 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003847/0.5754, allocations: 327 kB / 377.6 MB, free: 57.39 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01227/0.5877, allocations: 4.354 MB / 382 MB, free: 54.66 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00318/0.5909, allocations: 95.36 kB / 382.1 MB, free: 54.63 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002959/0.5913, allocations: 55.89 kB / 382.1 MB, free: 54.62 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (154): * Single equations (assignments): 149 * Array equations: 4 * 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 {(2,100.0%) 29} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004426/0.5957, allocations: 1.054 MB / 383.2 MB, free: 54.1 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007486/0.5965, allocations: 189.6 kB / 383.4 MB, free: 54.1 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005495/0.602, allocations: 2.184 MB / 385.5 MB, free: 53.22 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.882e-05/0.602, allocations: 7.547 kB / 385.6 MB, free: 53.22 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.293e-06/0.6021, allocations: 1.312 kB / 385.6 MB, free: 53.22 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001397/0.6035, allocations: 469.5 kB / 386 MB, free: 53.01 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004493/0.6039, allocations: 31.02 kB / 386 MB, free: 52.99 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001732/0.6057, allocations: 99.36 kB / 386.1 MB, free: 52.97 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002938/0.606, allocations: 102.8 kB / 386.2 MB, free: 52.96 MB / 314.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006862/0.6129, allocations: 2.366 MB / 388.6 MB, free: 52.11 MB / 314.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01128/0.6242, allocations: 3.17 MB / 391.8 MB, free: 50.59 MB / 314.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002342/0.6266, allocations: 0.8898 MB / 392.7 MB, free: 50.11 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002729/0.6293, allocations: 1.327 MB / 394 MB, free: 49.39 MB / 314.7 MB Notification: Performance of Backend: time 7.71e-07/0.6294, allocations: 0 / 394 MB, free: 49.39 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.004598/0.634, allocations: 1.626 MB / 395.6 MB, free: 48.02 MB / 314.7 MB Notification: Performance of SimCode: time 0.01211/0.6461, allocations: 6.889 MB / 402.5 MB, free: 41.11 MB / 314.7 MB Notification: Performance of Templates: time 0.07265/0.7188, allocations: 30.11 MB / 432.6 MB, free: 11.04 MB / 314.7 MB