Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TransformerYD.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.MultiPhase.Examples.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.1..i|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TransformerYD") Notification: Performance of loadModel(Modelica): time 1.855/1.855, allocations: 171.2 MB / 186.7 MB, free: 1.027 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000438/0.000438, allocations: 8 kB / 233.9 MB, free: 2.383 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08537/0.08584, allocations: 38.77 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3769/0.4628, allocations: 71.62 MB / 344.2 MB, free: 1.836 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003539/0.4632, allocations: 73.34 kB / 344.3 MB, free: 1.801 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09582/0.5591, allocations: 19.32 MB / 363.6 MB, free: 1.398 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.976e-06/0.5592, allocations: 0 / 363.6 MB, free: 1.398 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.000147/0.5593, allocations: 32 kB / 363.7 MB, free: 1.367 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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.005904/0.5652, allocations: 1.481 MB / 365.1 MB, free: 15.91 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.706e-05/0.5653, allocations: 16.03 kB / 365.2 MB, free: 15.9 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005963/0.5659, allocations: 142.3 kB / 365.3 MB, free: 15.76 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003674/0.5696, allocations: 0.9159 MB / 366.2 MB, free: 14.97 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001343/0.5698, allocations: 82.19 kB / 366.3 MB, free: 14.93 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003922/0.5702, allocations: 107.8 kB / 366.4 MB, free: 14.86 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005461/0.5757, allocations: 1.525 MB / 367.9 MB, free: 13.76 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.436e-05/0.5758, allocations: 0 / 367.9 MB, free: 13.76 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00025/0.5761, allocations: 50.38 kB / 368 MB, free: 13.75 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.113e-05/0.5761, allocations: 24 kB / 368 MB, free: 13.72 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004863/0.581, allocations: 1.237 MB / 369.2 MB, free: 12.91 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01325/0.5943, allocations: 4.313 MB / 373.5 MB, free: 9.465 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002665/0.597, allocations: 1.325 MB / 374.9 MB, free: 8.184 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.19e-05/0.5972, allocations: 4.438 kB / 374.9 MB, free: 8.18 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.508e-05/0.5972, allocations: 42.81 kB / 374.9 MB, free: 8.133 MB / 298.7 MB Notification: Performance of pre-optimization done (n=51): time 7.183e-06/0.5973, allocations: 4 kB / 374.9 MB, free: 8.129 MB / 298.7 MB Notification: Performance of matching and sorting (n=51): time 0.004215/0.6015, allocations: 0.8697 MB / 375.8 MB, free: 7.477 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.932e-05/0.6016, allocations: 67.73 kB / 375.9 MB, free: 7.398 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002952/0.6046, allocations: 0.8156 MB / 376.7 MB, free: 6.762 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001814/0.6048, allocations: 35.95 kB / 376.7 MB, free: 6.727 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006888/0.6056, allocations: 0.5485 MB / 377.3 MB, free: 6.309 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000304/0.6059, allocations: 177.5 kB / 377.4 MB, free: 6.133 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.067e-05/0.606, allocations: 8 kB / 377.4 MB, free: 6.125 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0003968/0.6064, allocations: 382.8 kB / 377.8 MB, free: 5.742 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001333/0.6077, allocations: 304.9 kB / 378.1 MB, free: 5.445 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001309/0.6091, allocations: 398.5 kB / 378.5 MB, free: 5.023 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009885/0.6101, allocations: 357.9 kB / 378.8 MB, free: 4.676 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.578e-06/0.6101, allocations: 7.984 kB / 378.9 MB, free: 4.668 MB / 298.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002202/0.6123, allocations: 0.8144 MB / 379.7 MB, free: 3.848 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.824e-05/0.6124, allocations: 11.98 kB / 379.7 MB, free: 3.836 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.6124, allocations: 0 / 379.7 MB, free: 3.836 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.574e-05/0.6124, allocations: 8 kB / 379.7 MB, free: 3.828 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/0.6136, allocations: 143.8 kB / 379.8 MB, free: 3.688 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.156e-05/0.6136, allocations: 16.08 kB / 379.8 MB, free: 3.672 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007239/0.6144, allocations: 63.38 kB / 379.9 MB, free: 3.609 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-05/0.6144, allocations: 23.98 kB / 379.9 MB, free: 3.586 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (69): * Single equations (assignments): 69 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001044/0.6155, allocations: 461.4 kB / 380.4 MB, free: 3.125 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001894/0.6157, allocations: 71.16 kB / 380.5 MB, free: 3.055 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002458/0.616, allocations: 99.06 kB / 380.5 MB, free: 2.945 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/0.616, allocations: 4 kB / 380.6 MB, free: 2.941 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/0.616, allocations: 4 kB / 380.6 MB, free: 2.938 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.616, allocations: 0 / 380.6 MB, free: 2.938 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004766/0.6208, allocations: 1.922 MB / 382.5 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.256e-06/0.6208, allocations: 8.094 kB / 382.5 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009996/0.6218, allocations: 119.8 kB / 382.6 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.827e-06/0.6219, allocations: 3.938 kB / 382.6 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.615e-05/0.6219, allocations: 11.98 kB / 382.6 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.512e-06/0.6219, allocations: 4 kB / 382.6 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/0.622, allocations: 4 kB / 382.6 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002669/0.6246, allocations: 1.118 MB / 383.7 MB, free: 15.65 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000632/0.6253, allocations: 228.1 kB / 384 MB, free: 15.41 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001733/0.6255, allocations: 15.94 kB / 384 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000726/0.6262, allocations: 63.94 kB / 384 MB, free: 15.33 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001344/0.6264, allocations: 32.39 kB / 384.1 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.927e-05/0.6264, allocations: 12 kB / 384.1 MB, free: 15.29 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001234/0.6277, allocations: 0.5849 MB / 384.7 MB, free: 14.71 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6277, allocations: 0 / 384.7 MB, free: 14.71 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001056/0.6288, allocations: 282.8 kB / 385 MB, free: 14.43 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (transformerL.inductor[1].i,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 (51): * Single equations (assignments): 51 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002132/0.629, allocations: 115.2 kB / 385.1 MB, free: 14.31 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001754/0.6308, allocations: 0.6463 MB / 385.7 MB, free: 13.66 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.6308, allocations: 4.062 kB / 385.7 MB, free: 13.65 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00079/0.6316, allocations: 322.2 kB / 386 MB, free: 13.34 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001305/0.6329, allocations: 163 kB / 386.2 MB, free: 13.18 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006389/0.6393, allocations: 2.743 MB / 388.9 MB, free: 10.39 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001416/0.6408, allocations: 1.364 MB / 390.3 MB, free: 9.004 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.00105/0.6418, allocations: 209.8 kB / 390.5 MB, free: 8.797 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002645/0.6421, allocations: 55.42 kB / 390.6 MB, free: 8.742 MB / 314.7 MB Notification: Performance of SimCode: time 2.715e-06/0.6421, allocations: 0 / 390.6 MB, free: 8.742 MB / 314.7 MB Notification: Performance of Templates: time 0.02863/0.6708, allocations: 8.963 MB / 399.5 MB, free: 15.84 MB / 330.7 MB