Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.2_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY") Notification: Performance of loadModel(Modelica): time 1.843/1.843, allocations: 194.9 MB / 211.7 MB, free: 2.98 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000359/0.0003591, allocations: 8 kB / 263.9 MB, free: 13.56 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07888/0.07926, allocations: 44.49 MB / 308.4 MB, free: 1 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3562/0.4355, allocations: 76.27 MB / 384.7 MB, free: 18.82 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002343/0.4358, allocations: 73.34 kB / 384.8 MB, free: 18.82 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06398/0.4998, allocations: 18.52 MB / 403.3 MB, free: 16.25 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.554e-06/0.4999, allocations: 0 / 403.3 MB, free: 16.25 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.84e-05/0.5, allocations: 30.88 kB / 403.3 MB, free: 16.24 MB / 314.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.002954/0.5029, allocations: 1.452 MB / 404.8 MB, free: 15.31 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.503, allocations: 7.812 kB / 404.8 MB, free: 15.31 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003539/0.5033, allocations: 144.1 kB / 404.9 MB, free: 15.24 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001626/0.505, allocations: 0.8532 MB / 405.8 MB, free: 14.81 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.57e-05/0.5051, allocations: 85.03 kB / 405.9 MB, free: 14.8 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001992/0.5053, allocations: 108.3 kB / 406 MB, free: 14.8 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002985/0.5083, allocations: 1.505 MB / 407.5 MB, free: 14.33 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.239e-05/0.5084, allocations: 0 / 407.5 MB, free: 14.33 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001466/0.5085, allocations: 48.28 kB / 407.5 MB, free: 14.33 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.3e-05/0.5086, allocations: 27.16 kB / 407.6 MB, free: 14.33 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002677/0.5112, allocations: 1.235 MB / 408.8 MB, free: 14.11 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008333/0.5196, allocations: 4.258 MB / 413 MB, free: 12.14 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00119/0.5208, allocations: 1.305 MB / 414.4 MB, free: 11.17 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.538e-05/0.5209, allocations: 12.12 kB / 414.4 MB, free: 11.17 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.5209, allocations: 42.16 kB / 414.4 MB, free: 11.12 MB / 314.7 MB Notification: Performance of pre-optimization done (n=49): time 4.037e-06/0.521, allocations: 0 / 414.4 MB, free: 11.12 MB / 314.7 MB Notification: Performance of matching and sorting (n=50): time 0.003965/0.5249, allocations: 1.969 MB / 416.4 MB, free: 10.38 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.396e-05/0.525, allocations: 63.55 kB / 416.4 MB, free: 10.32 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001185/0.5262, allocations: 0.7375 MB / 417.2 MB, free: 10.07 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.007e-05/0.5263, allocations: 33.39 kB / 417.2 MB, free: 10.04 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002783/0.5266, allocations: 0.5562 MB / 417.8 MB, free: 9.656 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001243/0.5267, allocations: 171.4 kB / 417.9 MB, free: 9.535 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.83e-05/0.5268, allocations: 7.75 kB / 417.9 MB, free: 9.535 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.077e-05/0.5269, allocations: 338.1 kB / 418.3 MB, free: 9.215 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006104/0.5275, allocations: 311.9 kB / 418.6 MB, free: 9.152 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006485/0.5281, allocations: 403.9 kB / 419 MB, free: 8.988 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006943/0.5289, allocations: 380 kB / 419.3 MB, free: 8.922 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.752e-06/0.5289, allocations: 0 / 419.3 MB, free: 8.922 MB / 314.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001698/0.5306, allocations: 0.878 MB / 420.2 MB, free: 8.695 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.5306, allocations: 4.562 kB / 420.2 MB, free: 8.695 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.5306, allocations: 3.969 kB / 420.2 MB, free: 8.695 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003446/0.531, allocations: 107.2 kB / 420.3 MB, free: 8.668 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006811/0.5317, allocations: 132.1 kB / 420.5 MB, free: 8.637 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002372/0.5341, allocations: 2.197 MB / 422.7 MB, free: 7.094 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000674/0.5348, allocations: 30.8 kB / 422.7 MB, free: 7.086 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-05/0.5349, allocations: 22.45 kB / 422.7 MB, free: 7.082 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 () * 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.0008441/0.5357, allocations: 453.5 kB / 423.1 MB, free: 6.895 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001573/0.5359, allocations: 74.05 kB / 423.2 MB, free: 6.855 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000168/0.5361, allocations: 92.11 kB / 423.3 MB, free: 6.832 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.44e-06/0.5361, allocations: 3.969 kB / 423.3 MB, free: 6.832 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/0.5361, allocations: 3.938 kB / 423.3 MB, free: 6.832 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.308e-06/0.5361, allocations: 7.984 kB / 423.3 MB, free: 6.824 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003879/0.54, allocations: 2.008 MB / 425.3 MB, free: 6.074 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.195e-06/0.5401, allocations: 0 / 425.3 MB, free: 6.074 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004434/0.5405, allocations: 93.34 kB / 425.4 MB, free: 6.055 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002941/0.5408, allocations: 115 kB / 425.5 MB, free: 6.012 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.398e-05/0.5409, allocations: 11.12 kB / 425.5 MB, free: 6.012 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002201/0.5431, allocations: 2.15 MB / 427.7 MB, free: 4.477 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.169e-06/0.5431, allocations: 0 / 427.7 MB, free: 4.477 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002179/0.5453, allocations: 1.235 MB / 428.9 MB, free: 4.047 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002375/0.5456, allocations: 158.5 kB / 429.1 MB, free: 3.91 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001322/0.5457, allocations: 11.41 kB / 429.1 MB, free: 3.91 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005804/0.5463, allocations: 55.89 kB / 429.2 MB, free: 3.895 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/0.5465, allocations: 42.84 kB / 429.2 MB, free: 3.875 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.234e-05/0.5465, allocations: 11.44 kB / 429.2 MB, free: 3.875 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0009057/0.5475, allocations: 0.5835 MB / 429.8 MB, free: 3.684 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.64e-07/0.5475, allocations: 0 / 429.8 MB, free: 3.684 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009767/0.5485, allocations: 209.1 kB / 430 MB, free: 3.684 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.000164/0.5486, allocations: 121.4 kB / 430.1 MB, free: 3.586 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001503/0.5501, allocations: 0.8358 MB / 430.9 MB, free: 3.312 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.921e-06/0.5502, allocations: 3.938 kB / 431 MB, free: 3.309 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009155/0.5511, allocations: 493.1 kB / 431.4 MB, free: 3.109 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001082/0.5522, allocations: 167.2 kB / 431.6 MB, free: 3.066 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004076/0.5563, allocations: 2.604 MB / 434.2 MB, free: 1.48 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009525/0.5573, allocations: 1.333 MB / 435.5 MB, free: 460 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002825/0.5576, allocations: 54.05 kB / 435.6 MB, free: 448 kB / 314.7 MB Notification: Performance of SimCode: time 1.498e-06/0.5576, allocations: 0 / 435.6 MB, free: 448 kB / 314.7 MB Notification: Performance of Templates: time 0.065/0.6226, allocations: 18.16 MB / 453.7 MB, free: 0.9922 MB / 330.7 MB