Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Electrical.QuasiStationary.Machines.Examples.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.QuasiStationary.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|source.plug_p.reference.gamma|source.voltageSource.2..pin_p.reference.gamma|source.voltageSource.3..pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench") Notification: Performance of loadModel(Modelica): time 1.609/1.609, allocations: 171.2 MB / 187.3 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003694/0.0003695, allocations: 4 kB / 233.8 MB, free: 3.07 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08887/0.08928, allocations: 38.77 MB / 272.5 MB, free: 12.23 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3679/0.4572, allocations: 85.18 MB / 357.7 MB, free: 4.953 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003109/0.4576, allocations: 91.58 kB / 357.8 MB, free: 4.906 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.92/4.378, allocations: 0.778 GB / 1.127 GB, free: 7.836 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.537e-06/4.378, allocations: 0 / 1.127 GB, free: 7.836 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.001311/4.379, allocations: 387.5 kB / 1.128 GB, free: 7.457 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4707 * Number of variables: 4707 Notification: Performance of Generate backend data structure: time 0.8669/5.246, allocations: 15.69 MB / 1.143 GB, free: 16.46 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.703e-05/5.246, allocations: 11.56 kB / 1.143 GB, free: 16.46 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0144/5.26, allocations: 2.073 MB / 1.145 GB, free: 15.63 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03616/5.297, allocations: 10.59 MB / 1.155 GB, free: 14.45 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002799/5.299, allocations: 1.263 MB / 1.157 GB, free: 14.41 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008522/5.308, allocations: 1.627 MB / 1.158 GB, free: 14.41 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09515/5.403, allocations: 28 MB / 1.186 GB, free: 12.29 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001011/5.404, allocations: 22.5 kB / 1.186 GB, free: 12.28 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006935/5.411, allocations: 0.7043 MB / 1.186 GB, free: 12.28 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001239/5.413, allocations: 0.7393 MB / 1.187 GB, free: 12.28 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06505/5.478, allocations: 20.54 MB / 1.207 GB, free: 12.14 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3013/5.779, allocations: 86.08 MB / 1.291 GB, free: 14.74 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03311/5.812, allocations: 13.91 MB / 1.305 GB, free: 2.102 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001572/5.814, allocations: 242 kB / 1.305 GB, free: 1.922 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001514/5.814, allocations: 127.5 kB / 1.305 GB, free: 1.789 MB / 458.8 MB Notification: Performance of pre-optimization done (n=1122): time 1.791e-05/5.814, allocations: 0 / 1.305 GB, free: 1.789 MB / 458.8 MB Notification: Performance of matching and sorting (n=1122): time 1.315/7.129, allocations: 84.99 MB / 1.388 GB, free: 46.55 MB / 458.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001663/7.13, allocations: 211.8 kB / 1.388 GB, free: 46.39 MB / 458.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0111/7.141, allocations: 3.341 MB / 1.392 GB, free: 46.16 MB / 458.9 MB Notification: Performance of collectPreVariables (initialization): time 0.00297/7.144, allocations: 149.4 kB / 1.392 GB, free: 46.12 MB / 458.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.005105/7.149, allocations: 5.403 MB / 1.397 GB, free: 43.24 MB / 458.9 MB Notification: Performance of collectInitialBindings (initialization): time 0.00837/7.157, allocations: 3.657 MB / 1.401 GB, free: 40.84 MB / 458.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003366/7.161, allocations: 152.1 kB / 1.401 GB, free: 40.84 MB / 458.9 MB Notification: Performance of setup shared object (initialization): time 0.001923/7.163, allocations: 0.7443 MB / 1.401 GB, free: 40.51 MB / 458.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.028/7.191, allocations: 7.72 MB / 1.409 GB, free: 40.49 MB / 458.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02338/7.214, allocations: 9.278 MB / 1.418 GB, free: 39.1 MB / 458.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02454/7.239, allocations: 9.26 MB / 1.427 GB, free: 38.93 MB / 458.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001199/7.239, allocations: 9.812 kB / 1.427 GB, free: 38.93 MB / 458.9 MB Notification: Performance of matching and sorting (n=1307) (initialization): time 0.07785/7.317, allocations: 23.03 MB / 1.45 GB, free: 22.91 MB / 458.9 MB Notification: Performance of prepare postOptimizeDAE: time 6.469e-05/7.317, allocations: 21.09 kB / 1.45 GB, free: 22.89 MB / 458.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001701/7.317, allocations: 36 kB / 1.45 GB, free: 22.86 MB / 458.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03327/7.35, allocations: 11.02 MB / 1.46 GB, free: 13.41 MB / 458.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00698/7.357, allocations: 0.8961 MB / 1.461 GB, free: 12.73 MB / 458.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4715/7.829, allocations: 23.45 MB / 1.484 GB, free: 54.87 MB / 458.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009317/7.838, allocations: 0.85 MB / 1.485 GB, free: 54.66 MB / 458.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003153/7.841, allocations: 360.9 kB / 1.485 GB, free: 54.66 MB / 458.9 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 158 * 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 (540): * Single equations (assignments): 395 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 137 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {6 9,6 9,6 9,6 9,6 9,54 302,6 9,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.02325/7.865, allocations: 6.758 MB / 1.492 GB, free: 54.52 MB / 458.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004421/7.869, allocations: 0.5623 MB / 1.492 GB, free: 54.48 MB / 458.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07272/7.942, allocations: 24.03 MB / 1.516 GB, free: 53.93 MB / 458.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.06221/8.004, allocations: 21.48 MB / 1.537 GB, free: 53.54 MB / 458.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.018e-05/8.004, allocations: 2.969 kB / 1.537 GB, free: 53.54 MB / 458.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001569/8.004, allocations: 38.16 kB / 1.537 GB, free: 53.54 MB / 458.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1273/8.132, allocations: 44.92 MB / 1.581 GB, free: 39.8 MB / 458.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002008/8.132, allocations: 6.734 kB / 1.581 GB, free: 39.8 MB / 458.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005156/8.137, allocations: 0.5661 MB / 1.581 GB, free: 39.78 MB / 458.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03338/8.171, allocations: 11 MB / 1.592 GB, free: 36.68 MB / 458.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002724/8.173, allocations: 225 kB / 1.592 GB, free: 36.56 MB / 458.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04675/8.22, allocations: 22.78 MB / 1.615 GB, free: 18.55 MB / 458.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/8.22, allocations: 0 / 1.615 GB, free: 18.55 MB / 458.9 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5226/8.743, allocations: 35.69 MB / 1.649 GB, free: 76.66 MB / 474.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.009549/8.753, allocations: 2.434 MB / 1.652 GB, free: 76.43 MB / 474.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004182/8.757, allocations: 131.5 kB / 1.652 GB, free: 76.43 MB / 474.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008027/8.765, allocations: 261.5 kB / 1.652 GB, free: 76.43 MB / 474.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004467/8.769, allocations: 0.886 MB / 1.653 GB, free: 76.43 MB / 474.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002914/8.772, allocations: 270.9 kB / 1.653 GB, free: 76.43 MB / 474.9 MB Notification: Performance of sorting global known variables: time 0.006764/8.779, allocations: 2.311 MB / 1.656 GB, free: 76.28 MB / 474.9 MB Notification: Performance of sort global known variables: time 6.62e-07/8.779, allocations: 1.656 kB / 1.656 GB, free: 76.28 MB / 474.9 MB Notification: Performance of remove unused functions: time 0.01874/8.798, allocations: 3.745 MB / 1.659 GB, free: 75.29 MB / 474.9 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (source.voltageSource[1].pin_p.reference.gamma,source.voltageSource[3].pin_p.reference.gamma,source.voltageSource[2].pin_p.reference.gamma) * 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 (356): * Single equations (assignments): 211 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 137 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {6 9,6 9,6 9,6 9,6 9,54 302,6 9,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.003353/8.801, allocations: 349.1 kB / 1.66 GB, free: 75.2 MB / 474.9 MB Notification: Performance of simCode: created initialization part: time 0.07039/8.872, allocations: 18.67 MB / 1.678 GB, free: 74.8 MB / 474.9 MB Notification: Performance of simCode: created event and clocks part: time 9.838e-06/8.872, allocations: 3.531 kB / 1.678 GB, free: 74.8 MB / 474.9 MB Notification: Performance of simCode: created simulation system equations: time 0.0324/8.904, allocations: 9.892 MB / 1.687 GB, free: 74.55 MB / 474.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01454/8.919, allocations: 1.32 MB / 1.689 GB, free: 74.5 MB / 474.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1065/9.025, allocations: 39.83 MB / 1.728 GB, free: 61.12 MB / 474.9 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02793/9.053, allocations: 11.21 MB / 1.739 GB, free: 59.93 MB / 474.9 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002219/9.056, allocations: 263.8 kB / 1.739 GB, free: 59.92 MB / 474.9 MB Notification: Performance of SimCode: time 1.322e-06/9.056, allocations: 0 / 1.739 GB, free: 59.92 MB / 474.9 MB Notification: Performance of Templates: time 4.026/13.08, allocations: 0.9427 GB / 2.682 GB, free: 95.98 MB / 0.495 GB