Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.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.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench") Notification: Performance of loadModel(Modelica): time 2.088/2.088, allocations: 194.8 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003551/0.0003551, allocations: 12 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09467/0.09505, allocations: 44.5 MB / 309.1 MB, free: 364 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5171/0.6122, allocations: 97.97 MB / 407 MB, free: 13.06 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004344/0.6127, allocations: 94.95 kB / 407.1 MB, free: 13.05 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.73/5.343, allocations: 0.8219 GB / 1.219 GB, free: 32.89 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.675e-06/5.343, allocations: 0 / 1.219 GB, free: 32.89 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.001391/5.344, allocations: 396.3 kB / 1.22 GB, free: 32.86 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5161 * Number of variables: 5161 Notification: Performance of Generate backend data structure: time 0.08566/5.43, allocations: 17.09 MB / 1.237 GB, free: 27.9 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/5.43, allocations: 10.12 kB / 1.237 GB, free: 27.9 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07061/5.5, allocations: 8.685 MB / 1.245 GB, free: 26.94 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03949/5.54, allocations: 11.94 MB / 1.257 GB, free: 25.53 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002643/5.543, allocations: 1.34 MB / 1.258 GB, free: 25.49 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01024/5.553, allocations: 1.715 MB / 1.26 GB, free: 25.48 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1088/5.662, allocations: 32.18 MB / 1.291 GB, free: 23.33 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001034/5.663, allocations: 20.27 kB / 1.291 GB, free: 23.32 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008522/5.672, allocations: 0.7437 MB / 1.292 GB, free: 23.32 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002075/5.674, allocations: 1.256 MB / 1.293 GB, free: 23.28 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08386/5.758, allocations: 28.12 MB / 1.321 GB, free: 18.2 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7736/6.531, allocations: 99.03 MB / 1.417 GB, free: 26.12 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.07716/6.608, allocations: 34.01 MB / 1.45 GB, free: 28.46 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1388/6.747, allocations: 47.05 MB / 1.496 GB, free: 25.67 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002791/6.748, allocations: 152.8 kB / 1.497 GB, free: 25.57 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1456): time 3.708e-05/6.748, allocations: 0 / 1.497 GB, free: 25.57 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1456): time 1.052/7.8, allocations: 96.94 MB / 1.591 GB, free: 76.79 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002285/7.8, allocations: 190.9 kB / 1.591 GB, free: 76.68 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03685/7.837, allocations: 4.417 MB / 1.596 GB, free: 76.39 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.004161/7.841, allocations: 205.3 kB / 1.596 GB, free: 76.36 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.007867/7.849, allocations: 6.102 MB / 1.602 GB, free: 73.93 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.009834/7.859, allocations: 4.77 MB / 1.607 GB, free: 70.82 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003594/7.863, allocations: 231.5 kB / 1.607 GB, free: 70.82 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001963/7.865, allocations: 0.9032 MB / 1.608 GB, free: 70.49 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02694/7.892, allocations: 9.902 MB / 1.617 GB, free: 70.46 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03069/7.922, allocations: 12.32 MB / 1.629 GB, free: 68.14 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03145/7.954, allocations: 11.94 MB / 1.641 GB, free: 68.02 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001531/7.954, allocations: 17.34 kB / 1.641 GB, free: 68.02 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1805) (initialization): time 0.08435/8.038, allocations: 28.75 MB / 1.669 GB, free: 66.79 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.841e-05/8.039, allocations: 33.88 kB / 1.669 GB, free: 66.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002182/8.039, allocations: 60 kB / 1.669 GB, free: 66.79 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03257/8.071, allocations: 10.7 MB / 1.68 GB, free: 63.81 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.018/8.089, allocations: 1.928 MB / 1.681 GB, free: 63.76 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0597/8.149, allocations: 21.57 MB / 1.703 GB, free: 52.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01718/8.166, allocations: 1.417 MB / 1.704 GB, free: 51.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004353/8.171, allocations: 0.5264 MB / 1.704 GB, free: 51.39 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 275 * 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 (1052): * Single equations (assignments): 899 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 146 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 7 {6 9,6 9,6 9,6 9,54 302,6 9,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.02169/8.193, allocations: 7.223 MB / 1.712 GB, free: 48.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005037/8.198, allocations: 0.7263 MB / 1.712 GB, free: 47.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08681/8.285, allocations: 28.1 MB / 1.74 GB, free: 29.99 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.5875/8.872, allocations: 25.62 MB / 1.765 GB, free: 64.68 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.605e-05/8.872, allocations: 3.344 kB / 1.765 GB, free: 64.68 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002349/8.872, allocations: 54.23 kB / 1.765 GB, free: 64.68 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1625/9.035, allocations: 52.29 MB / 1.816 GB, free: 63.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002813/9.035, allocations: 0 / 1.816 GB, free: 63.55 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01214/9.047, allocations: 1.336 MB / 1.817 GB, free: 63.55 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03304/9.08, allocations: 10.63 MB / 1.827 GB, free: 63.29 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003788/9.084, allocations: 302.5 kB / 1.828 GB, free: 63.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04568/9.13, allocations: 21.44 MB / 1.849 GB, free: 59.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/9.13, allocations: 0 / 1.849 GB, free: 59.32 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1149/9.245, allocations: 41.61 MB / 1.889 GB, free: 41.15 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01189/9.257, allocations: 3.135 MB / 1.892 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005461/9.262, allocations: 182 kB / 1.893 GB, free: 39.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01135/9.274, allocations: 0.5073 MB / 1.893 GB, free: 39.37 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005709/9.28, allocations: 1.064 MB / 1.894 GB, free: 39.14 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004112/9.284, allocations: 375 kB / 1.894 GB, free: 39.05 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.007621/9.291, allocations: 2.972 MB / 1.897 GB, free: 37.97 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.192e-06/9.292, allocations: 0 / 1.897 GB, free: 37.97 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.02084/9.312, allocations: 4.361 MB / 1.902 GB, free: 36.98 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSensorL.plug_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 (746): * Single equations (assignments): 593 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 146 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 7 {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.004208/9.317, allocations: 444.9 kB / 1.902 GB, free: 36.74 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.06685/9.383, allocations: 23.82 MB / 1.925 GB, free: 22.11 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.388e-05/9.384, allocations: 0 / 1.925 GB, free: 22.11 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.05373/9.437, allocations: 12.33 MB / 1.937 GB, free: 11.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0199/9.457, allocations: 1.371 MB / 1.939 GB, free: 10.55 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6237/10.08, allocations: 48.91 MB / 1.986 GB, free: 53.44 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.04171/10.12, allocations: 12.32 MB / 1.998 GB, free: 52.16 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.02255/10.15, allocations: 2.752 MB / 2.001 GB, free: 51.91 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006406/10.15, allocations: 488.1 kB / 2.002 GB, free: 51.9 MB / 0.5105 GB Notification: Performance of SimCode: time 1.853e-06/10.15, allocations: 4 kB / 2.002 GB, free: 51.9 MB / 0.5105 GB Notification: Performance of Templates: time 1.105/11.26, allocations: 230.9 MB / 2.227 GB, free: 62.34 MB / 0.5261 GB