Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.pin_p.reference.gamma|voltageSource.pin_p.reference.gamma|idealTransformer.v1.re|idealTransformer.v1.im|idealTransformer.i1.re|idealTransformer.i1.im|idealTransformer.v2.re|idealTransformer.v2.im|idealTransformer.i2.re|idealTransformer.i2.im",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer") Notification: Performance of loadModel(Modelica): time 2.047/2.047, allocations: 194.8 MB / 212.3 MB, free: 3.02 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00036/0.0003598, allocations: 8 kB / 264.5 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08956/0.08995, allocations: 44.51 MB / 309 MB, free: 1.051 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4028/0.4928, allocations: 81.15 MB / 390.1 MB, free: 14.77 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003025/0.4932, allocations: 90.05 kB / 390.2 MB, free: 14.77 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09526/0.5885, allocations: 28.84 MB / 419 MB, free: 6.367 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.5885, allocations: 0 / 419 MB, free: 6.367 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.612e-05/0.5886, allocations: 23.31 kB / 419.1 MB, free: 6.359 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: 275 * Number of variables: 275 Notification: Performance of Generate backend data structure: time 0.00331/0.5919, allocations: 1.078 MB / 420.1 MB, free: 5.625 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.5919, allocations: 7.875 kB / 420.2 MB, free: 5.625 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006925/0.5989, allocations: 0.723 MB / 420.9 MB, free: 5.383 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009/0.5998, allocations: 443.2 kB / 421.3 MB, free: 5.07 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.694e-05/0.5999, allocations: 83.17 kB / 421.4 MB, free: 5.062 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002465/0.6002, allocations: 110.5 kB / 421.5 MB, free: 5.059 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002755/0.6029, allocations: 1.114 MB / 422.6 MB, free: 4.762 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.877e-05/0.603, allocations: 3.906 kB / 422.6 MB, free: 4.758 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001496/0.6032, allocations: 50.14 kB / 422.7 MB, free: 4.75 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.327e-05/0.6032, allocations: 31.19 kB / 422.7 MB, free: 4.746 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002866/0.6061, allocations: 1.132 MB / 423.8 MB, free: 4.582 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00813/0.6142, allocations: 4.063 MB / 427.9 MB, free: 2.242 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00443/0.6187, allocations: 3.753 MB / 431.6 MB, free: 14.56 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002112/0.619, allocations: 96.33 kB / 431.7 MB, free: 14.46 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.316e-05/0.619, allocations: 46.2 kB / 431.8 MB, free: 14.42 MB / 330.7 MB Notification: Performance of pre-optimization done (n=71): time 3.637e-06/0.6191, allocations: 3.938 kB / 431.8 MB, free: 14.42 MB / 330.7 MB Notification: Performance of matching and sorting (n=71): time 0.002261/0.6213, allocations: 0.757 MB / 432.5 MB, free: 14.28 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.776e-05/0.6214, allocations: 109.8 kB / 432.7 MB, free: 14.15 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004957/0.6219, allocations: 323.1 kB / 433 MB, free: 13.98 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.187e-05/0.622, allocations: 39.52 kB / 433 MB, free: 13.95 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003855/0.6224, allocations: 0.4922 MB / 433.5 MB, free: 13.54 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002797/0.6227, allocations: 243.1 kB / 433.7 MB, free: 13.36 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.919e-05/0.6228, allocations: 17.28 kB / 433.8 MB, free: 13.36 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000192/0.623, allocations: 346.2 kB / 434.1 MB, free: 13.04 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007029/0.6237, allocations: 247.2 kB / 434.3 MB, free: 13 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001007/0.6247, allocations: 0.5594 MB / 434.9 MB, free: 12.57 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008639/0.6256, allocations: 335.9 kB / 435.2 MB, free: 12.53 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.087e-06/0.6256, allocations: 3.875 kB / 435.2 MB, free: 12.53 MB / 330.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.00216/0.6278, allocations: 0.879 MB / 436.1 MB, free: 12.33 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.752e-05/0.6279, allocations: 11.5 kB / 436.1 MB, free: 12.33 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.84e-05/0.6279, allocations: 15.58 kB / 436.1 MB, free: 12.33 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.437e-05/0.6279, allocations: 19.31 kB / 436.1 MB, free: 12.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001517/0.6295, allocations: 240.9 kB / 436.4 MB, free: 12.27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.989e-05/0.6295, allocations: 19.41 kB / 436.4 MB, free: 12.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008655/0.6304, allocations: 112.2 kB / 436.5 MB, free: 12.21 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.62e-05/0.6305, allocations: 45.19 kB / 436.6 MB, free: 12.21 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (122): * Single equations (assignments): 122 * 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.0005413/0.631, allocations: 235.9 kB / 436.8 MB, free: 12.07 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001673/0.6312, allocations: 50.27 kB / 436.8 MB, free: 12.05 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002016/0.6332, allocations: 0.6875 MB / 437.5 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.346e-05/0.6333, allocations: 15.55 kB / 437.5 MB, free: 11.69 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.6333, allocations: 0 / 437.5 MB, free: 11.69 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.551e-05/0.6333, allocations: 7.984 kB / 437.5 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003834/0.6372, allocations: 1.581 MB / 439.1 MB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.183e-06/0.6372, allocations: 0 / 439.1 MB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001113/0.6383, allocations: 151.1 kB / 439.3 MB, free: 10.58 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.093e-05/0.6384, allocations: 3.438 kB / 439.3 MB, free: 10.58 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-05/0.6385, allocations: 19.78 kB / 439.3 MB, free: 10.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.466e-06/0.6385, allocations: 3.844 kB / 439.3 MB, free: 10.57 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.6385, allocations: 3.953 kB / 439.3 MB, free: 10.56 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002573/0.6411, allocations: 1.163 MB / 440.5 MB, free: 9.836 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001896/0.6413, allocations: 127.9 kB / 440.6 MB, free: 9.707 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001222/0.6414, allocations: 15.88 kB / 440.6 MB, free: 9.695 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006135/0.642, allocations: 23.61 kB / 440.6 MB, free: 9.684 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001281/0.6422, allocations: 55.89 kB / 440.7 MB, free: 9.652 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.387e-05/0.6423, allocations: 19.66 kB / 440.7 MB, free: 9.648 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003137/0.6426, allocations: 205.1 kB / 440.9 MB, free: 9.508 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.6426, allocations: 0 / 440.9 MB, free: 9.508 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001159/0.6438, allocations: 256.2 kB / 441.2 MB, free: 9.426 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (i1.pin_p.reference.gamma,load.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 (78): * Single equations (assignments): 78 * 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.0003413/0.6441, allocations: 160.9 kB / 441.3 MB, free: 9.297 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001779/0.6459, allocations: 0.6897 MB / 442 MB, free: 9 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/0.6459, allocations: 320 / 442 MB, free: 9 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007747/0.6467, allocations: 325.2 kB / 442.3 MB, free: 8.859 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005486/0.6473, allocations: 32.39 kB / 442.4 MB, free: 8.84 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006892/0.6542, allocations: 2.313 MB / 444.7 MB, free: 6.648 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007409/0.655, allocations: 0.9361 MB / 445.6 MB, free: 5.684 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004125/0.6554, allocations: 63.42 kB / 445.7 MB, free: 5.621 MB / 330.7 MB Notification: Performance of SimCode: time 1.072e-06/0.6554, allocations: 0 / 445.7 MB, free: 5.621 MB / 330.7 MB Notification: Performance of Templates: time 0.01917/0.6746, allocations: 7.74 MB / 453.4 MB, free: 13.87 MB / 346.7 MB