Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.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.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") Notification: Performance of loadModel(Modelica): time 1.969/1.969, allocations: 171.1 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004758/0.0004759, allocations: 8 kB / 233.9 MB, free: 2.387 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1124, allocations: 38.77 MB / 272.6 MB, free: 11.53 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3761/0.4886, allocations: 82.49 MB / 355.1 MB, free: 6.918 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000361/0.489, allocations: 90.62 kB / 355.2 MB, free: 6.867 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4501/0.9391, allocations: 74.86 MB / 430.1 MB, free: 1.617 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.885e-06/0.9392, allocations: 0 / 430.1 MB, free: 1.617 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.000469/0.9397, allocations: 79.88 kB / 430.1 MB, free: 1.539 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 772 * Number of variables: 772 Notification: Performance of Generate backend data structure: time 0.3431/1.283, allocations: 3.13 MB / 433.3 MB, free: 63.24 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.73e-05/1.283, allocations: 9.625 kB / 433.3 MB, free: 63.24 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003521/1.286, allocations: 399.6 kB / 433.7 MB, free: 63.06 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01029/1.297, allocations: 1.985 MB / 435.7 MB, free: 62.76 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004719/1.297, allocations: 223.4 kB / 435.9 MB, free: 62.75 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001696/1.299, allocations: 285 kB / 436.2 MB, free: 62.75 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01797/1.317, allocations: 4.13 MB / 440.3 MB, free: 62.28 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.277e-05/1.317, allocations: 0 / 440.3 MB, free: 62.28 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005116/1.318, allocations: 127.5 kB / 440.4 MB, free: 62.28 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002231/1.318, allocations: 136.9 kB / 440.5 MB, free: 62.27 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0105/1.328, allocations: 3.22 MB / 443.8 MB, free: 62.24 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02871/1.357, allocations: 10.93 MB / 454.7 MB, free: 60.75 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004247/1.362, allocations: 2.63 MB / 457.3 MB, free: 59.59 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005523/1.362, allocations: 141.4 kB / 457.5 MB, free: 59.49 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.233e-05/1.362, allocations: 47.52 kB / 457.5 MB, free: 59.45 MB / 346.7 MB Notification: Performance of pre-optimization done (n=128): time 5.3e-06/1.362, allocations: 0 / 457.5 MB, free: 59.45 MB / 346.7 MB Notification: Performance of matching and sorting (n=132): time 0.01507/1.377, allocations: 5.664 MB / 463.2 MB, free: 58.08 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.674e-05/1.377, allocations: 93.83 kB / 463.3 MB, free: 57.99 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003677/1.381, allocations: 1.796 MB / 465.1 MB, free: 57.81 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003505/1.382, allocations: 50.77 kB / 465.1 MB, free: 57.78 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001081/1.383, allocations: 1.304 MB / 466.4 MB, free: 57.09 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005987/1.383, allocations: 453.5 kB / 466.9 MB, free: 56.75 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001489/1.383, allocations: 30.75 kB / 466.9 MB, free: 56.72 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001437/1.384, allocations: 362.8 kB / 467.2 MB, free: 56.4 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001997/1.386, allocations: 0.8246 MB / 468.1 MB, free: 56.11 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002262/1.388, allocations: 1.174 MB / 469.2 MB, free: 55.41 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002328/1.39, allocations: 1.022 MB / 470.3 MB, free: 55.01 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.01e-05/1.39, allocations: 3.156 kB / 470.3 MB, free: 55.01 MB / 346.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.006598/1.397, allocations: 2.547 MB / 472.8 MB, free: 54.09 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.496e-05/1.397, allocations: 7.344 kB / 472.8 MB, free: 54.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.64e-05/1.397, allocations: 13.06 kB / 472.8 MB, free: 54.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001544/1.399, allocations: 381.6 kB / 473.2 MB, free: 53.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002548/1.401, allocations: 327.2 kB / 473.5 MB, free: 53.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007867/1.409, allocations: 4.353 MB / 477.9 MB, free: 51.22 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002311/1.411, allocations: 91.95 kB / 478 MB, free: 51.19 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002284/1.412, allocations: 67 kB / 478 MB, free: 51.18 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (153): * Single equations (assignments): 148 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(2,100.0%) 29} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002534/1.414, allocations: 1.041 MB / 479.1 MB, free: 50.68 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007168/1.415, allocations: 188 kB / 479.3 MB, free: 50.58 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005575/1.42, allocations: 2.211 MB / 481.5 MB, free: 49.71 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.93e-05/1.421, allocations: 14.91 kB / 481.5 MB, free: 49.71 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.939e-06/1.421, allocations: 3.906 kB / 481.5 MB, free: 49.71 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.905e-05/1.421, allocations: 10.83 kB / 481.5 MB, free: 49.71 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0139/1.435, allocations: 5.124 MB / 486.6 MB, free: 47.68 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.517e-05/1.435, allocations: 6.812 kB / 486.6 MB, free: 47.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00195/1.437, allocations: 229.1 kB / 486.8 MB, free: 47.67 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001536/1.438, allocations: 353.5 kB / 487.2 MB, free: 47.57 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002692/1.438, allocations: 30.58 kB / 487.2 MB, free: 47.56 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007621/1.446, allocations: 4.282 MB / 491.5 MB, free: 44.84 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/1.446, allocations: 7.25 kB / 491.5 MB, free: 44.84 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007982/1.454, allocations: 3.269 MB / 494.8 MB, free: 43.48 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001752/1.456, allocations: 460.4 kB / 495.2 MB, free: 43.2 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006397/1.457, allocations: 35.05 kB / 495.3 MB, free: 43.17 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001774/1.458, allocations: 99.78 kB / 495.4 MB, free: 43.16 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003214/1.459, allocations: 88.22 kB / 495.4 MB, free: 43.14 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001375/1.459, allocations: 40.38 kB / 495.5 MB, free: 43.14 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002544/1.461, allocations: 1.248 MB / 496.7 MB, free: 42.67 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.81e-07/1.461, allocations: 0 / 496.7 MB, free: 42.67 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002948/1.464, allocations: 0.5598 MB / 497.3 MB, free: 42.62 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (transformer.l2sigma.inductor[2].i,transformer.l2sigma.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 (98): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(2,100.0%) 29} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006767/1.465, allocations: 209.8 kB / 497.5 MB, free: 42.51 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.005569/1.471, allocations: 2.342 MB / 499.8 MB, free: 41.55 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.044e-06/1.471, allocations: 0 / 499.8 MB, free: 41.55 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003134/1.474, allocations: 1.324 MB / 0.4894 GB, free: 40.93 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003514/1.478, allocations: 482.1 kB / 0.4899 GB, free: 40.8 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01403/1.492, allocations: 6.595 MB / 0.4963 GB, free: 37.35 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002765/1.494, allocations: 2.465 MB / 0.4987 GB, free: 35.99 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.002372/1.497, allocations: 467.8 kB / 0.4992 GB, free: 35.67 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006/1.497, allocations: 111.4 kB / 0.4993 GB, free: 35.56 MB / 346.7 MB Notification: Performance of SimCode: time 1.413e-06/1.497, allocations: 7.062 kB / 0.4993 GB, free: 35.56 MB / 346.7 MB Notification: Performance of Templates: time 0.07747/1.575, allocations: 27.48 MB / 0.5261 GB, free: 16.3 MB / 346.7 MB