Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") Notification: Performance of loadModel(Modelica): time 1.702/1.702, allocations: 171.2 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003469/0.000347, allocations: 8 kB / 233.9 MB, free: 2.387 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08036/0.08073, allocations: 38.77 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.01095/0.09173, allocations: 6.502 MB / 279.1 MB, free: 4.992 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.006416/0.0982, allocations: 2.627 MB / 281.8 MB, free: 2.359 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009011/0.09913, allocations: 47.75 kB / 281.8 MB, free: 2.312 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001462/0.1006, allocations: 465.6 kB / 282.3 MB, free: 1.855 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002126/0.1028, allocations: 0.5958 MB / 282.9 MB, free: 1.258 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001064/0.1038, allocations: 279.6 kB / 283.1 MB, free: 0.9844 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.004506/0.1084, allocations: 2.203 MB / 285.3 MB, free: 14.78 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004711/0.1131, allocations: 2.364 MB / 287.7 MB, free: 12.38 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002436/0.1156, allocations: 1.144 MB / 288.8 MB, free: 11.23 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003019/0.1187, allocations: 1.374 MB / 290.2 MB, free: 9.852 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006669/0.1194, allocations: 192 kB / 290.4 MB, free: 9.664 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001262/0.1206, allocations: 287.8 kB / 290.7 MB, free: 9.383 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001495/0.1222, allocations: 0.8842 MB / 291.6 MB, free: 8.496 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001074/0.1233, allocations: 0.6524 MB / 292.2 MB, free: 7.836 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007321/0.1306, allocations: 4.862 MB / 297.1 MB, free: 2.961 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1306, allocations: 0 / 297.1 MB, free: 2.961 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.816e-06/0.1307, allocations: 4 kB / 297.1 MB, free: 2.957 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0001421/0.1308, allocations: 0 / 297.1 MB, free: 2.957 MB / 250.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.2246/0.3554, allocations: 3.132 MB / 300.2 MB, free: 27.21 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.46e-05/0.3555, allocations: 8.281 kB / 300.2 MB, free: 27.21 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002109/0.3576, allocations: 387.9 kB / 300.6 MB, free: 27.03 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005522/0.3632, allocations: 1.808 MB / 302.4 MB, free: 26.45 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000268/0.3635, allocations: 221.2 kB / 302.6 MB, free: 26.35 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009414/0.3645, allocations: 286.7 kB / 302.9 MB, free: 26.25 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01203/0.3765, allocations: 4.148 MB / 307.1 MB, free: 24.63 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-05/0.3766, allocations: 0 / 307.1 MB, free: 24.63 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004201/0.3771, allocations: 123.4 kB / 307.2 MB, free: 24.54 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002721/0.3773, allocations: 138.2 kB / 307.3 MB, free: 24.53 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0104/0.3878, allocations: 3.473 MB / 310.8 MB, free: 23.19 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02649/0.4143, allocations: 10.91 MB / 321.7 MB, free: 15.45 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003709/0.4181, allocations: 2.652 MB / 324.3 MB, free: 12.59 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003369/0.4184, allocations: 120.1 kB / 324.5 MB, free: 12.45 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.4185, allocations: 43.56 kB / 324.5 MB, free: 12.4 MB / 250.7 MB Notification: Performance of pre-optimization done (n=128): time 4.829e-06/0.4185, allocations: 0 / 324.5 MB, free: 12.4 MB / 250.7 MB Notification: Performance of matching and sorting (n=132): time 0.01287/0.4314, allocations: 5.552 MB / 330.1 MB, free: 6.727 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.4315, allocations: 90.42 kB / 330.1 MB, free: 6.621 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003202/0.4347, allocations: 1.791 MB / 331.9 MB, free: 4.824 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002638/0.435, allocations: 46.41 kB / 332 MB, free: 4.773 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008964/0.4359, allocations: 1.307 MB / 333.3 MB, free: 3.453 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000418/0.4363, allocations: 452.5 kB / 333.7 MB, free: 3.016 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001206/0.4364, allocations: 32 kB / 333.8 MB, free: 2.984 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.4366, allocations: 369.9 kB / 334.1 MB, free: 2.617 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001909/0.4385, allocations: 0.8198 MB / 334.9 MB, free: 1.797 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002082/0.4406, allocations: 1.19 MB / 336.1 MB, free: 472 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002889/0.4435, allocations: 1.029 MB / 337.2 MB, free: 15.43 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.085e-05/0.4436, allocations: 4 kB / 337.2 MB, free: 15.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.007523/0.4511, allocations: 2.558 MB / 339.7 MB, free: 12.86 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.088e-05/0.4512, allocations: 8.734 kB / 339.7 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.228e-05/0.4512, allocations: 19.88 kB / 339.8 MB, free: 12.83 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003505/0.4547, allocations: 0.491 MB / 340.2 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002739/0.4575, allocations: 323.5 kB / 340.6 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009219/0.4668, allocations: 4.364 MB / 344.9 MB, free: 7.523 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002083/0.4689, allocations: 84.47 kB / 345 MB, free: 7.441 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001988/0.4691, allocations: 68.05 kB / 345.1 MB, free: 7.375 MB / 266.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.002529/0.4717, allocations: 1.041 MB / 346.1 MB, free: 6.324 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006821/0.4724, allocations: 192 kB / 346.3 MB, free: 6.137 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006128/0.4785, allocations: 2.19 MB / 348.5 MB, free: 3.934 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.312e-05/0.4786, allocations: 7.969 kB / 348.5 MB, free: 3.926 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.4786, allocations: 0 / 348.5 MB, free: 3.926 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001496/0.4801, allocations: 458.7 kB / 348.9 MB, free: 3.457 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004481/0.4805, allocations: 24 kB / 349 MB, free: 3.434 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001666/0.4822, allocations: 105.1 kB / 349.1 MB, free: 3.332 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000316/0.4826, allocations: 97.16 kB / 349.2 MB, free: 3.238 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007622/0.4902, allocations: 2.362 MB / 351.5 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.007898/0.4981, allocations: 3.171 MB / 354.7 MB, free: 13.7 MB / 282.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002126/0.5003, allocations: 0.8909 MB / 355.6 MB, free: 12.81 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.002921/0.5032, allocations: 1.24 MB / 356.8 MB, free: 11.58 MB / 282.7 MB Notification: Performance of Backend: time 6.51e-07/0.5033, allocations: 4 kB / 356.8 MB, free: 11.57 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.005373/0.5087, allocations: 1.617 MB / 358.5 MB, free: 9.953 MB / 282.7 MB Notification: Performance of SimCode: time 0.01592/0.5246, allocations: 6.836 MB / 365.3 MB, free: 3.066 MB / 282.7 MB Notification: Performance of Templates: time 0.08395/0.6086, allocations: 28.58 MB / 393.9 MB, free: 6.527 MB / 314.7 MB