Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers") Notification: Performance of loadModel(Modelica): time 1.914/1.914, allocations: 171.2 MB / 187.3 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003692/0.0003693, allocations: 8 kB / 233.8 MB, free: 3.07 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08324/0.08364, allocations: 38.76 MB / 272.5 MB, free: 12.23 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3672/0.4509, allocations: 69.84 MB / 342.4 MB, free: 4.184 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002904/0.4513, allocations: 76.66 kB / 342.5 MB, free: 4.145 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03622/0.4875, allocations: 8.224 MB / 350.7 MB, free: 13.1 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.4876, allocations: 0 / 350.7 MB, free: 13.1 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.082e-05/0.4876, allocations: 15.98 kB / 350.7 MB, free: 13.08 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.001967/0.4896, allocations: 0.7818 MB / 351.5 MB, free: 12.28 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.4897, allocations: 15.97 kB / 351.5 MB, free: 12.27 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001853/0.4898, allocations: 63.25 kB / 351.6 MB, free: 12.2 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006828/0.4905, allocations: 360.7 kB / 351.9 MB, free: 11.86 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.077e-05/0.4906, allocations: 36.56 kB / 351.9 MB, free: 11.84 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001184/0.4907, allocations: 59.7 kB / 352 MB, free: 11.79 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001287/0.492, allocations: 476.9 kB / 352.5 MB, free: 11.46 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.347e-05/0.4921, allocations: 3.938 kB / 352.5 MB, free: 11.45 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-05/0.4922, allocations: 24.25 kB / 352.5 MB, free: 11.45 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.833e-05/0.4922, allocations: 12 kB / 352.5 MB, free: 11.43 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001048/0.4933, allocations: 332.8 kB / 352.8 MB, free: 11.21 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004489/0.4978, allocations: 1.719 MB / 354.5 MB, free: 9.684 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007239/0.4985, allocations: 273.3 kB / 354.8 MB, free: 9.477 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.28e-05/0.4986, allocations: 4 kB / 354.8 MB, free: 9.473 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.866e-05/0.4986, allocations: 37.88 kB / 354.9 MB, free: 9.43 MB / 282.7 MB Notification: Performance of pre-optimization done (n=31): time 3.507e-06/0.4987, allocations: 4 kB / 354.9 MB, free: 9.426 MB / 282.7 MB Notification: Performance of matching and sorting (n=32): time 0.003027/0.5017, allocations: 0.9665 MB / 355.8 MB, free: 8.52 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.819e-05/0.5018, allocations: 85.05 kB / 355.9 MB, free: 8.418 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006518/0.5025, allocations: 389.3 kB / 356.3 MB, free: 8.105 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.502e-05/0.5025, allocations: 33.52 kB / 356.3 MB, free: 8.074 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002164/0.5028, allocations: 326.9 kB / 356.6 MB, free: 7.801 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000124/0.5029, allocations: 119 kB / 356.8 MB, free: 7.699 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.608e-05/0.5029, allocations: 9.312 kB / 356.8 MB, free: 7.695 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.5031, allocations: 327.5 kB / 357.1 MB, free: 7.375 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003813/0.5035, allocations: 101.1 kB / 357.2 MB, free: 7.309 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004499/0.504, allocations: 200.8 kB / 357.4 MB, free: 7.109 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004518/0.5044, allocations: 129.9 kB / 357.5 MB, free: 7.035 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.716e-06/0.5044, allocations: 4 kB / 357.5 MB, free: 7.031 MB / 282.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001337/0.5058, allocations: 427.3 kB / 357.9 MB, free: 6.703 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.923e-05/0.5058, allocations: 7.953 kB / 357.9 MB, free: 6.695 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/0.5059, allocations: 11.92 kB / 357.9 MB, free: 6.684 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005367/0.5064, allocations: 88.19 kB / 358 MB, free: 6.605 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006091/0.507, allocations: 71.91 kB / 358.1 MB, free: 6.535 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003474/0.5105, allocations: 2.866 MB / 361 MB, free: 3.594 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005819/0.5112, allocations: 18.53 kB / 361 MB, free: 3.582 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.294e-05/0.5112, allocations: 15.38 kB / 361 MB, free: 3.57 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.0003881/0.5116, allocations: 183.3 kB / 361.2 MB, free: 3.41 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001306/0.5118, allocations: 43.53 kB / 361.2 MB, free: 3.367 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.279e-05/0.5119, allocations: 41.58 kB / 361.3 MB, free: 3.348 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/0.5119, allocations: 4 kB / 361.3 MB, free: 3.344 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.164e-05/0.5119, allocations: 4 kB / 361.3 MB, free: 3.34 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.844e-06/0.5119, allocations: 3.984 kB / 361.3 MB, free: 3.336 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002222/0.5142, allocations: 0.9456 MB / 362.2 MB, free: 2.512 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.5142, allocations: 0 / 362.2 MB, free: 2.512 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000376/0.5146, allocations: 51.84 kB / 362.3 MB, free: 2.461 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000465/0.5151, allocations: 80.45 kB / 362.4 MB, free: 2.387 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.158e-05/0.5151, allocations: 7.25 kB / 362.4 MB, free: 2.383 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003328/0.5185, allocations: 2.869 MB / 365.2 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.191e-06/0.5185, allocations: 4.031 kB / 365.2 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001654/0.5202, allocations: 0.6324 MB / 365.9 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00026/0.5205, allocations: 141.6 kB / 366 MB, free: 14.75 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.415e-05/0.5206, allocations: 7.562 kB / 366 MB, free: 14.74 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005728/0.5212, allocations: 31.67 kB / 366 MB, free: 14.71 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.5213, allocations: 31.2 kB / 366.1 MB, free: 14.69 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-05/0.5213, allocations: 11.81 kB / 366.1 MB, free: 14.68 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004695/0.5218, allocations: 269.5 kB / 366.3 MB, free: 14.47 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5218, allocations: 0 / 366.3 MB, free: 14.47 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008503/0.5227, allocations: 123.1 kB / 366.5 MB, free: 14.37 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.0002185/0.5229, allocations: 110.8 kB / 366.6 MB, free: 14.25 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001491/0.5244, allocations: 0.5183 MB / 367.1 MB, free: 13.79 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.952e-06/0.5245, allocations: 0 / 367.1 MB, free: 13.79 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009471/0.5254, allocations: 393.1 kB / 367.5 MB, free: 13.42 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006541/0.5261, allocations: 59.56 kB / 367.5 MB, free: 13.38 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002791/0.5289, allocations: 1.212 MB / 368.7 MB, free: 12.2 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005193/0.5295, allocations: 0.847 MB / 369.6 MB, free: 11.32 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001897/0.5297, allocations: 35.42 kB / 369.6 MB, free: 11.29 MB / 298.7 MB Notification: Performance of SimCode: time 1.192e-06/0.5297, allocations: 0 / 369.6 MB, free: 11.29 MB / 298.7 MB Notification: Performance of Templates: time 0.01725/0.5469, allocations: 8.541 MB / 378.2 MB, free: 2.797 MB / 298.7 MB