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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/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.572/1.572, allocations: 171.2 MB / 186.8 MB, free: 1.039 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003558/0.0003558, allocations: 11.98 kB / 233.2 MB, free: 3.016 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0699/0.07029, allocations: 38.77 MB / 272 MB, free: 12.16 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2905/0.3608, allocations: 71.07 MB / 343.1 MB, free: 2.824 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000236/0.3611, allocations: 72.34 kB / 343.2 MB, free: 2.785 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07415/0.4353, allocations: 18.84 MB / 362 MB, free: 2.785 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.61e-06/0.4353, allocations: 0 / 362 MB, free: 2.785 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001502/0.4355, allocations: 32 kB / 362 MB, free: 2.754 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.004267/0.4398, allocations: 1.449 MB / 363.5 MB, free: 1.332 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.4398, allocations: 12.03 kB / 363.5 MB, free: 1.32 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006037/0.4405, allocations: 146.3 kB / 363.6 MB, free: 1.176 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002242/0.4427, allocations: 0.8559 MB / 364.5 MB, free: 452 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001144/0.4429, allocations: 87.23 kB / 364.6 MB, free: 400 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003864/0.4433, allocations: 108.2 kB / 364.7 MB, free: 328 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003967/0.4473, allocations: 1.498 MB / 366.2 MB, free: 15.24 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.208e-05/0.4473, allocations: 0 / 366.2 MB, free: 15.24 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001907/0.4475, allocations: 52.56 kB / 366.2 MB, free: 15.23 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.099e-05/0.4476, allocations: 28 kB / 366.2 MB, free: 15.2 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00327/0.4509, allocations: 1.231 MB / 367.5 MB, free: 14.39 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0102/0.4611, allocations: 4.256 MB / 371.7 MB, free: 10.98 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001724/0.4629, allocations: 1.322 MB / 373.1 MB, free: 9.707 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.778e-05/0.463, allocations: 8.438 kB / 373.1 MB, free: 9.699 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.328e-05/0.463, allocations: 34.81 kB / 373.1 MB, free: 9.66 MB / 298.7 MB Notification: Performance of pre-optimization done (n=49): time 3.873e-06/0.4631, allocations: 0 / 373.1 MB, free: 9.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=50): time 0.004817/0.4679, allocations: 1.974 MB / 375.1 MB, free: 8.09 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.44e-05/0.468, allocations: 55.84 kB / 375.1 MB, free: 8.023 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001465/0.4695, allocations: 0.7398 MB / 375.9 MB, free: 7.445 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001097/0.4696, allocations: 36.2 kB / 375.9 MB, free: 7.41 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004715/0.4701, allocations: 0.562 MB / 376.5 MB, free: 6.965 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002344/0.4703, allocations: 179.9 kB / 376.6 MB, free: 6.812 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.32e-05/0.4704, allocations: 10.69 kB / 376.7 MB, free: 6.809 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001889/0.4706, allocations: 336.3 kB / 377 MB, free: 6.477 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007204/0.4713, allocations: 308.9 kB / 377.3 MB, free: 6.176 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007948/0.4721, allocations: 415.9 kB / 377.7 MB, free: 5.734 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007962/0.473, allocations: 374 kB / 378.1 MB, free: 5.375 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.717e-06/0.473, allocations: 4 kB / 378.1 MB, free: 5.371 MB / 298.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002009/0.475, allocations: 0.8742 MB / 378.9 MB, free: 4.484 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/0.4751, allocations: 4 kB / 378.9 MB, free: 4.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.4751, allocations: 4 kB / 378.9 MB, free: 4.477 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003965/0.4755, allocations: 112.7 kB / 379 MB, free: 4.363 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007312/0.4762, allocations: 128 kB / 379.2 MB, free: 4.238 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003326/0.4796, allocations: 2.189 MB / 381.4 MB, free: 1.91 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006783/0.4803, allocations: 28.22 kB / 381.4 MB, free: 1.883 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.309e-05/0.4804, allocations: 20 kB / 381.4 MB, free: 1.863 MB / 298.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * 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.001054/0.4815, allocations: 457.5 kB / 381.9 MB, free: 1.406 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002524/0.4818, allocations: 83.06 kB / 381.9 MB, free: 1.324 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002445/0.482, allocations: 91.06 kB / 382 MB, free: 1.234 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.238e-05/0.482, allocations: 8 kB / 382 MB, free: 1.227 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.285e-05/0.4821, allocations: 3.953 kB / 382 MB, free: 1.223 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.388e-06/0.4821, allocations: 0 / 382 MB, free: 1.223 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004973/0.4871, allocations: 2.02 MB / 384.1 MB, free: 15.13 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.4871, allocations: 0 / 384.1 MB, free: 15.13 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005266/0.4877, allocations: 95.94 kB / 384.2 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00035/0.488, allocations: 100.8 kB / 384.2 MB, free: 14.94 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-05/0.4881, allocations: 15.98 kB / 384.3 MB, free: 14.92 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003144/0.4913, allocations: 2.15 MB / 386.4 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.404e-06/0.4913, allocations: 0 / 386.4 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00269/0.494, allocations: 1.23 MB / 387.6 MB, free: 11.37 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006214/0.4947, allocations: 232.2 kB / 387.9 MB, free: 11.12 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001723/0.4949, allocations: 15.98 kB / 387.9 MB, free: 11.11 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006/0.4955, allocations: 47.95 kB / 387.9 MB, free: 11.06 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001341/0.4956, allocations: 32.67 kB / 388 MB, free: 11.03 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.76e-05/0.4957, allocations: 27.92 kB / 388 MB, free: 11 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001165/0.4969, allocations: 0.581 MB / 388.6 MB, free: 10.42 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.058e-06/0.4969, allocations: 3.938 kB / 388.6 MB, free: 10.42 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001236/0.4982, allocations: 216 kB / 388.8 MB, free: 10.21 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (transformerL.inductor[2].i,transformerL.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 40 * 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.0002382/0.4984, allocations: 111.2 kB / 388.9 MB, free: 10.09 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002056/0.5005, allocations: 0.8363 MB / 389.7 MB, free: 9.23 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.796e-06/0.5005, allocations: 0.625 kB / 389.7 MB, free: 9.23 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001108/0.5017, allocations: 488.9 kB / 390.2 MB, free: 8.742 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001196/0.5029, allocations: 165.2 kB / 390.4 MB, free: 8.586 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005624/0.5086, allocations: 2.619 MB / 393 MB, free: 5.918 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001468/0.5101, allocations: 1.336 MB / 394.3 MB, free: 4.555 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003012/0.5104, allocations: 59.42 kB / 394.4 MB, free: 4.496 MB / 314.7 MB Notification: Performance of SimCode: time 1.923e-06/0.5104, allocations: 0 / 394.4 MB, free: 4.496 MB / 314.7 MB Notification: Performance of Templates: time 0.03283/0.5432, allocations: 18.16 MB / 412.5 MB, free: 2.367 MB / 330.7 MB