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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.884/1.884, allocations: 171.3 MB / 179.2 MB, free: 8.184 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.162e-05/2.165e-05, allocations: 4 kB / 222.5 MB, free: 8.793 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1063, allocations: 38.76 MB / 261.3 MB, free: 1.949 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2817/0.3881, allocations: 69.1 MB / 330.4 MB, free: 3.164 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002038/0.3883, allocations: 67.91 kB / 330.4 MB, free: 3.133 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0324/0.4208, allocations: 8.148 MB / 338.6 MB, free: 12.27 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.121e-06/0.4208, allocations: 0 / 338.6 MB, free: 12.27 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.549e-05/0.4209, allocations: 12 kB / 338.6 MB, free: 12.25 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.001344/0.4222, allocations: 0.7192 MB / 339.3 MB, free: 11.52 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.4223, allocations: 12.03 kB / 339.3 MB, free: 11.51 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001485/0.4224, allocations: 65.98 kB / 339.4 MB, free: 11.45 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006289/0.4231, allocations: 361.5 kB / 339.7 MB, free: 11.09 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.489e-05/0.4231, allocations: 16 kB / 339.8 MB, free: 11.08 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.855e-05/0.4232, allocations: 31.91 kB / 339.8 MB, free: 11.05 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006945/0.4239, allocations: 274.3 kB / 340.1 MB, free: 10.88 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008767/0.4248, allocations: 387 kB / 340.4 MB, free: 10.59 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.4249, allocations: 0 / 340.4 MB, free: 10.59 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.327e-05/0.4249, allocations: 4 kB / 340.4 MB, free: 10.58 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.629e-05/0.425, allocations: 16 kB / 340.5 MB, free: 10.57 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003438/0.4284, allocations: 1.626 MB / 342.1 MB, free: 9.117 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004916/0.4289, allocations: 233.9 kB / 342.3 MB, free: 8.945 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002385/0.4292, allocations: 121.7 kB / 342.4 MB, free: 8.859 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.983e-05/0.4292, allocations: 7.938 kB / 342.4 MB, free: 8.852 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.599e-05/0.4293, allocations: 37.56 kB / 342.5 MB, free: 8.809 MB / 282.7 MB Notification: Performance of pre-optimization done (n=31): time 3.017e-06/0.4293, allocations: 0 / 342.5 MB, free: 8.809 MB / 282.7 MB Notification: Performance of matching and sorting (n=32): time 0.001756/0.4311, allocations: 0.707 MB / 343.2 MB, free: 8.121 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.713e-05/0.4311, allocations: 81.11 kB / 343.3 MB, free: 8.023 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004875/0.4316, allocations: 316.8 kB / 343.6 MB, free: 7.773 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.683e-05/0.4317, allocations: 29.7 kB / 343.6 MB, free: 7.738 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002378/0.4319, allocations: 331.8 kB / 343.9 MB, free: 7.461 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001111/0.4321, allocations: 107 kB / 344 MB, free: 7.367 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.912e-05/0.4321, allocations: 3.938 kB / 344 MB, free: 7.363 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001749/0.4323, allocations: 329.8 kB / 344.4 MB, free: 7.039 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000199/0.4325, allocations: 77.66 kB / 344.4 MB, free: 6.996 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002999/0.4328, allocations: 172.5 kB / 344.6 MB, free: 6.828 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002663/0.4331, allocations: 108.3 kB / 344.7 MB, free: 6.758 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.418e-06/0.4331, allocations: 0 / 344.7 MB, free: 6.758 MB / 282.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0009285/0.434, allocations: 361.5 kB / 345.1 MB, free: 6.473 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.4341, allocations: 4 kB / 345.1 MB, free: 6.469 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/0.4341, allocations: 8 kB / 345.1 MB, free: 6.461 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004135/0.4345, allocations: 79.78 kB / 345.1 MB, free: 6.387 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004089/0.435, allocations: 92.28 kB / 345.2 MB, free: 6.301 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003152/0.4381, allocations: 2.736 MB / 348 MB, free: 3.504 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000408/0.4386, allocations: 12 kB / 348 MB, free: 3.492 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.998e-05/0.4386, allocations: 19.42 kB / 348 MB, free: 3.477 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 () * 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.0001639/0.4388, allocations: 112.9 kB / 348.1 MB, free: 3.359 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/0.439, allocations: 55.17 kB / 348.2 MB, free: 3.309 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.909e-05/0.4391, allocations: 37.19 kB / 348.2 MB, free: 3.281 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.982e-06/0.4391, allocations: 4 kB / 348.2 MB, free: 3.277 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.336e-06/0.4391, allocations: 0 / 348.2 MB, free: 3.277 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.039e-06/0.4391, allocations: 0 / 348.2 MB, free: 3.277 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001702/0.4408, allocations: 0.8238 MB / 349 MB, free: 2.547 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.9e-06/0.4409, allocations: 3.984 kB / 349 MB, free: 2.543 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002512/0.4411, allocations: 39.98 kB / 349.1 MB, free: 2.504 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003885/0.4415, allocations: 79.7 kB / 349.2 MB, free: 2.43 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.899e-05/0.4416, allocations: 7.75 kB / 349.2 MB, free: 2.426 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003082/0.4447, allocations: 2.747 MB / 351.9 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.379e-06/0.4447, allocations: 3.984 kB / 351.9 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001208/0.4459, allocations: 0.5654 MB / 352.5 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002446/0.4462, allocations: 140.6 kB / 352.6 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.387e-05/0.4463, allocations: 0 / 352.6 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004405/0.4468, allocations: 31.94 kB / 352.6 MB, free: 14.94 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.849e-05/0.4469, allocations: 27.58 kB / 352.7 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.583e-05/0.4469, allocations: 11.19 kB / 352.7 MB, free: 14.91 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003615/0.4473, allocations: 242.4 kB / 352.9 MB, free: 14.72 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.13e-07/0.4473, allocations: 0 / 352.9 MB, free: 14.72 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008342/0.4481, allocations: 104 kB / 353 MB, free: 14.62 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 () * 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.0001997/0.4484, allocations: 115.2 kB / 353.1 MB, free: 14.5 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001008/0.4494, allocations: 457.4 kB / 353.6 MB, free: 14.1 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/0.4494, allocations: 3.938 kB / 353.6 MB, free: 14.1 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006852/0.4501, allocations: 355.4 kB / 353.9 MB, free: 13.77 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004753/0.4506, allocations: 35.77 kB / 354 MB, free: 13.75 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001811/0.4524, allocations: 0.7268 MB / 354.7 MB, free: 13.04 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006188/0.4531, allocations: 0.847 MB / 355.5 MB, free: 12.17 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001368/0.4532, allocations: 31.44 kB / 355.6 MB, free: 12.14 MB / 298.7 MB Notification: Performance of SimCode: time 1.805e-06/0.4532, allocations: 0 / 355.6 MB, free: 12.14 MB / 298.7 MB Notification: Performance of Templates: time 0.01414/0.4674, allocations: 8.335 MB / 363.9 MB, free: 3.844 MB / 298.7 MB