Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CompareTransformers.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.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|basicTransformer.i1|basicTransformer.i2|inductor22.i",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CompareTransformers") Notification: Performance of loadModel(Modelica): time 2.008/2.008, allocations: 171.2 MB / 186.7 MB, free: 1.031 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003589/0.0003591, allocations: 8 kB / 233.9 MB, free: 2.383 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08171/0.08209, allocations: 38.77 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.437/0.5191, allocations: 69.84 MB / 342.5 MB, free: 3.633 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000415/0.5196, allocations: 73.83 kB / 342.5 MB, free: 3.594 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05817/0.5778, allocations: 8.24 MB / 350.8 MB, free: 12.54 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.767e-06/0.5779, allocations: 0 / 350.8 MB, free: 12.54 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.662e-05/0.578, allocations: 11.98 kB / 350.8 MB, free: 12.52 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.003332/0.5813, allocations: 0.79 MB / 351.6 MB, free: 11.71 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.656e-05/0.5814, allocations: 8.031 kB / 351.6 MB, free: 11.71 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003578/0.5818, allocations: 67.25 kB / 351.6 MB, free: 11.64 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001241/0.5831, allocations: 358.1 kB / 352 MB, free: 11.29 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.553e-05/0.5832, allocations: 37.31 kB / 352 MB, free: 11.27 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001808/0.5834, allocations: 53.84 kB / 352.1 MB, free: 11.24 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002063/0.5855, allocations: 476.1 kB / 352.5 MB, free: 10.9 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.109e-05/0.5856, allocations: 0 / 352.5 MB, free: 10.9 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001052/0.5857, allocations: 17.81 kB / 352.6 MB, free: 10.9 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.903e-05/0.5858, allocations: 12 kB / 352.6 MB, free: 10.89 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00177/0.5875, allocations: 338.1 kB / 352.9 MB, free: 10.66 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007392/0.595, allocations: 1.717 MB / 354.6 MB, free: 9.137 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001143/0.5962, allocations: 275.8 kB / 354.9 MB, free: 8.926 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.942e-05/0.5963, allocations: 4 kB / 354.9 MB, free: 8.922 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.712e-05/0.5964, allocations: 38.31 kB / 354.9 MB, free: 8.879 MB / 282.7 MB Notification: Performance of pre-optimization done (n=31): time 5.31e-06/0.5964, allocations: 4 kB / 354.9 MB, free: 8.875 MB / 282.7 MB Notification: Performance of matching and sorting (n=32): time 0.004929/0.6013, allocations: 0.9701 MB / 355.9 MB, free: 7.965 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.758e-05/0.6015, allocations: 81.11 kB / 356 MB, free: 7.867 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00109/0.6026, allocations: 385.6 kB / 356.4 MB, free: 7.559 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000108/0.6028, allocations: 35.7 kB / 356.4 MB, free: 7.523 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003549/0.6031, allocations: 284.8 kB / 356.7 MB, free: 7.301 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002301/0.6034, allocations: 116.3 kB / 356.8 MB, free: 7.199 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.893e-05/0.6035, allocations: 6.812 kB / 356.8 MB, free: 7.199 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002853/0.6038, allocations: 351.2 kB / 357.1 MB, free: 6.863 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006646/0.6044, allocations: 101.3 kB / 357.2 MB, free: 6.797 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007328/0.6052, allocations: 199.5 kB / 357.4 MB, free: 6.602 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006837/0.6059, allocations: 133 kB / 357.6 MB, free: 6.523 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.005e-05/0.606, allocations: 0 / 357.6 MB, free: 6.523 MB / 282.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002171/0.6082, allocations: 455.6 kB / 358 MB, free: 6.168 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.376e-05/0.6083, allocations: 11.95 kB / 358 MB, free: 6.156 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.474e-05/0.6083, allocations: 0 / 358 MB, free: 6.156 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000769/0.6091, allocations: 81.72 kB / 358.1 MB, free: 6.082 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008828/0.61, allocations: 91.11 kB / 358.2 MB, free: 5.996 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005242/0.6153, allocations: 2.866 MB / 361.1 MB, free: 3.059 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001142/0.6165, allocations: 19.2 kB / 361.1 MB, free: 3.043 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001842/0.6167, allocations: 17.94 kB / 361.1 MB, free: 3.031 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.0004987/0.6172, allocations: 171.7 kB / 361.3 MB, free: 2.879 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006073/0.6179, allocations: 43.59 kB / 361.3 MB, free: 2.836 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004067/0.6183, allocations: 51 kB / 361.4 MB, free: 2.809 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-05/0.6184, allocations: 0 / 361.4 MB, free: 2.809 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.995e-05/0.6184, allocations: 4 kB / 361.4 MB, free: 2.805 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.705e-05/0.6184, allocations: 0 / 361.4 MB, free: 2.805 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002545/0.621, allocations: 0.9491 MB / 362.3 MB, free: 1.977 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.6211, allocations: 0 / 362.3 MB, free: 1.977 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003842/0.6215, allocations: 47.91 kB / 362.4 MB, free: 1.93 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004998/0.622, allocations: 86.08 kB / 362.4 MB, free: 1.852 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.444e-05/0.622, allocations: 7 kB / 362.4 MB, free: 1.848 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005626/0.6277, allocations: 2.877 MB / 365.3 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.6277, allocations: 0 / 365.3 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00262/0.6304, allocations: 0.6253 MB / 365.9 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005306/0.631, allocations: 138.6 kB / 366.1 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001712/0.6312, allocations: 3.812 kB / 366.1 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001105/0.6323, allocations: 38.91 kB / 366.1 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001633/0.6325, allocations: 27.09 kB / 366.1 MB, free: 14.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.97e-05/0.6326, allocations: 11.98 kB / 366.2 MB, free: 14.15 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0006386/0.6332, allocations: 273.9 kB / 366.4 MB, free: 13.94 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.6332, allocations: 0 / 366.4 MB, free: 13.94 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001773/0.635, allocations: 121.7 kB / 366.5 MB, free: 13.84 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.00031/0.6354, allocations: 114.4 kB / 366.7 MB, free: 13.72 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002057/0.6374, allocations: 0.5123 MB / 367.2 MB, free: 13.26 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.484e-05/0.6375, allocations: 8.062 kB / 367.2 MB, free: 13.25 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001431/0.6389, allocations: 388.9 kB / 367.6 MB, free: 12.89 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001012/0.64, allocations: 67.23 kB / 367.6 MB, free: 12.84 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004243/0.6443, allocations: 1.172 MB / 368.8 MB, free: 11.7 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007848/0.6451, allocations: 0.8548 MB / 369.7 MB, free: 10.81 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0005819/0.6457, allocations: 43.3 kB / 369.7 MB, free: 10.77 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001948/0.6459, allocations: 31.44 kB / 369.7 MB, free: 10.74 MB / 298.7 MB Notification: Performance of SimCode: time 2.315e-06/0.646, allocations: 0 / 369.7 MB, free: 10.74 MB / 298.7 MB Notification: Performance of Templates: time 0.02392/0.6699, allocations: 4.233 MB / 374 MB, free: 6.539 MB / 298.7 MB