Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassSC.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassSC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C7.v|R1.Capacitor1.v|R10.Capacitor1.v|R11.Capacitor1.v|R2.Capacitor1.v|R3.Capacitor1.v|R4.Capacitor1.v|R5.Capacitor1.v|R7.Capacitor1.v|R8.Capacitor1.v|R9.Capacitor1.v|Rp1.Capacitor1.v",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassSC") Notification: Performance of loadModel(Modelica): time 2.418/2.418, allocations: 194.8 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003543/0.0003545, allocations: 8 kB / 264.5 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.101, allocations: 44.51 MB / 309.1 MB, free: 380 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4831/0.5842, allocations: 76.21 MB / 385.3 MB, free: 15.38 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003621/0.5847, allocations: 72.03 kB / 385.3 MB, free: 15.38 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1357/0.7204, allocations: 32.27 MB / 417.6 MB, free: 7.133 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.7205, allocations: 4 kB / 417.6 MB, free: 7.129 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001373/0.7206, allocations: 45.41 kB / 417.6 MB, free: 7.129 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: 559 * Number of variables: 559 Notification: Performance of Generate backend data structure: time 0.00807/0.7287, allocations: 2.465 MB / 420.1 MB, free: 5.648 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.7288, allocations: 7.75 kB / 420.1 MB, free: 5.648 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008853/0.7297, allocations: 245.5 kB / 420.4 MB, free: 5.527 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002123/0.7318, allocations: 0.956 MB / 421.3 MB, free: 4.992 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001364/0.7319, allocations: 165.9 kB / 421.5 MB, free: 4.984 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000469/0.7324, allocations: 220.6 kB / 421.7 MB, free: 4.98 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006479/0.7389, allocations: 2.305 MB / 424 MB, free: 4.227 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.678e-05/0.739, allocations: 3.875 kB / 424 MB, free: 4.227 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003099/0.7394, allocations: 88.59 kB / 424.1 MB, free: 4.227 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.447e-05/0.7394, allocations: 58.25 kB / 424.1 MB, free: 4.223 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00543/0.7449, allocations: 1.703 MB / 425.8 MB, free: 4.008 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02561/0.7705, allocations: 8.708 MB / 434.6 MB, free: 14.76 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00562/0.7762, allocations: 2.078 MB / 436.6 MB, free: 13.68 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001841/0.7765, allocations: 21.28 kB / 436.7 MB, free: 13.68 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002619/0.7791, allocations: 0.9172 MB / 437.6 MB, free: 13.13 MB / 330.7 MB Notification: Performance of pre-optimization done (n=207): time 4.829e-06/0.7791, allocations: 0 / 437.6 MB, free: 13.13 MB / 330.7 MB Notification: Performance of matching and sorting (n=207): time 0.02423/0.8034, allocations: 5.344 MB / 442.9 MB, free: 8.312 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/0.8035, allocations: 81.41 kB / 443 MB, free: 8.223 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002157/0.8057, allocations: 0.969 MB / 444 MB, free: 7.238 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004901/0.8062, allocations: 61.7 kB / 444 MB, free: 7.172 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009996/0.8072, allocations: 0.8136 MB / 444.8 MB, free: 6.355 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001257/0.8085, allocations: 0.6628 MB / 445.5 MB, free: 5.703 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002028/0.8087, allocations: 48 kB / 445.5 MB, free: 5.656 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002907/0.809, allocations: 390.6 kB / 445.9 MB, free: 5.27 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002318/0.8113, allocations: 0.6449 MB / 446.6 MB, free: 4.621 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002919/0.8143, allocations: 1.179 MB / 447.8 MB, free: 3.199 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002614/0.817, allocations: 0.7439 MB / 448.5 MB, free: 2.457 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.722e-05/0.817, allocations: 7.938 kB / 448.5 MB, free: 2.449 MB / 330.7 MB Notification: Performance of matching and sorting (n=296) (initialization): time 0.01169/0.8287, allocations: 2.922 MB / 451.4 MB, free: 15.48 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.775e-05/0.8288, allocations: 12.62 kB / 451.4 MB, free: 15.47 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.521e-05/0.8289, allocations: 23.94 kB / 451.5 MB, free: 15.45 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006603/0.8355, allocations: 1.178 MB / 452.6 MB, free: 14.23 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001983/0.8375, allocations: 283.5 kB / 452.9 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04028/0.8779, allocations: 22.73 MB / 475.6 MB, free: 5.633 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002823/0.8807, allocations: 273.8 kB / 475.9 MB, free: 5.363 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000303/0.8811, allocations: 92 kB / 476 MB, free: 5.273 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * Number of states: 0 () * Number of discrete variables: 44 ($whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,R4.BooleanPulse1.y,$PRE.R4.BooleanPulse1.pulsStart,R4.BooleanPulse1.pulsStart,R5.BooleanPulse1.y,$PRE.R5.BooleanPulse1.pulsStart,R5.BooleanPulse1.pulsStart,R8.BooleanPulse1.y,$PRE.R8.BooleanPulse1.pulsStart,R8.BooleanPulse1.pulsStart,R9.BooleanPulse1.y,$PRE.R9.BooleanPulse1.pulsStart,R9.BooleanPulse1.pulsStart,R1.BooleanPulse1.y,$PRE.R1.BooleanPulse1.pulsStart,R1.BooleanPulse1.pulsStart,R2.BooleanPulse1.y,$PRE.R2.BooleanPulse1.pulsStart,R2.BooleanPulse1.pulsStart,R3.BooleanPulse1.y,$PRE.R3.BooleanPulse1.pulsStart,R3.BooleanPulse1.pulsStart,Rp1.BooleanPulse1.y,$PRE.Rp1.BooleanPulse1.pulsStart,Rp1.BooleanPulse1.pulsStart,R7.BooleanPulse1.y,$PRE.R7.BooleanPulse1.pulsStart,R7.BooleanPulse1.pulsStart,R10.BooleanPulse1.y,$PRE.R10.BooleanPulse1.pulsStart,R10.BooleanPulse1.pulsStart,R11.BooleanPulse1.y,$PRE.R11.BooleanPulse1.pulsStart,R11.BooleanPulse1.pulsStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (177): * Single equations (assignments): 165 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(1,100.0%) 9,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001536/0.8826, allocations: 438.6 kB / 476.4 MB, free: 4.832 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005477/0.8832, allocations: 166 kB / 476.6 MB, free: 4.668 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00059/0.8838, allocations: 200.2 kB / 476.8 MB, free: 4.461 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.646e-05/0.8838, allocations: 20 kB / 476.8 MB, free: 4.441 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.184e-05/0.8839, allocations: 19.95 kB / 476.8 MB, free: 4.422 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-05/0.8839, allocations: 12.05 kB / 476.8 MB, free: 4.41 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004352/0.8883, allocations: 1.893 MB / 478.7 MB, free: 2.504 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.307e-05/0.8884, allocations: 4 kB / 478.7 MB, free: 2.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001463/0.8899, allocations: 143.7 kB / 478.9 MB, free: 2.359 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006329/0.8962, allocations: 1.151 MB / 480 MB, free: 1.172 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004207/0.8967, allocations: 40 kB / 480.1 MB, free: 1.133 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04233/0.939, allocations: 22.74 MB / 0.491 GB, free: 8.805 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.9391, allocations: 0 / 0.491 GB, free: 8.805 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01342/0.9525, allocations: 3.478 MB / 0.4944 GB, free: 5.281 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00156/0.9541, allocations: 430.6 kB / 0.4948 GB, free: 4.84 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005056/0.9547, allocations: 43.92 kB / 0.4949 GB, free: 4.797 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001901/0.9566, allocations: 111.9 kB / 0.495 GB, free: 4.688 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000922/0.9575, allocations: 213.9 kB / 0.4952 GB, free: 4.48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001907/0.9578, allocations: 51.98 kB / 0.4952 GB, free: 4.43 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001455/0.9592, allocations: 0.614 MB / 0.4958 GB, free: 3.809 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.11e-07/0.9592, allocations: 0 / 0.4958 GB, free: 3.809 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004174/0.9634, allocations: 0.7563 MB / 0.4966 GB, free: 3.051 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 16 (C1.v,C2.v,C3.v,C4.v,C7.v,R4.Capacitor1.v,R5.Capacitor1.v,R8.Capacitor1.v,R9.Capacitor1.v,R1.Capacitor1.v,R2.Capacitor1.v,R3.Capacitor1.v,Rp1.Capacitor1.v,R7.Capacitor1.v,R10.Capacitor1.v,R11.Capacitor1.v) * Number of discrete variables: 33 ($whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,R4.BooleanPulse1.y,R4.BooleanPulse1.pulsStart,R5.BooleanPulse1.y,R5.BooleanPulse1.pulsStart,R8.BooleanPulse1.y,R8.BooleanPulse1.pulsStart,R9.BooleanPulse1.y,R9.BooleanPulse1.pulsStart,R1.BooleanPulse1.y,R1.BooleanPulse1.pulsStart,R2.BooleanPulse1.y,R2.BooleanPulse1.pulsStart,R3.BooleanPulse1.y,R3.BooleanPulse1.pulsStart,Rp1.BooleanPulse1.y,Rp1.BooleanPulse1.pulsStart,R7.BooleanPulse1.y,R7.BooleanPulse1.pulsStart,R10.BooleanPulse1.y,R10.BooleanPulse1.pulsStart,R11.BooleanPulse1.y,R11.BooleanPulse1.pulsStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(1,100.0%) 9,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006597/0.9641, allocations: 175 kB / 0.4967 GB, free: 2.871 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01106/0.9752, allocations: 3.925 MB / 0.5006 GB, free: 14.79 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.398e-06/0.9753, allocations: 0.6875 kB / 0.5006 GB, free: 14.79 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007902/0.9832, allocations: 3.013 MB / 0.5035 GB, free: 11.64 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003017/0.9862, allocations: 347.5 kB / 0.5038 GB, free: 11.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01384/1, allocations: 5.214 MB / 0.5089 GB, free: 6.051 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00179/1.002, allocations: 1.481 MB / 0.5104 GB, free: 4.531 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001135/1.003, allocations: 138.3 kB / 0.5105 GB, free: 4.391 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003278/1.004, allocations: 71.44 kB / 0.5106 GB, free: 4.32 MB / 410.7 MB Notification: Performance of SimCode: time 1.123e-06/1.004, allocations: 0 / 0.5106 GB, free: 4.32 MB / 410.7 MB Notification: Performance of Templates: time 0.4481/1.452, allocations: 31.33 MB / 0.5412 GB, free: 110.9 MB / 410.7 MB