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.CauerLowPassAnalog.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.CauerLowPassAnalog,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C3.v|C5.v|L1.i|L2.i",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") Notification: Performance of loadModel(Modelica): time 1.699/1.699, allocations: 171.1 MB / 186.7 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000386/0.000386, allocations: 12 kB / 233.2 MB, free: 3.016 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0696/0.07001, allocations: 38.77 MB / 272 MB, free: 12.17 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3471/0.4172, allocations: 67.84 MB / 339.8 MB, free: 6.109 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002226/0.4175, allocations: 72.58 kB / 339.9 MB, free: 6.07 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01896/0.4364, allocations: 4.918 MB / 344.8 MB, free: 1.879 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.067e-06/0.4365, allocations: 0 / 344.8 MB, free: 1.879 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.763e-05/0.4365, allocations: 12 kB / 344.8 MB, free: 1.867 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.0009385/0.4375, allocations: 0.5437 MB / 345.4 MB, free: 1.297 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.4375, allocations: 11.97 kB / 345.4 MB, free: 1.285 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.869e-05/0.4376, allocations: 31.62 kB / 345.4 MB, free: 1.254 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003569/0.438, allocations: 249.8 kB / 345.7 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.535e-05/0.438, allocations: 22.31 kB / 345.7 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.155e-05/0.4381, allocations: 30.88 kB / 345.7 MB, free: 0.957 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005703/0.4387, allocations: 250.1 kB / 346 MB, free: 0.7773 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.4387, allocations: 0 / 346 MB, free: 0.7773 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.683e-05/0.4388, allocations: 10.62 kB / 346 MB, free: 0.7773 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.707e-05/0.4388, allocations: 11.98 kB / 346 MB, free: 0.7656 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004768/0.4393, allocations: 181.7 kB / 346.2 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001985/0.4413, allocations: 1.024 MB / 347.2 MB, free: 15.73 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005342/0.4418, allocations: 335.6 kB / 347.5 MB, free: 15.41 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.4419, allocations: 4.188 kB / 347.5 MB, free: 15.41 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.4419, allocations: 34.56 kB / 347.6 MB, free: 15.37 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 2.887e-06/0.4419, allocations: 0 / 347.6 MB, free: 15.37 MB / 282.7 MB Notification: Performance of matching and sorting (n=25): time 0.001905/0.4439, allocations: 0.7933 MB / 348.4 MB, free: 14.69 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/0.4439, allocations: 62.03 kB / 348.4 MB, free: 14.62 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00023/0.4442, allocations: 166.5 kB / 348.6 MB, free: 14.47 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.515e-05/0.4442, allocations: 31.02 kB / 348.6 MB, free: 14.44 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001534/0.4444, allocations: 231.4 kB / 348.8 MB, free: 14.22 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001035/0.4445, allocations: 100.8 kB / 348.9 MB, free: 14.14 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.384e-05/0.4445, allocations: 3.625 kB / 348.9 MB, free: 14.14 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.4447, allocations: 325.5 kB / 349.3 MB, free: 13.82 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000203/0.4449, allocations: 74.66 kB / 349.3 MB, free: 13.77 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002287/0.4452, allocations: 108.4 kB / 349.4 MB, free: 13.68 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002217/0.4454, allocations: 87.05 kB / 349.5 MB, free: 13.64 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.297e-06/0.4454, allocations: 0 / 349.5 MB, free: 13.64 MB / 282.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000737/0.4462, allocations: 309 kB / 349.8 MB, free: 13.41 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.4462, allocations: 11.94 kB / 349.8 MB, free: 13.39 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.631e-06/0.4462, allocations: 4 kB / 349.8 MB, free: 13.39 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000335/0.4466, allocations: 81.5 kB / 349.9 MB, free: 13.32 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002474/0.4468, allocations: 47.92 kB / 350 MB, free: 13.28 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00271/0.4496, allocations: 1.92 MB / 351.9 MB, free: 11.5 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001776/0.4498, allocations: 4.875 kB / 351.9 MB, free: 11.5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.22e-05/0.4498, allocations: 11.44 kB / 351.9 MB, free: 11.5 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (22): * Single equations (assignments): 21 * 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 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00022/0.4501, allocations: 144.4 kB / 352 MB, free: 11.36 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.43e-05/0.4501, allocations: 15.81 kB / 352.1 MB, free: 11.35 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.869e-05/0.4502, allocations: 27.3 kB / 352.1 MB, free: 11.34 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.066e-06/0.4502, allocations: 4 kB / 352.1 MB, free: 11.33 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/0.4502, allocations: 4 kB / 352.1 MB, free: 11.33 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.223e-06/0.4503, allocations: 0 / 352.1 MB, free: 11.33 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001523/0.4518, allocations: 0.7558 MB / 352.8 MB, free: 10.68 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.765e-06/0.4518, allocations: 11.94 kB / 352.9 MB, free: 10.66 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002458/0.4521, allocations: 31.98 kB / 352.9 MB, free: 10.63 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002994/0.4524, allocations: 75.42 kB / 353 MB, free: 10.57 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.782e-05/0.4524, allocations: 11.36 kB / 353 MB, free: 10.56 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002406/0.4549, allocations: 1.814 MB / 354.8 MB, free: 8.848 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.4549, allocations: 0 / 354.8 MB, free: 8.848 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009338/0.4558, allocations: 468.8 kB / 355.2 MB, free: 8.473 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/0.456, allocations: 100.8 kB / 355.3 MB, free: 8.355 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.325e-05/0.456, allocations: 7.078 kB / 355.4 MB, free: 8.352 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002586/0.4563, allocations: 19.34 kB / 355.4 MB, free: 8.336 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.716e-05/0.4564, allocations: 27.78 kB / 355.4 MB, free: 8.312 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-05/0.4564, allocations: 4 kB / 355.4 MB, free: 8.309 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001773/0.4566, allocations: 143.9 kB / 355.5 MB, free: 8.188 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-07/0.4566, allocations: 0 / 355.5 MB, free: 8.188 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005972/0.4572, allocations: 77.62 kB / 355.6 MB, free: 8.121 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C1.v,C3.v,C5.v,L1.i,L2.i) * 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 (16): * Single equations (assignments): 15 * 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.0001748/0.4574, allocations: 110.5 kB / 355.7 MB, free: 8.008 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008386/0.4583, allocations: 375.4 kB / 356.1 MB, free: 7.699 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.321e-06/0.4583, allocations: 0 / 356.1 MB, free: 7.699 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005861/0.4589, allocations: 265.2 kB / 356.3 MB, free: 7.469 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003648/0.4593, allocations: 28.17 kB / 356.4 MB, free: 7.453 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001788/0.4611, allocations: 0.9769 MB / 357.4 MB, free: 6.488 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004931/0.4616, allocations: 0.7713 MB / 358.1 MB, free: 5.691 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.709e-05/0.4617, allocations: 19.44 kB / 358.1 MB, free: 5.672 MB / 282.7 MB Notification: Performance of SimCode: time 1.59e-06/0.4617, allocations: 0 / 358.1 MB, free: 5.672 MB / 282.7 MB Notification: Performance of Templates: time 0.007603/0.4693, allocations: 3.891 MB / 362 MB, free: 1.812 MB / 282.7 MB