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.CauerLowPassOPV.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.CauerLowPassOPV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C7.v",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") Notification: Performance of loadModel(Modelica): time 1.565/1.565, allocations: 171.3 MB / 179.2 MB, free: 7.504 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.199e-05/2.204e-05, allocations: 8 kB / 222.5 MB, free: 8.695 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06809/0.06813, allocations: 38.76 MB / 261.3 MB, free: 1.844 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.281/0.3492, allocations: 68.75 MB / 330 MB, free: 3.633 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002246/0.3494, allocations: 70.08 kB / 330.1 MB, free: 3.598 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05069/0.4001, allocations: 13.15 MB / 343.3 MB, free: 8.516 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.487e-06/0.4002, allocations: 0 / 343.3 MB, free: 8.516 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.059e-05/0.4003, allocations: 19.98 kB / 343.3 MB, free: 8.496 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.002033/0.4023, allocations: 0.995 MB / 344.3 MB, free: 7.512 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.4024, allocations: 8.031 kB / 344.3 MB, free: 7.504 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002455/0.4026, allocations: 106.8 kB / 344.4 MB, free: 7.398 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008069/0.4034, allocations: 446.3 kB / 344.8 MB, free: 6.988 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.997e-05/0.4035, allocations: 36 kB / 344.8 MB, free: 6.953 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001477/0.4037, allocations: 55.91 kB / 344.9 MB, free: 6.898 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001208/0.4049, allocations: 498.7 kB / 345.4 MB, free: 6.598 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001614/0.4065, allocations: 0.6966 MB / 346.1 MB, free: 6.066 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.75e-05/0.4066, allocations: 4 kB / 346.1 MB, free: 6.062 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.745e-05/0.4067, allocations: 0 / 346.1 MB, free: 6.062 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.844e-05/0.4067, allocations: 28 kB / 346.1 MB, free: 6.035 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005797/0.4125, allocations: 2.83 MB / 348.9 MB, free: 3.621 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004802/0.413, allocations: 267 kB / 349.2 MB, free: 3.449 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004184/0.4135, allocations: 248.9 kB / 349.5 MB, free: 3.289 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.217e-05/0.4135, allocations: 7.781 kB / 349.5 MB, free: 3.281 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.959e-05/0.4136, allocations: 41.56 kB / 349.5 MB, free: 3.234 MB / 282.7 MB Notification: Performance of pre-optimization done (n=42): time 3.691e-06/0.4136, allocations: 0 / 349.5 MB, free: 3.234 MB / 282.7 MB Notification: Performance of matching and sorting (n=42): time 0.0009623/0.4146, allocations: 359.8 kB / 349.9 MB, free: 2.949 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/0.4146, allocations: 59.41 kB / 349.9 MB, free: 2.879 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006476/0.4153, allocations: 399.4 kB / 350.3 MB, free: 2.531 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.008e-05/0.4154, allocations: 25.7 kB / 350.3 MB, free: 2.5 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004353/0.4158, allocations: 0.531 MB / 350.9 MB, free: 1.961 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001654/0.416, allocations: 153.8 kB / 351 MB, free: 1.809 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.04e-05/0.416, allocations: 3.938 kB / 351 MB, free: 1.805 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000188/0.4162, allocations: 346.8 kB / 351.3 MB, free: 1.457 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003401/0.4166, allocations: 137.6 kB / 351.5 MB, free: 1.32 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005851/0.4172, allocations: 418.5 kB / 351.9 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004685/0.4177, allocations: 214 kB / 352.1 MB, free: 0.582 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.004e-05/0.4177, allocations: 4 kB / 352.1 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00151/0.4192, allocations: 0.6171 MB / 352.7 MB, free: 15.95 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.883e-05/0.4193, allocations: 8 kB / 352.7 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.9e-05/0.4193, allocations: 8 kB / 352.7 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000367/0.4197, allocations: 84.75 kB / 352.8 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008514/0.4205, allocations: 203.9 kB / 353 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002425/0.423, allocations: 1.743 MB / 354.8 MB, free: 13.79 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006741/0.4237, allocations: 63.12 kB / 354.8 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.155e-05/0.4238, allocations: 32 kB / 354.9 MB, free: 13.7 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 88 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002048/0.424, allocations: 140.7 kB / 355 MB, free: 13.55 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001381/0.4241, allocations: 51.44 kB / 355 MB, free: 13.5 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001341/0.4243, allocations: 61.27 kB / 355.1 MB, free: 13.44 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.585e-06/0.4243, allocations: 4.281 kB / 355.1 MB, free: 13.44 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.098e-05/0.4243, allocations: 4 kB / 355.1 MB, free: 13.43 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.4243, allocations: 0 / 355.1 MB, free: 13.43 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000973/0.4253, allocations: 0.5404 MB / 355.7 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.095e-06/0.4253, allocations: 0 / 355.7 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005622/0.4259, allocations: 99.92 kB / 355.7 MB, free: 12.76 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003266/0.4263, allocations: 68.75 kB / 355.8 MB, free: 12.69 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.477e-05/0.4263, allocations: 7.938 kB / 355.8 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002367/0.4287, allocations: 1.732 MB / 357.6 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/0.4287, allocations: 32 / 357.6 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001287/0.43, allocations: 0.6022 MB / 358.2 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002144/0.4303, allocations: 136.4 kB / 358.3 MB, free: 10.06 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.31e-05/0.4304, allocations: 64 / 358.3 MB, free: 10.06 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005029/0.4309, allocations: 43.97 kB / 358.3 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.724e-05/0.431, allocations: 31.95 kB / 358.4 MB, free: 9.988 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.821e-05/0.4311, allocations: 12 kB / 358.4 MB, free: 9.977 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004775/0.4315, allocations: 291 kB / 358.7 MB, free: 9.695 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.4e-07/0.4316, allocations: 0 / 358.7 MB, free: 9.695 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001101/0.4327, allocations: 219.2 kB / 358.9 MB, free: 9.48 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C1.v,C2.v,C3.v,C4.v,C7.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002054/0.4329, allocations: 111.9 kB / 359 MB, free: 9.359 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001193/0.4341, allocations: 0.5249 MB / 359.5 MB, free: 8.828 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.481e-06/0.4341, allocations: 288 / 359.5 MB, free: 8.828 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000604/0.4347, allocations: 289.4 kB / 359.8 MB, free: 8.535 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006314/0.4354, allocations: 93.98 kB / 359.9 MB, free: 8.445 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002557/0.438, allocations: 1.1 MB / 361 MB, free: 7.309 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007365/0.4387, allocations: 0.9491 MB / 361.9 MB, free: 6.332 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001855/0.4389, allocations: 39.44 kB / 362 MB, free: 6.293 MB / 298.7 MB Notification: Performance of SimCode: time 1.721e-06/0.439, allocations: 4 kB / 362 MB, free: 6.289 MB / 298.7 MB Notification: Performance of Templates: time 0.01869/0.4576, allocations: 10.29 MB / 372.3 MB, free: 11.97 MB / 314.7 MB