Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_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_cpp_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") Notification: Performance of loadModel(Modelica): time 1.64/1.64, allocations: 171.2 MB / 187.3 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003446/0.0003447, allocations: 12 kB / 233.8 MB, free: 3.066 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08004/0.08042, allocations: 38.77 MB / 272.6 MB, free: 12.22 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3679/0.4484, allocations: 82.49 MB / 355 MB, free: 7.527 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003221/0.4487, allocations: 94.33 kB / 355.1 MB, free: 7.477 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3097/0.7585, allocations: 74.86 MB / 430 MB, free: 2.254 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.266e-06/0.7585, allocations: 4 kB / 430 MB, free: 2.25 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003795/0.7589, allocations: 87.86 kB / 430.1 MB, free: 2.164 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.2407/0.9997, allocations: 3.118 MB / 433.2 MB, free: 63.01 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.9997, allocations: 9.625 kB / 433.2 MB, free: 63.01 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002397/1.002, allocations: 401.6 kB / 433.6 MB, free: 62.83 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006766/1.009, allocations: 1.985 MB / 435.6 MB, free: 62.52 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003588/1.009, allocations: 227.2 kB / 435.8 MB, free: 62.52 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001195/1.011, allocations: 280.2 kB / 436.1 MB, free: 62.52 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01476/1.025, allocations: 4.155 MB / 440.2 MB, free: 62.05 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001127/1.026, allocations: 2.719 kB / 440.2 MB, free: 62.05 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00077/1.026, allocations: 124.4 kB / 440.4 MB, free: 62.05 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002368/1.027, allocations: 135.7 kB / 440.5 MB, free: 62.04 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01135/1.038, allocations: 3.221 MB / 443.7 MB, free: 62.01 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03031/1.068, allocations: 10.92 MB / 454.6 MB, free: 60.52 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004318/1.073, allocations: 2.637 MB / 457.3 MB, free: 59.36 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005062/1.073, allocations: 140.8 kB / 457.4 MB, free: 59.27 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.074e-05/1.073, allocations: 48.12 kB / 457.5 MB, free: 59.23 MB / 346.7 MB Notification: Performance of pre-optimization done (n=128): time 3.997e-06/1.073, allocations: 3.594 kB / 457.5 MB, free: 59.23 MB / 346.7 MB Notification: Performance of matching and sorting (n=132): time 0.01653/1.09, allocations: 5.656 MB / 463.1 MB, free: 57.94 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.536e-05/1.09, allocations: 96.05 kB / 463.2 MB, free: 57.84 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003607/1.094, allocations: 1.795 MB / 465 MB, free: 57.67 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003333/1.094, allocations: 52.42 kB / 465.1 MB, free: 57.64 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008089/1.095, allocations: 1.24 MB / 466.3 MB, free: 56.86 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000542/1.095, allocations: 453.4 kB / 466.7 MB, free: 56.52 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001388/1.095, allocations: 30.41 kB / 466.8 MB, free: 56.5 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001176/1.096, allocations: 370.7 kB / 467.1 MB, free: 56.16 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001979/1.098, allocations: 0.8255 MB / 468 MB, free: 55.87 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002532/1.1, allocations: 1.177 MB / 469.1 MB, free: 55.18 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002595/1.103, allocations: 1.021 MB / 470.2 MB, free: 54.78 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.836e-05/1.103, allocations: 3.156 kB / 470.2 MB, free: 54.78 MB / 346.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.006394/1.109, allocations: 2.429 MB / 472.6 MB, free: 53.91 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.501e-05/1.109, allocations: 9.938 kB / 472.6 MB, free: 53.91 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.786e-05/1.109, allocations: 18.64 kB / 472.6 MB, free: 53.91 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001574/1.111, allocations: 382.6 kB / 473 MB, free: 53.8 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002601/1.114, allocations: 323.4 kB / 473.3 MB, free: 53.8 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007566/1.121, allocations: 4.352 MB / 477.7 MB, free: 51.04 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002213/1.123, allocations: 87.03 kB / 477.7 MB, free: 51.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001753/1.124, allocations: 70.89 kB / 477.8 MB, free: 51 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.002312/1.126, allocations: 1.031 MB / 478.8 MB, free: 50.5 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006782/1.127, allocations: 193.4 kB / 479 MB, free: 50.41 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005463/1.132, allocations: 2.211 MB / 481.2 MB, free: 49.53 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.715e-05/1.132, allocations: 14.41 kB / 481.3 MB, free: 49.53 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-06/1.132, allocations: 3.812 kB / 481.3 MB, free: 49.53 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.442e-05/1.132, allocations: 10.83 kB / 481.3 MB, free: 49.53 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01219/1.144, allocations: 5.122 MB / 486.4 MB, free: 47.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.724e-05/1.145, allocations: 3.938 kB / 486.4 MB, free: 47.5 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001785/1.146, allocations: 221.3 kB / 486.6 MB, free: 47.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001459/1.148, allocations: 373.3 kB / 487 MB, free: 47.4 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001169/1.148, allocations: 30.83 kB / 487 MB, free: 47.38 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007209/1.155, allocations: 4.293 MB / 491.3 MB, free: 44.66 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/1.155, allocations: 0 / 491.3 MB, free: 44.66 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007397/1.163, allocations: 3.271 MB / 494.6 MB, free: 43.3 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001399/1.164, allocations: 460.4 kB / 495 MB, free: 43.02 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004832/1.165, allocations: 34.64 kB / 495.1 MB, free: 42.99 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001677/1.166, allocations: 99.05 kB / 495.2 MB, free: 42.98 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003325/1.167, allocations: 90.45 kB / 495.2 MB, free: 42.97 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001395/1.167, allocations: 41.7 kB / 495.3 MB, free: 42.96 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002464/1.169, allocations: 1.248 MB / 496.5 MB, free: 42.49 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.31e-07/1.169, allocations: 0 / 496.5 MB, free: 42.49 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002343/1.172, allocations: 0.5573 MB / 497.1 MB, free: 42.44 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.0004837/1.172, allocations: 205 kB / 497.3 MB, free: 42.33 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.005172/1.177, allocations: 2.34 MB / 499.6 MB, free: 41.38 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/1.177, allocations: 0 / 499.6 MB, free: 41.38 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003047/1.18, allocations: 1.329 MB / 0.4892 GB, free: 40.75 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003439/1.184, allocations: 474.9 kB / 0.4897 GB, free: 40.63 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01328/1.197, allocations: 6.572 MB / 0.4961 GB, free: 37.19 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002528/1.2, allocations: 2.407 MB / 0.4984 GB, free: 36.11 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000922/1.201, allocations: 123.2 kB / 0.4986 GB, free: 36.09 MB / 346.7 MB Notification: Performance of SimCode: time 1.924e-06/1.201, allocations: 0 / 0.4986 GB, free: 36.09 MB / 346.7 MB Notification: Performance of Templates: time 0.08722/1.288, allocations: 48.05 MB / 0.5455 GB, free: 12.73 MB / 362.7 MB