Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.2_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") Notification: Performance of loadModel(Modelica): time 1.954/1.954, allocations: 194.9 MB / 211.7 MB, free: 2.984 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003626/0.0003627, allocations: 16 kB / 263.9 MB, free: 13.58 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07924/0.07962, allocations: 44.51 MB / 308.4 MB, free: 1.008 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4762/0.5559, allocations: 74.62 MB / 383.1 MB, free: 18.79 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000319/0.5563, allocations: 70.8 kB / 383.1 MB, free: 18.79 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04477/0.6011, allocations: 12.95 MB / 396.1 MB, free: 17.45 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.309e-06/0.6011, allocations: 0 / 396.1 MB, free: 17.45 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.003e-05/0.6012, allocations: 22.8 kB / 396.1 MB, free: 17.45 MB / 314.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.001775/0.6029, allocations: 1.066 MB / 397.2 MB, free: 16.82 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.603, allocations: 11.41 kB / 397.2 MB, free: 16.82 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001841/0.6032, allocations: 104.2 kB / 397.3 MB, free: 16.77 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006234/0.6038, allocations: 437.2 kB / 397.7 MB, free: 16.49 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.632e-05/0.6039, allocations: 72.59 kB / 397.8 MB, free: 16.49 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001349/0.604, allocations: 89.59 kB / 397.9 MB, free: 16.49 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001628/0.6057, allocations: 0.8571 MB / 398.7 MB, free: 16.38 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.958e-05/0.6057, allocations: 7.656 kB / 398.7 MB, free: 16.38 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001008/0.6058, allocations: 39.42 kB / 398.8 MB, free: 16.37 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.893e-05/0.6059, allocations: 22.66 kB / 398.8 MB, free: 16.37 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00132/0.6072, allocations: 0.577 MB / 399.4 MB, free: 16.36 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005298/0.6125, allocations: 2.995 MB / 402.4 MB, free: 15.16 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005168/0.6131, allocations: 298.7 kB / 402.7 MB, free: 15.14 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.696e-05/0.6131, allocations: 1.344 kB / 402.7 MB, free: 15.14 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.6132, allocations: 47.05 kB / 402.7 MB, free: 15.09 MB / 314.7 MB Notification: Performance of pre-optimization done (n=42): time 3.923e-06/0.6132, allocations: 0 / 402.7 MB, free: 15.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=42): time 0.001728/0.6149, allocations: 0.6522 MB / 403.4 MB, free: 14.9 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/0.615, allocations: 56.41 kB / 403.4 MB, free: 14.84 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006314/0.6156, allocations: 459.2 kB / 403.9 MB, free: 14.71 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.589e-05/0.6157, allocations: 35.48 kB / 403.9 MB, free: 14.68 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002147/0.6159, allocations: 0.5222 MB / 404.4 MB, free: 14.31 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/0.616, allocations: 155.8 kB / 404.6 MB, free: 14.22 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.574e-05/0.6161, allocations: 17.97 kB / 404.6 MB, free: 14.22 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.214e-05/0.6161, allocations: 338 kB / 404.9 MB, free: 13.91 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003754/0.6165, allocations: 169.1 kB / 405.1 MB, free: 13.91 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004967/0.617, allocations: 441.7 kB / 405.5 MB, free: 13.57 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004889/0.6176, allocations: 242 kB / 405.8 MB, free: 13.54 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.334e-06/0.6176, allocations: 7.812 kB / 405.8 MB, free: 13.54 MB / 314.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001474/0.6191, allocations: 0.7273 MB / 406.5 MB, free: 13.4 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.6191, allocations: 12 kB / 406.5 MB, free: 13.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.6191, allocations: 7.75 kB / 406.5 MB, free: 13.39 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003338/0.6195, allocations: 86.17 kB / 406.6 MB, free: 13.38 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007553/0.6202, allocations: 201.6 kB / 406.8 MB, free: 13.37 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001818/0.6221, allocations: 1.834 MB / 408.6 MB, free: 11.98 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006375/0.6227, allocations: 81.38 kB / 408.7 MB, free: 11.94 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.425e-05/0.6228, allocations: 38.16 kB / 408.7 MB, free: 11.94 MB / 314.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 () * Number of clocked 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.000376/0.6232, allocations: 214.2 kB / 408.9 MB, free: 11.8 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/0.6233, allocations: 66.33 kB / 409 MB, free: 11.77 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001028/0.6234, allocations: 63.05 kB / 409.1 MB, free: 11.76 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.894e-06/0.6235, allocations: 7.75 kB / 409.1 MB, free: 11.76 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.6235, allocations: 0.5625 kB / 409.1 MB, free: 11.76 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.129e-06/0.6235, allocations: 0 / 409.1 MB, free: 11.76 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008217/0.6243, allocations: 0.6488 MB / 409.7 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.036e-06/0.6243, allocations: 0 / 409.7 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005709/0.6249, allocations: 106.8 kB / 409.8 MB, free: 11.54 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002638/0.6252, allocations: 71.27 kB / 409.9 MB, free: 11.53 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.329e-05/0.6253, allocations: 11.36 kB / 409.9 MB, free: 11.53 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001697/0.627, allocations: 1.815 MB / 411.7 MB, free: 10.16 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.842e-06/0.627, allocations: 6.5 kB / 411.7 MB, free: 10.15 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001158/0.6282, allocations: 0.6544 MB / 412.4 MB, free: 9.949 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001543/0.6283, allocations: 138.9 kB / 412.5 MB, free: 9.816 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/0.6285, allocations: 11.81 kB / 412.5 MB, free: 9.812 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005493/0.629, allocations: 54.03 kB / 412.6 MB, free: 9.797 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.642e-05/0.6291, allocations: 31.33 kB / 412.6 MB, free: 9.785 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-05/0.6292, allocations: 11.41 kB / 412.6 MB, free: 9.785 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004396/0.6296, allocations: 341.4 kB / 413 MB, free: 9.656 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.49e-07/0.6296, allocations: 3.875 kB / 413 MB, free: 9.656 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001001/0.6306, allocations: 245.6 kB / 413.2 MB, free: 9.613 MB / 314.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 () * Number of clocked 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.0001568/0.6308, allocations: 124.1 kB / 413.3 MB, free: 9.516 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001104/0.6319, allocations: 0.5882 MB / 413.9 MB, free: 9.312 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.643e-06/0.6319, allocations: 0 / 413.9 MB, free: 9.312 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005656/0.6325, allocations: 330.4 kB / 414.2 MB, free: 9.148 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000647/0.6332, allocations: 104.4 kB / 414.3 MB, free: 9.125 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002585/0.6358, allocations: 1.779 MB / 416.1 MB, free: 7.891 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003674/0.6362, allocations: 0.948 MB / 417.1 MB, free: 7.066 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001763/0.6364, allocations: 50.28 kB / 417.1 MB, free: 7.059 MB / 314.7 MB Notification: Performance of SimCode: time 2.011e-06/0.6364, allocations: 0 / 417.1 MB, free: 7.059 MB / 314.7 MB Notification: Performance of Templates: time 0.01431/0.6507, allocations: 10.66 MB / 427.8 MB, free: 1.684 MB / 314.7 MB