Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassSC.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassSC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassSC") Notification: Performance of loadModel(Modelica): time 1.041/1.041, allocations: 111.1 MB / 126.7 MB, free: 6.141 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002602/0.0002602, allocations: 11.92 kB / 158.3 MB, free: 15.17 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04491/0.04519, allocations: 25.16 MB / 183.5 MB, free: 5.977 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1733/0.2186, allocations: 37.28 MB / 220.8 MB, free: 5.816 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001979/0.2188, allocations: 61.19 kB / 220.8 MB, free: 5.809 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1192/0.3381, allocations: 32.14 MB / 253 MB, free: 13.16 MB / 202.7 MB Notification: Performance of FrontEnd: time 2.235e-06/0.3381, allocations: 0 / 253 MB, free: 13.16 MB / 202.7 MB Notification: Performance of Transformations before backend: time 0.0001157/0.3382, allocations: 47.98 kB / 253 MB, free: 13.12 MB / 202.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.006702/0.3449, allocations: 2.456 MB / 255.5 MB, free: 10.58 MB / 202.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.345, allocations: 8.031 kB / 255.5 MB, free: 10.57 MB / 202.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000809/0.3458, allocations: 249 kB / 255.7 MB, free: 10.32 MB / 202.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002277/0.3481, allocations: 0.9425 MB / 256.7 MB, free: 9.34 MB / 202.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001895/0.3483, allocations: 168.4 kB / 256.8 MB, free: 9.172 MB / 202.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004712/0.3488, allocations: 223.9 kB / 257.1 MB, free: 8.953 MB / 202.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006424/0.3553, allocations: 2.304 MB / 259.4 MB, free: 6.496 MB / 202.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.833e-05/0.3554, allocations: 3.938 kB / 259.4 MB, free: 6.492 MB / 202.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003101/0.3557, allocations: 91.98 kB / 259.5 MB, free: 6.402 MB / 202.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.068e-05/0.3558, allocations: 56 kB / 259.5 MB, free: 6.348 MB / 202.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00565/0.3614, allocations: 1.703 MB / 261.2 MB, free: 4.629 MB / 202.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01838/0.3798, allocations: 8.711 MB / 269.9 MB, free: 11.7 MB / 218.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005339/0.3852, allocations: 2.083 MB / 272 MB, free: 9.605 MB / 218.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001915/0.3854, allocations: 25.98 kB / 272 MB, free: 9.582 MB / 218.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002618/0.3881, allocations: 0.9094 MB / 272.9 MB, free: 8.664 MB / 218.7 MB Notification: Performance of pre-optimization done (n=207): time 7.53e-06/0.3881, allocations: 0 / 272.9 MB, free: 8.664 MB / 218.7 MB Notification: Performance of matching and sorting (n=207): time 0.01806/0.4062, allocations: 5.348 MB / 278.3 MB, free: 3.051 MB / 218.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.273e-05/0.4063, allocations: 77.41 kB / 278.4 MB, free: 2.961 MB / 218.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Analog/Sources.mo:138:5-138:53:writable] Warning: Parameter V.V has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001801/0.4081, allocations: 0.8538 MB / 279.2 MB, free: 2.094 MB / 218.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003021/0.4085, allocations: 61.7 kB / 279.3 MB, free: 2.027 MB / 218.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008505/0.4093, allocations: 0.8139 MB / 280.1 MB, free: 1.203 MB / 218.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009428/0.4103, allocations: 0.6546 MB / 280.7 MB, free: 0.5391 MB / 218.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001523/0.4105, allocations: 43.94 kB / 280.8 MB, free: 0.4961 MB / 218.7 MB Notification: Performance of setup shared object (initialization): time 0.0002869/0.4108, allocations: 407.4 kB / 281.2 MB, free: 92 kB / 218.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001792/0.4126, allocations: 0.6175 MB / 281.8 MB, free: 15.47 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002381/0.415, allocations: 1.155 MB / 283 MB, free: 14.08 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00208/0.4171, allocations: 0.7633 MB / 283.7 MB, free: 13.32 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-05/0.4171, allocations: 4 kB / 283.7 MB, free: 13.31 MB / 234.7 MB Notification: Performance of matching and sorting (n=296) (initialization): time 0.008292/0.4254, allocations: 2.859 MB / 286.6 MB, free: 10.41 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.959e-05/0.4255, allocations: 13 kB / 286.6 MB, free: 10.39 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.361e-05/0.4256, allocations: 16 kB / 286.6 MB, free: 10.38 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005079/0.4306, allocations: 1.182 MB / 287.8 MB, free: 9.16 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00133/0.432, allocations: 279.5 kB / 288.1 MB, free: 8.887 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1599/0.592, allocations: 22.71 MB / 310.8 MB, free: 42.09 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001958/0.594, allocations: 273.5 kB / 311.1 MB, free: 42.08 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002052/0.5942, allocations: 89.56 kB / 311.1 MB, free: 42.08 MB / 234.7 MB Warning: Assuming fixed start value for the following 16 variables: R11.Capacitor1.v:VARIABLE(unit = "V" fixed = true ) "Voltage drop between the two pins (= p.v - n.v)" type: Real R10.Capacitor1.v:VARIABLE(unit = "V" fixed = true ) "Voltage drop between the two pins (= p.v - n.v)" type: Real R7.Capacitor1.v:VARIABLE(unit = "V" fixed = true ) "Voltage drop between the two pins (= p.v - n.v)" type: Real Rp1.Capacitor1.v:VARIABLE(unit = "V" fixed = true ) "Voltage drop between the two pins (= p.v - n.v)" type: Real R3.Capacitor1.v:VARIABLE(unit = "V" fixed = true ) "Voltage drop between the two pins (= p.v - n.v)" type: Real R2.Capacitor1.v:VARIABLE(unit = "V" fixed = true ) "Voltage drop between the two pins (= p.v - n.v)" type: Real R1.Capacitor1.v:VARIABLE(unit = "V" fixed = true ) "Voltage drop between the two pins (= p.v - n.v)" type: Real R9.Capacitor1.v:VARIABLE(unit = "V" fixed = true ) "Voltage drop between the two pins (= p.v - n.v)" type: Real R8.Capacitor1.v:VARIABLE(unit = "V" fixed = true ) "Voltage drop between the two pins (= p.v - n.v)" type: Real R5.Capacitor1.v:VARIABLE(unit = "V" fixed = true ) "Voltage drop between the two pins (= p.v - n.v)" type: Real R4.Capacitor1.v:VARIABLE(unit = "V" fixed = true ) "Voltage drop between the two pins (= p.v - n.v)" type: Real C7.v:VARIABLE(unit = "V" fixed = true ) "Voltage drop between the two pins (= p.v - n.v)" type: Real C4.v:VARIABLE(unit = "V" fixed = true ) "Voltage drop between the two pins (= p.v - n.v)" type: Real C3.v:VARIABLE(unit = "V" fixed = true ) "Voltage drop between the two pins (= p.v - n.v)" type: Real C2.v:VARIABLE(unit = "V" fixed = true ) "Voltage drop between the two pins (= p.v - n.v)" type: Real C1.v:VARIABLE(unit = "V" fixed = true ) "Voltage drop between the two pins (= p.v - n.v)" type: Real 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.001298/0.5955, allocations: 0.4981 MB / 311.6 MB, free: 41.94 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003271/0.5958, allocations: 159.1 kB / 311.8 MB, free: 41.86 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003817/0.5962, allocations: 200.2 kB / 312 MB, free: 41.83 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.343e-05/0.5963, allocations: 23.16 kB / 312 MB, free: 41.83 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.505e-05/0.5963, allocations: 21.77 kB / 312 MB, free: 41.83 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.042e-05/0.5964, allocations: 9.688 kB / 312 MB, free: 41.83 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002998/0.5994, allocations: 1.9 MB / 313.9 MB, free: 41.61 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.106e-05/0.5994, allocations: 3.469 kB / 313.9 MB, free: 41.61 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009298/0.6004, allocations: 131.5 kB / 314.1 MB, free: 41.61 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00448/0.6049, allocations: 1.164 MB / 315.2 MB, free: 41.5 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002656/0.6052, allocations: 39.27 kB / 315.3 MB, free: 41.5 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02676/0.6319, allocations: 22.73 MB / 338 MB, free: 24.11 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.661e-06/0.632, allocations: 7.312 kB / 338 MB, free: 24.11 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008724/0.6407, allocations: 3.473 MB / 341.5 MB, free: 22.54 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001058/0.6418, allocations: 428.6 kB / 341.9 MB, free: 22.25 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002783/0.6421, allocations: 39.62 kB / 341.9 MB, free: 22.22 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00174/0.6439, allocations: 115 kB / 342.1 MB, free: 22.2 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006161/0.6445, allocations: 214.6 kB / 342.3 MB, free: 22.15 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001407/0.6447, allocations: 49.97 kB / 342.3 MB, free: 22.14 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.001093/0.6458, allocations: 0.6165 MB / 342.9 MB, free: 21.87 MB / 234.7 MB Notification: Performance of sort global known variables: time 8.72e-07/0.6458, allocations: 2.281 kB / 342.9 MB, free: 21.87 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.003029/0.6488, allocations: 0.7586 MB / 343.7 MB, free: 21.74 MB / 234.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.0003463/0.6492, allocations: 166.4 kB / 343.9 MB, free: 21.61 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.006906/0.6561, allocations: 3.931 MB / 347.8 MB, free: 19.19 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 9.612e-06/0.6562, allocations: 0.5625 kB / 347.8 MB, free: 19.19 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005289/0.6615, allocations: 3.008 MB / 350.8 MB, free: 17.1 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002664/0.6642, allocations: 432.2 kB / 351.2 MB, free: 17 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008589/0.6728, allocations: 5.235 MB / 356.5 MB, free: 13.79 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001193/0.674, allocations: 1.481 MB / 357.9 MB, free: 13.04 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003864/0.6744, allocations: 81.88 kB / 358 MB, free: 13.02 MB / 234.7 MB Notification: Performance of SimCode: time 1.84e-06/0.6744, allocations: 0 / 358 MB, free: 13.02 MB / 234.7 MB Notification: Performance of Templates: time 0.2443/0.9187, allocations: 112.4 MB / 470.4 MB, free: 13.49 MB / 250.7 MB