Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|basicTransformer.i1|basicTransformer.i2|inductor22.i",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers") Notification: Performance of loadModel(Modelica): time 1.642/1.642, allocations: 171.2 MB / 186.8 MB, free: 1.035 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003519/0.0003521, allocations: 8 kB / 233.2 MB, free: 3.02 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07035/0.07072, allocations: 38.78 MB / 272 MB, free: 12.16 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.284/0.3548, allocations: 69.83 MB / 341.8 MB, free: 4.145 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002202/0.355, allocations: 74.16 kB / 341.9 MB, free: 4.105 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03186/0.3869, allocations: 8.234 MB / 350.2 MB, free: 13.05 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.382e-06/0.3869, allocations: 0 / 350.2 MB, free: 13.05 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.233e-05/0.387, allocations: 8 kB / 350.2 MB, free: 13.04 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001528/0.3885, allocations: 0.7902 MB / 351 MB, free: 12.23 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.3886, allocations: 8.031 kB / 351 MB, free: 12.23 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001492/0.3887, allocations: 71.25 kB / 351 MB, free: 12.16 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006035/0.3894, allocations: 354.7 kB / 351.4 MB, free: 11.81 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.695e-05/0.3894, allocations: 39.06 kB / 351.4 MB, free: 11.79 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.673e-05/0.3895, allocations: 50.16 kB / 351.5 MB, free: 11.76 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001046/0.3906, allocations: 475.7 kB / 351.9 MB, free: 11.42 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.3906, allocations: 0 / 351.9 MB, free: 11.42 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.148e-05/0.3907, allocations: 24.69 kB / 351.9 MB, free: 11.41 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.699e-05/0.3907, allocations: 12 kB / 352 MB, free: 11.4 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008638/0.3916, allocations: 337.1 kB / 352.3 MB, free: 11.18 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003504/0.3951, allocations: 1.719 MB / 354 MB, free: 9.648 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005995/0.3958, allocations: 262.7 kB / 354.3 MB, free: 9.449 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.859e-05/0.3958, allocations: 6.688 kB / 354.3 MB, free: 9.445 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.174e-05/0.3959, allocations: 37.81 kB / 354.3 MB, free: 9.402 MB / 282.7 MB Notification: Performance of pre-optimization done (n=31): time 3.299e-06/0.3959, allocations: 0 / 354.3 MB, free: 9.402 MB / 282.7 MB Notification: Performance of matching and sorting (n=32): time 0.002475/0.3983, allocations: 0.9732 MB / 355.3 MB, free: 8.488 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.284e-05/0.3984, allocations: 81.11 kB / 355.4 MB, free: 8.391 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005388/0.399, allocations: 345.3 kB / 355.7 MB, free: 8.109 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.942e-05/0.399, allocations: 33.2 kB / 355.7 MB, free: 8.078 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000241/0.3993, allocations: 331.6 kB / 356.1 MB, free: 7.801 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000114/0.3994, allocations: 118.4 kB / 356.2 MB, free: 7.699 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-05/0.3995, allocations: 11.25 kB / 356.2 MB, free: 7.695 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.3996, allocations: 326 kB / 356.5 MB, free: 7.375 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000299/0.3999, allocations: 104.2 kB / 356.6 MB, free: 7.305 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003718/0.4003, allocations: 197.6 kB / 356.8 MB, free: 7.109 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003455/0.4007, allocations: 130.2 kB / 356.9 MB, free: 7.031 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.95e-06/0.4007, allocations: 0 / 356.9 MB, free: 7.031 MB / 282.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001122/0.4018, allocations: 434.5 kB / 357.3 MB, free: 6.703 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.551e-05/0.4019, allocations: 15.89 kB / 357.4 MB, free: 6.688 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.4019, allocations: 4 kB / 357.4 MB, free: 6.684 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004287/0.4023, allocations: 79.97 kB / 357.4 MB, free: 6.609 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004202/0.4028, allocations: 83.03 kB / 357.5 MB, free: 6.531 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003377/0.4062, allocations: 2.87 MB / 360.4 MB, free: 3.586 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004163/0.4066, allocations: 22.22 kB / 360.4 MB, free: 3.57 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.867e-05/0.4067, allocations: 15.25 kB / 360.4 MB, free: 3.559 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (45): * Single equations (assignments): 43 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003233/0.407, allocations: 172.3 kB / 360.6 MB, free: 3.406 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000133/0.4072, allocations: 39.53 kB / 360.6 MB, free: 3.367 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.236e-05/0.4073, allocations: 46.95 kB / 360.7 MB, free: 3.348 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.926e-06/0.4073, allocations: 4 kB / 360.7 MB, free: 3.344 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.105e-06/0.4073, allocations: 4.062 kB / 360.7 MB, free: 3.34 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.268e-06/0.4073, allocations: 3.984 kB / 360.7 MB, free: 3.336 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001935/0.4093, allocations: 0.9442 MB / 361.6 MB, free: 2.512 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.777e-06/0.4093, allocations: 3.938 kB / 361.6 MB, free: 2.508 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000261/0.4095, allocations: 43.97 kB / 361.7 MB, free: 2.465 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003904/0.41, allocations: 87.27 kB / 361.8 MB, free: 2.387 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.066e-05/0.41, allocations: 11.11 kB / 361.8 MB, free: 2.379 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003289/0.4133, allocations: 2.869 MB / 364.7 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.352e-06/0.4133, allocations: 0 / 364.7 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00131/0.4147, allocations: 0.6338 MB / 365.3 MB, free: 14.88 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002375/0.4149, allocations: 138.7 kB / 365.4 MB, free: 14.74 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.93e-05/0.415, allocations: 11.38 kB / 365.4 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004364/0.4154, allocations: 31.11 kB / 365.5 MB, free: 14.71 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.117e-05/0.4155, allocations: 27.33 kB / 365.5 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.349e-05/0.4156, allocations: 15.31 kB / 365.5 MB, free: 14.67 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000422/0.416, allocations: 275 kB / 365.8 MB, free: 14.46 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.33e-07/0.416, allocations: 0 / 365.8 MB, free: 14.46 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008089/0.4169, allocations: 121.6 kB / 365.9 MB, free: 14.36 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inductor22.i,basicTransformer.i1,basicTransformer.i2) * 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 (26): * Single equations (assignments): 24 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001793/0.417, allocations: 114.1 kB / 366 MB, free: 14.24 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001169/0.4182, allocations: 0.5197 MB / 366.5 MB, free: 13.77 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.158e-06/0.4183, allocations: 4 kB / 366.5 MB, free: 13.77 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007953/0.4191, allocations: 394.2 kB / 366.9 MB, free: 13.4 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005003/0.4196, allocations: 53.05 kB / 367 MB, free: 13.37 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002294/0.4219, allocations: 1.226 MB / 368.2 MB, free: 12.17 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006124/0.4225, allocations: 0.8509 MB / 369 MB, free: 11.29 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001283/0.4227, allocations: 31.44 kB / 369.1 MB, free: 11.27 MB / 298.7 MB Notification: Performance of SimCode: time 1.833e-06/0.4227, allocations: 0 / 369.1 MB, free: 11.27 MB / 298.7 MB Notification: Performance of Templates: time 0.01416/0.4369, allocations: 8.545 MB / 377.6 MB, free: 2.77 MB / 298.7 MB