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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/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.573/1.573, allocations: 171.2 MB / 184.2 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.143e-05/2.157e-05, allocations: 0 / 228.8 MB, free: 15.45 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2041/0.2041, allocations: 38.77 MB / 267.6 MB, free: 9.441 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1018/0.306, allocations: 69.41 MB / 337 MB, free: 3.93 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002264/0.3063, allocations: 67.97 kB / 337.1 MB, free: 3.863 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05159/0.3579, allocations: 13.32 MB / 350.4 MB, free: 6.48 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.801e-06/0.358, allocations: 0 / 350.4 MB, free: 6.48 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.727e-05/0.358, allocations: 20 kB / 350.4 MB, free: 6.461 MB / 298.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.002019/0.3601, allocations: 0.9938 MB / 351.4 MB, free: 5.418 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.3601, allocations: 12.03 kB / 351.4 MB, free: 5.406 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002199/0.3603, allocations: 106.8 kB / 351.5 MB, free: 5.301 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007706/0.3611, allocations: 439 kB / 351.9 MB, free: 4.832 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.938e-05/0.3612, allocations: 74 kB / 352 MB, free: 4.762 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001722/0.3614, allocations: 95.89 kB / 352.1 MB, free: 4.668 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001798/0.3632, allocations: 0.8364 MB / 352.9 MB, free: 3.805 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.605e-05/0.3633, allocations: 0 / 352.9 MB, free: 3.805 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001106/0.3634, allocations: 36 kB / 353 MB, free: 3.77 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.598e-05/0.3634, allocations: 24 kB / 353 MB, free: 3.746 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001325/0.3648, allocations: 0.5429 MB / 353.5 MB, free: 3.207 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005748/0.3705, allocations: 2.996 MB / 356.5 MB, free: 92 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1774/0.5479, allocations: 283.8 kB / 356.8 MB, free: 74.18 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00057/0.5486, allocations: 261.4 kB / 357.1 MB, free: 74.18 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.881e-05/0.5486, allocations: 4.438 kB / 357.1 MB, free: 74.18 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/0.5487, allocations: 43.64 kB / 357.1 MB, free: 74.14 MB / 298.7 MB Notification: Performance of pre-optimization done (n=42): time 3.571e-06/0.5487, allocations: 0.7812 kB / 357.1 MB, free: 74.14 MB / 298.7 MB Notification: Performance of matching and sorting (n=42): time 0.00115/0.5498, allocations: 392 kB / 357.5 MB, free: 74.09 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.496e-05/0.5499, allocations: 60.3 kB / 357.6 MB, free: 74.02 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007737/0.5507, allocations: 456.9 kB / 358 MB, free: 73.91 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.431e-05/0.5507, allocations: 35.11 kB / 358 MB, free: 73.88 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002523/0.551, allocations: 0.5197 MB / 358.6 MB, free: 73.6 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001187/0.5511, allocations: 163.3 kB / 358.7 MB, free: 73.52 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.761e-05/0.5512, allocations: 15.22 kB / 358.7 MB, free: 73.52 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.769e-05/0.5513, allocations: 338.8 kB / 359.1 MB, free: 73.21 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003585/0.5516, allocations: 156.8 kB / 359.2 MB, free: 73.21 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004756/0.5521, allocations: 435.8 kB / 359.6 MB, free: 72.88 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004682/0.5526, allocations: 232.7 kB / 359.9 MB, free: 72.87 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.423e-06/0.5526, allocations: 2.75 kB / 359.9 MB, free: 72.87 MB / 298.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001483/0.5541, allocations: 0.7066 MB / 360.6 MB, free: 72.79 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.5542, allocations: 6.812 kB / 360.6 MB, free: 72.79 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/0.5542, allocations: 10.69 kB / 360.6 MB, free: 72.79 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003475/0.5546, allocations: 87.03 kB / 360.7 MB, free: 72.78 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007961/0.5554, allocations: 204 kB / 360.9 MB, free: 72.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001964/0.5574, allocations: 1.792 MB / 362.7 MB, free: 71.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006909/0.5581, allocations: 93.41 kB / 362.8 MB, free: 71.36 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.867e-05/0.5582, allocations: 39.38 kB / 362.8 MB, free: 71.36 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.0001576/0.5583, allocations: 150.7 kB / 363 MB, free: 71.23 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/0.5585, allocations: 63.67 kB / 363 MB, free: 71.2 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001206/0.5586, allocations: 61.88 kB / 363.1 MB, free: 71.18 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.933e-06/0.5586, allocations: 10.84 kB / 363.1 MB, free: 71.18 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/0.5586, allocations: 0 / 363.1 MB, free: 71.18 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.486e-06/0.5587, allocations: 1.922 kB / 363.1 MB, free: 71.18 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009041/0.5596, allocations: 0.6345 MB / 363.7 MB, free: 70.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.893e-06/0.5596, allocations: 3.438 kB / 363.7 MB, free: 70.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005774/0.5602, allocations: 105.9 kB / 363.8 MB, free: 70.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003023/0.5605, allocations: 71.61 kB / 363.9 MB, free: 70.97 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.536e-05/0.5606, allocations: 17.05 kB / 363.9 MB, free: 70.96 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001805/0.5624, allocations: 1.787 MB / 365.7 MB, free: 69.59 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.289e-06/0.5624, allocations: 0 / 365.7 MB, free: 69.59 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/0.5635, allocations: 0.6332 MB / 366.3 MB, free: 69.4 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001578/0.5637, allocations: 141.4 kB / 366.5 MB, free: 69.27 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/0.5638, allocations: 13.2 kB / 366.5 MB, free: 69.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005715/0.5644, allocations: 52.44 kB / 366.5 MB, free: 69.26 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.198e-05/0.5645, allocations: 29.62 kB / 366.6 MB, free: 69.26 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.68e-05/0.5645, allocations: 11.91 kB / 366.6 MB, free: 69.25 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004419/0.565, allocations: 333.1 kB / 366.9 MB, free: 69.09 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.07e-07/0.565, allocations: 0 / 366.9 MB, free: 69.09 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001013/0.566, allocations: 259.2 kB / 367.2 MB, free: 69.03 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.0001625/0.5662, allocations: 115.4 kB / 367.3 MB, free: 68.93 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001043/0.5672, allocations: 0.5676 MB / 367.8 MB, free: 68.66 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.5673, allocations: 7.656 kB / 367.8 MB, free: 68.65 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005511/0.5678, allocations: 309 kB / 368.1 MB, free: 68.47 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006036/0.5684, allocations: 110.1 kB / 368.3 MB, free: 68.43 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002111/0.5706, allocations: 1.12 MB / 369.4 MB, free: 67.86 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003787/0.571, allocations: 0.9442 MB / 370.3 MB, free: 67.15 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000161/0.5712, allocations: 43.59 kB / 370.4 MB, free: 67.14 MB / 298.7 MB Notification: Performance of SimCode: time 1.834e-06/0.5712, allocations: 0 / 370.4 MB, free: 67.14 MB / 298.7 MB Notification: Performance of Templates: time 0.01387/0.585, allocations: 10.65 MB / 381 MB, free: 61.75 MB / 298.7 MB