Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY") Notification: Performance of loadModel(Modelica): time 1.547/1.547, allocations: 171.3 MB / 179.2 MB, free: 7.586 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 1.305e-05/1.311e-05, allocations: 0 / 222.5 MB, free: 8.715 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1033, allocations: 38.76 MB / 261.3 MB, free: 1.863 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2819/0.3852, allocations: 70.34 MB / 331.6 MB, free: 2.031 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002134/0.3855, allocations: 75.7 kB / 331.7 MB, free: 1.992 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07132/0.4568, allocations: 18.68 MB / 350.4 MB, free: 2.367 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.768e-06/0.4568, allocations: 0 / 350.4 MB, free: 2.367 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.051e-05/0.457, allocations: 36 kB / 350.4 MB, free: 2.332 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.002928/0.4599, allocations: 1.33 MB / 351.7 MB, free: 1.027 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.46, allocations: 8.031 kB / 351.7 MB, free: 1.02 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003962/0.4604, allocations: 142.3 kB / 351.9 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00197/0.4623, allocations: 0.8537 MB / 352.7 MB, free: 152 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.677e-05/0.4624, allocations: 36.34 kB / 352.8 MB, free: 116 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002107/0.4626, allocations: 71.86 kB / 352.8 MB, free: 44 kB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002609/0.4653, allocations: 1.107 MB / 353.9 MB, free: 15 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00286/0.4682, allocations: 1.306 MB / 355.2 MB, free: 13.63 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.204e-05/0.4682, allocations: 3.938 kB / 355.2 MB, free: 13.62 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001313/0.4683, allocations: 3.984 kB / 355.3 MB, free: 13.62 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.427e-05/0.4684, allocations: 28 kB / 355.3 MB, free: 13.59 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008623/0.477, allocations: 4.045 MB / 359.3 MB, free: 9.434 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001508/0.4786, allocations: 1.266 MB / 360.6 MB, free: 7.996 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008274/0.4794, allocations: 434.6 kB / 361 MB, free: 7.566 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.108e-05/0.4795, allocations: 4.438 kB / 361 MB, free: 7.562 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.785e-05/0.4795, allocations: 39 kB / 361.1 MB, free: 7.516 MB / 298.7 MB Notification: Performance of pre-optimization done (n=49): time 3.605e-06/0.4795, allocations: 0 / 361.1 MB, free: 7.516 MB / 298.7 MB Notification: Performance of matching and sorting (n=51): time 0.003527/0.4831, allocations: 1.556 MB / 362.6 MB, free: 5.895 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.153e-05/0.4832, allocations: 63.84 kB / 362.7 MB, free: 5.82 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001298/0.4845, allocations: 0.6752 MB / 363.4 MB, free: 5.137 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.281e-05/0.4846, allocations: 25.7 kB / 363.4 MB, free: 5.105 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004886/0.4851, allocations: 0.5634 MB / 363.9 MB, free: 4.535 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001965/0.4853, allocations: 173.4 kB / 364.1 MB, free: 4.363 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.309e-05/0.4853, allocations: 0 / 364.1 MB, free: 4.363 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001868/0.4855, allocations: 326.8 kB / 364.4 MB, free: 4.035 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005425/0.4861, allocations: 280.9 kB / 364.7 MB, free: 3.762 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006478/0.4868, allocations: 370.3 kB / 365.1 MB, free: 3.367 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006262/0.4874, allocations: 329.9 kB / 365.4 MB, free: 3.047 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.662e-06/0.4874, allocations: 4 kB / 365.4 MB, free: 3.043 MB / 298.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001625/0.4891, allocations: 0.7763 MB / 366.2 MB, free: 2.254 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.4891, allocations: 8.312 kB / 366.2 MB, free: 2.246 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/0.4891, allocations: 4 kB / 366.2 MB, free: 2.242 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003746/0.4895, allocations: 108.7 kB / 366.3 MB, free: 2.133 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006591/0.4902, allocations: 127.8 kB / 366.4 MB, free: 2.008 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002925/0.4931, allocations: 2.087 MB / 368.5 MB, free: 15.81 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005301/0.4937, allocations: 15.98 kB / 368.5 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.481e-05/0.4938, allocations: 19.98 kB / 368.5 MB, free: 15.77 MB / 314.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * 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%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001823/0.494, allocations: 116.8 kB / 368.6 MB, free: 15.65 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001652/0.4941, allocations: 75.16 kB / 368.7 MB, free: 15.58 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002255/0.4944, allocations: 82.92 kB / 368.8 MB, free: 15.49 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/0.4944, allocations: 8 kB / 368.8 MB, free: 15.48 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-05/0.4944, allocations: 3.984 kB / 368.8 MB, free: 15.48 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.043e-06/0.4944, allocations: 7.922 kB / 368.8 MB, free: 15.47 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003963/0.4984, allocations: 1.8 MB / 370.6 MB, free: 13.61 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.127e-06/0.4984, allocations: 0 / 370.6 MB, free: 13.61 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004767/0.4989, allocations: 96.05 kB / 370.7 MB, free: 13.51 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003328/0.4993, allocations: 112.8 kB / 370.8 MB, free: 13.4 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.555e-05/0.4993, allocations: 7.984 kB / 370.8 MB, free: 13.39 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002755/0.5021, allocations: 2.036 MB / 372.9 MB, free: 11.24 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.812e-06/0.5021, allocations: 64 / 372.9 MB, free: 11.24 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002095/0.5042, allocations: 1.177 MB / 374 MB, free: 9.996 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004575/0.5047, allocations: 220.2 kB / 374.3 MB, free: 9.762 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001185/0.5049, allocations: 8 kB / 374.3 MB, free: 9.754 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005417/0.5054, allocations: 44.02 kB / 374.3 MB, free: 9.711 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001311/0.5056, allocations: 44.31 kB / 374.4 MB, free: 9.664 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.245e-05/0.5056, allocations: 19.98 kB / 374.4 MB, free: 9.645 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0009698/0.5066, allocations: 0.5264 MB / 374.9 MB, free: 9.125 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.6e-07/0.5066, allocations: 0 / 374.9 MB, free: 9.125 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00104/0.5077, allocations: 192 kB / 375.1 MB, free: 8.938 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (transformerL.inductor[2].i,transformerL.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 42 * 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%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002047/0.5079, allocations: 103.2 kB / 375.2 MB, free: 8.824 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001527/0.5094, allocations: 0.7398 MB / 375.9 MB, free: 8.078 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.754e-06/0.5095, allocations: 8.125 kB / 375.9 MB, free: 8.07 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009684/0.5105, allocations: 451.1 kB / 376.4 MB, free: 7.617 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/0.5115, allocations: 150.6 kB / 376.5 MB, free: 7.473 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004176/0.5157, allocations: 1.723 MB / 378.2 MB, free: 5.703 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001372/0.5171, allocations: 1.34 MB / 379.6 MB, free: 4.328 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002724/0.5174, allocations: 47.44 kB / 379.6 MB, free: 4.281 MB / 314.7 MB Notification: Performance of SimCode: time 1.658e-06/0.5174, allocations: 0 / 379.6 MB, free: 4.281 MB / 314.7 MB Notification: Performance of Templates: time 0.02995/0.5474, allocations: 17.82 MB / 397.5 MB, free: 2.461 MB / 330.7 MB