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.546/1.546, allocations: 171.2 MB / 184.2 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.892e-05/2.901e-05, allocations: 8 kB / 228.8 MB, free: 15.44 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1997/0.1998, allocations: 38.76 MB / 267.6 MB, free: 9.453 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09841/0.2982, allocations: 67.76 MB / 335.3 MB, free: 5.594 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002208/0.2985, allocations: 67.97 kB / 335.4 MB, free: 5.527 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01885/0.3173, allocations: 4.919 MB / 340.3 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.071e-06/0.3174, allocations: 0 / 340.3 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.961e-05/0.3174, allocations: 12 kB / 340.3 MB, free: 0.5625 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.0008201/0.3183, allocations: 0.5103 MB / 340.9 MB, free: 8 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.251e-05/0.3183, allocations: 12.08 kB / 340.9 MB, free: 15.99 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.794e-05/0.3184, allocations: 31.62 kB / 340.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003568/0.3188, allocations: 250.4 kB / 341.1 MB, free: 15.68 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.985e-05/0.3188, allocations: 20.56 kB / 341.2 MB, free: 15.66 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.664e-05/0.3189, allocations: 28 kB / 341.2 MB, free: 15.63 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005289/0.3195, allocations: 244.9 kB / 341.4 MB, free: 15.39 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.3195, allocations: 0 / 341.4 MB, free: 15.39 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.032e-05/0.3195, allocations: 12 kB / 341.4 MB, free: 15.38 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.3196, allocations: 8 kB / 341.4 MB, free: 15.37 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004143/0.32, allocations: 166.2 kB / 341.6 MB, free: 15.2 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001988/0.322, allocations: 1.029 MB / 342.6 MB, free: 14.09 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004876/0.3225, allocations: 326.5 kB / 343 MB, free: 13.73 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004417/0.323, allocations: 185.2 kB / 343.1 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.323, allocations: 4.188 kB / 343.1 MB, free: 13.54 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.323, allocations: 34.75 kB / 343.2 MB, free: 13.5 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 4.608e-06/0.3231, allocations: 4 kB / 343.2 MB, free: 13.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=25): time 0.001541/0.3246, allocations: 0.703 MB / 343.9 MB, free: 12.74 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.925e-05/0.3247, allocations: 55.41 kB / 343.9 MB, free: 12.68 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002301/0.3249, allocations: 166.6 kB / 344.1 MB, free: 12.51 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.312e-05/0.325, allocations: 29.7 kB / 344.1 MB, free: 12.47 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001502/0.3251, allocations: 234.4 kB / 344.4 MB, free: 12.24 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.176e-05/0.3252, allocations: 94.64 kB / 344.4 MB, free: 12.15 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.592e-05/0.3253, allocations: 4 kB / 344.5 MB, free: 12.14 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.3254, allocations: 322.8 kB / 344.8 MB, free: 11.82 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001633/0.3256, allocations: 64.56 kB / 344.8 MB, free: 11.75 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002361/0.3259, allocations: 94.7 kB / 344.9 MB, free: 11.66 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001806/0.3261, allocations: 83.95 kB / 345 MB, free: 11.57 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.08e-06/0.3261, allocations: 0 / 345 MB, free: 11.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006655/0.3268, allocations: 298.1 kB / 345.3 MB, free: 11.27 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.3268, allocations: 4 kB / 345.3 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.328e-06/0.3268, allocations: 0 / 345.3 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003294/0.3271, allocations: 88.84 kB / 345.4 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002469/0.3274, allocations: 43.92 kB / 345.4 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002609/0.33, allocations: 1.882 MB / 347.3 MB, free: 9.117 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000153/0.3302, allocations: 8.062 kB / 347.3 MB, free: 9.109 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.555e-05/0.3302, allocations: 12.11 kB / 347.3 MB, free: 9.098 MB / 298.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 () * 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.0001226/0.3304, allocations: 124.8 kB / 347.5 MB, free: 8.969 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.208e-05/0.3305, allocations: 23.81 kB / 347.5 MB, free: 8.945 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.636e-05/0.3305, allocations: 29.58 kB / 347.5 MB, free: 8.914 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.086e-06/0.3306, allocations: 4 kB / 347.5 MB, free: 8.91 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.371e-06/0.3306, allocations: 4 kB / 347.5 MB, free: 8.906 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.35e-06/0.3306, allocations: 0 / 347.5 MB, free: 8.906 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001407/0.332, allocations: 0.733 MB / 348.2 MB, free: 8.113 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.68e-06/0.332, allocations: 0 / 348.2 MB, free: 8.113 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002561/0.3323, allocations: 39.92 kB / 348.3 MB, free: 8.074 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002738/0.3326, allocations: 68.81 kB / 348.4 MB, free: 8.004 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.972e-05/0.3326, allocations: 11.98 kB / 348.4 MB, free: 7.992 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002287/0.3349, allocations: 1.78 MB / 350.1 MB, free: 6.078 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.051e-06/0.3349, allocations: 0 / 350.1 MB, free: 6.078 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008044/0.3358, allocations: 444.3 kB / 350.6 MB, free: 5.625 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.592e-05/0.3359, allocations: 101 kB / 350.7 MB, free: 5.508 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.11e-05/0.3359, allocations: 3.953 kB / 350.7 MB, free: 5.504 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002186/0.3362, allocations: 15.98 kB / 350.7 MB, free: 5.488 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.245e-05/0.3362, allocations: 27.97 kB / 350.7 MB, free: 5.461 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.146e-05/0.3363, allocations: 8.266 kB / 350.7 MB, free: 5.453 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000164/0.3364, allocations: 139.4 kB / 350.9 MB, free: 5.316 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.59e-07/0.3365, allocations: 0 / 350.9 MB, free: 5.316 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005722/0.337, allocations: 83.94 kB / 350.9 MB, free: 5.234 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,C3.v,C5.v,L1.i,L2.i) * Number of discrete variables: 0 () * Number of discrete 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.0001632/0.3372, allocations: 107.2 kB / 351.1 MB, free: 5.121 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007377/0.338, allocations: 350.5 kB / 351.4 MB, free: 4.766 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.338, allocations: 3.938 kB / 351.4 MB, free: 4.762 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005361/0.3385, allocations: 254.3 kB / 351.6 MB, free: 4.5 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003439/0.3389, allocations: 36.05 kB / 351.7 MB, free: 4.465 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001296/0.3402, allocations: 0.6472 MB / 352.3 MB, free: 3.793 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004551/0.3407, allocations: 0.7753 MB / 353.1 MB, free: 2.992 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.559e-05/0.3408, allocations: 15.44 kB / 353.1 MB, free: 2.977 MB / 298.7 MB Notification: Performance of SimCode: time 1.501e-06/0.3408, allocations: 0 / 353.1 MB, free: 2.977 MB / 298.7 MB Notification: Performance of Templates: time 0.1776/0.5184, allocations: 3.876 MB / 357 MB, free: 80.09 MB / 298.7 MB