Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.42/1.42, allocations: 111.1 MB / 127.3 MB, free: 6.141 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002603/0.0002605, allocations: 4 kB / 158.9 MB, free: 15.23 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05381/0.0541, allocations: 25.16 MB / 184 MB, free: 6.02 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.224/0.2781, allocations: 37.27 MB / 221.3 MB, free: 5.801 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002476/0.2784, allocations: 65.19 kB / 221.4 MB, free: 5.793 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1376/0.416, allocations: 32.15 MB / 253.5 MB, free: 13.23 MB / 202.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.4161, allocations: 0 / 253.5 MB, free: 13.23 MB / 202.7 MB Notification: Performance of Transformations before backend: time 0.0001647/0.4163, allocations: 44 kB / 253.6 MB, free: 13.19 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.01034/0.4266, allocations: 2.464 MB / 256 MB, free: 10.64 MB / 202.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.4267, allocations: 8.031 kB / 256 MB, free: 10.63 MB / 202.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00129/0.428, allocations: 249 kB / 256.3 MB, free: 10.39 MB / 202.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00303/0.431, allocations: 0.9464 MB / 257.2 MB, free: 9.395 MB / 202.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002403/0.4313, allocations: 172.4 kB / 257.4 MB, free: 9.223 MB / 202.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009577/0.4323, allocations: 227.9 kB / 257.6 MB, free: 9 MB / 202.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008739/0.4411, allocations: 2.32 MB / 259.9 MB, free: 6.527 MB / 202.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.433e-05/0.4412, allocations: 0 / 259.9 MB, free: 6.527 MB / 202.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004403/0.4417, allocations: 88 kB / 260 MB, free: 6.441 MB / 202.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-05/0.4417, allocations: 56 kB / 260.1 MB, free: 6.387 MB / 202.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007046/0.4488, allocations: 1.71 MB / 261.8 MB, free: 4.66 MB / 202.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02345/0.4723, allocations: 8.695 MB / 270.5 MB, free: 11.75 MB / 218.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006427/0.4788, allocations: 2.091 MB / 272.6 MB, free: 9.652 MB / 218.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002712/0.4791, allocations: 22 kB / 272.6 MB, free: 9.633 MB / 218.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003436/0.4826, allocations: 0.9093 MB / 273.5 MB, free: 8.707 MB / 218.7 MB Notification: Performance of pre-optimization done (n=207): time 7.905e-06/0.4826, allocations: 0 / 273.5 MB, free: 8.707 MB / 218.7 MB Notification: Performance of matching and sorting (n=207): time 0.02513/0.5078, allocations: 5.344 MB / 278.8 MB, free: 3.098 MB / 218.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/0.5079, allocations: 81.39 kB / 278.9 MB, free: 3.008 MB / 218.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.002103/0.51, allocations: 0.9728 MB / 279.9 MB, free: 2.02 MB / 218.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004458/0.5105, allocations: 65.7 kB / 280 MB, free: 1.949 MB / 218.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000873/0.5114, allocations: 0.8061 MB / 280.8 MB, free: 1.129 MB / 218.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001186/0.5126, allocations: 0.6585 MB / 281.4 MB, free: 472 kB / 218.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002004/0.5128, allocations: 48 kB / 281.5 MB, free: 424 kB / 218.7 MB Notification: Performance of setup shared object (initialization): time 0.0002721/0.5131, allocations: 407.3 kB / 281.9 MB, free: 8 kB / 218.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00217/0.5153, allocations: 0.6136 MB / 282.5 MB, free: 15.39 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002729/0.518, allocations: 1.17 MB / 283.6 MB, free: 13.98 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002576/0.5207, allocations: 0.7632 MB / 284.4 MB, free: 13.23 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.576e-05/0.5207, allocations: 4 kB / 284.4 MB, free: 13.22 MB / 234.7 MB Notification: Performance of matching and sorting (n=296) (initialization): time 0.01007/0.5308, allocations: 2.86 MB / 287.3 MB, free: 10.32 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.356e-05/0.5309, allocations: 12 kB / 287.3 MB, free: 10.3 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.388e-05/0.5309, allocations: 20.16 kB / 287.3 MB, free: 10.29 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006347/0.5373, allocations: 1.177 MB / 288.5 MB, free: 9.07 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001885/0.5392, allocations: 279.5 kB / 288.8 MB, free: 8.797 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1968/0.7361, allocations: 22.72 MB / 311.5 MB, free: 42.14 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002632/0.7387, allocations: 272.8 kB / 311.7 MB, free: 42.13 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003397/0.7391, allocations: 85.81 kB / 311.8 MB, free: 42.13 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.001637/0.7408, allocations: 499.1 kB / 312.3 MB, free: 42 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005097/0.7413, allocations: 165.4 kB / 312.5 MB, free: 41.92 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005584/0.7419, allocations: 204.2 kB / 312.7 MB, free: 41.89 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.431e-05/0.7419, allocations: 19.25 kB / 312.7 MB, free: 41.89 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.716e-05/0.742, allocations: 23.08 kB / 312.7 MB, free: 41.89 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.952e-05/0.742, allocations: 9.656 kB / 312.7 MB, free: 41.89 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003975/0.746, allocations: 1.897 MB / 314.6 MB, free: 41.67 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.633e-05/0.7461, allocations: 1.688 kB / 314.6 MB, free: 41.67 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001435/0.7475, allocations: 133.1 kB / 314.8 MB, free: 41.67 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005885/0.7535, allocations: 1.164 MB / 315.9 MB, free: 41.56 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003934/0.7539, allocations: 39.05 kB / 316 MB, free: 41.56 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03243/0.7863, allocations: 22.74 MB / 338.7 MB, free: 24.12 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.7864, allocations: 1.031 kB / 338.7 MB, free: 24.12 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0113/0.7977, allocations: 3.478 MB / 342.2 MB, free: 22.54 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001347/0.7991, allocations: 430.2 kB / 342.6 MB, free: 22.25 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005279/0.7997, allocations: 39.03 kB / 342.6 MB, free: 22.23 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001936/0.8016, allocations: 111.3 kB / 342.7 MB, free: 22.2 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008814/0.8025, allocations: 216 kB / 343 MB, free: 22.17 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001859/0.8027, allocations: 53.62 kB / 343 MB, free: 22.15 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.001295/0.804, allocations: 0.6183 MB / 343.6 MB, free: 21.88 MB / 234.7 MB Notification: Performance of sort global known variables: time 6.81e-07/0.8041, allocations: 0 / 343.6 MB, free: 21.88 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.003686/0.8078, allocations: 0.7584 MB / 344.4 MB, free: 21.75 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.0005603/0.8084, allocations: 162.6 kB / 344.5 MB, free: 21.63 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.009266/0.8176, allocations: 3.925 MB / 348.5 MB, free: 19.2 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.253e-05/0.8177, allocations: 0.5625 kB / 348.5 MB, free: 19.2 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006623/0.8243, allocations: 3.011 MB / 351.5 MB, free: 17.11 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003985/0.8284, allocations: 440.8 kB / 351.9 MB, free: 17 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01159/0.84, allocations: 5.236 MB / 357.1 MB, free: 13.81 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00144/0.8415, allocations: 1.48 MB / 358.6 MB, free: 13.05 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005224/0.8421, allocations: 81.86 kB / 358.7 MB, free: 13.04 MB / 234.7 MB Notification: Performance of SimCode: time 1.152e-06/0.8421, allocations: 0 / 358.7 MB, free: 13.04 MB / 234.7 MB Notification: Performance of Templates: time 0.3153/1.157, allocations: 112.4 MB / 471.1 MB, free: 13.12 MB / 250.7 MB