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 0.983/0.983, allocations: 111.2 MB / 124.3 MB, free: 11.15 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.569e-05/2.583e-05, allocations: 4 kB / 154.3 MB, free: 13.15 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1387, allocations: 25.15 MB / 179.4 MB, free: 0.7891 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06237/0.2011, allocations: 37.2 MB / 216.6 MB, free: 11.89 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002099/0.2014, allocations: 59.97 kB / 216.7 MB, free: 11.83 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2881/0.4895, allocations: 32.23 MB / 248.9 MB, free: 37 MB / 202.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4896, allocations: 0 / 248.9 MB, free: 37 MB / 202.7 MB Notification: Performance of Transformations before backend: time 9.332e-05/0.4897, allocations: 52.19 kB / 249 MB, free: 37 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.005012/0.4947, allocations: 2.275 MB / 251.2 MB, free: 36 MB / 202.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.4947, allocations: 10.62 kB / 251.3 MB, free: 36 MB / 202.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005742/0.4953, allocations: 250 kB / 251.5 MB, free: 35.88 MB / 202.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001995/0.4973, allocations: 0.9451 MB / 252.4 MB, free: 35.53 MB / 202.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001282/0.4975, allocations: 170.1 kB / 252.6 MB, free: 35.52 MB / 202.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003905/0.4979, allocations: 220.9 kB / 252.8 MB, free: 35.52 MB / 202.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004522/0.5024, allocations: 2.258 MB / 255.1 MB, free: 35.13 MB / 202.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.921e-05/0.5025, allocations: 6.438 kB / 255.1 MB, free: 35.13 MB / 202.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002548/0.5028, allocations: 90.12 kB / 255.2 MB, free: 35.13 MB / 202.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.336e-05/0.5028, allocations: 58.52 kB / 255.2 MB, free: 35.12 MB / 202.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004029/0.5069, allocations: 1.649 MB / 256.9 MB, free: 35.09 MB / 202.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01397/0.5209, allocations: 8.688 MB / 265.6 MB, free: 30.54 MB / 202.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003936/0.5249, allocations: 2.049 MB / 267.6 MB, free: 29.66 MB / 202.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001839/0.5267, allocations: 1.007 MB / 268.6 MB, free: 29.22 MB / 202.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001109/0.5269, allocations: 21.91 kB / 268.6 MB, free: 29.22 MB / 202.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001756/0.5286, allocations: 0.8823 MB / 269.5 MB, free: 28.85 MB / 202.7 MB Notification: Performance of pre-optimization done (n=207): time 6.27e-06/0.5287, allocations: 7.188 kB / 269.5 MB, free: 28.84 MB / 202.7 MB Notification: Performance of matching and sorting (n=207): time 0.005678/0.5344, allocations: 2.395 MB / 271.9 MB, free: 27.77 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.252e-05/0.5344, allocations: 81.72 kB / 272 MB, free: 27.7 MB / 202.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.001352/0.5358, allocations: 0.8415 MB / 272.9 MB, free: 26.92 MB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001505/0.536, allocations: 69.7 kB / 272.9 MB, free: 26.84 MB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004951/0.5365, allocations: 0.805 MB / 273.7 MB, free: 26.1 MB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005262/0.537, allocations: 0.6618 MB / 274.4 MB, free: 25.51 MB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001279/0.5372, allocations: 44 kB / 274.4 MB, free: 25.46 MB / 202.7 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.5373, allocations: 402.6 kB / 274.8 MB, free: 25.09 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001316/0.5386, allocations: 0.5904 MB / 275.4 MB, free: 24.5 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00156/0.5402, allocations: 1.133 MB / 276.5 MB, free: 23.16 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001451/0.5417, allocations: 0.7449 MB / 277.3 MB, free: 22.48 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.346e-05/0.5417, allocations: 4 kB / 277.3 MB, free: 22.47 MB / 202.7 MB Notification: Performance of matching and sorting (n=296) (initialization): time 0.00612/0.5478, allocations: 2.806 MB / 280.1 MB, free: 19.85 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.194e-05/0.5479, allocations: 14.19 kB / 280.1 MB, free: 19.84 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.492e-05/0.5479, allocations: 16 kB / 280.1 MB, free: 19.82 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004131/0.5521, allocations: 1.175 MB / 281.3 MB, free: 18.79 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001081/0.5532, allocations: 273.2 kB / 281.6 MB, free: 18.55 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02478/0.578, allocations: 22.23 MB / 303.8 MB, free: 11.68 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00202/0.58, allocations: 281.5 kB / 304.1 MB, free: 11.42 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002215/0.5803, allocations: 84 kB / 304.2 MB, free: 11.34 MB / 218.7 MB Warning: Assuming fixed start value for the following 16 variables: R11.Capacitor1.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real R10.Capacitor1.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real R7.Capacitor1.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real Rp1.Capacitor1.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real R3.Capacitor1.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real R2.Capacitor1.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real R1.Capacitor1.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real R9.Capacitor1.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real R8.Capacitor1.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real R5.Capacitor1.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real R4.Capacitor1.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real C7.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real C4.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real C3.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real C2.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real C1.v:VARIABLE(unit = "V" ) "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 () * 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.0006229/0.5809, allocations: 312.3 kB / 304.5 MB, free: 11.05 MB / 218.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003709/0.5813, allocations: 161.7 kB / 304.6 MB, free: 10.89 MB / 218.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000475/0.5818, allocations: 204.7 kB / 304.8 MB, free: 10.69 MB / 218.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.258e-05/0.5818, allocations: 20 kB / 304.8 MB, free: 10.67 MB / 218.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.372e-05/0.5819, allocations: 16 kB / 304.9 MB, free: 10.66 MB / 218.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.129e-05/0.5819, allocations: 10.59 kB / 304.9 MB, free: 10.66 MB / 218.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003555/0.5855, allocations: 1.892 MB / 306.8 MB, free: 9.184 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.002e-06/0.5855, allocations: 0 / 306.8 MB, free: 9.184 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009778/0.5865, allocations: 139.8 kB / 306.9 MB, free: 9.066 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004555/0.5911, allocations: 1.148 MB / 308 MB, free: 8.051 MB / 218.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002469/0.5914, allocations: 39.7 kB / 308.1 MB, free: 8.016 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03201/0.6234, allocations: 22.23 MB / 330.3 MB, free: 1.137 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.073e-06/0.6234, allocations: 288 / 330.3 MB, free: 1.137 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1436/0.7671, allocations: 3.441 MB / 333.8 MB, free: 56.95 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001079/0.7682, allocations: 428.8 kB / 334.2 MB, free: 56.86 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002963/0.7685, allocations: 42.78 kB / 334.2 MB, free: 56.86 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001081/0.7696, allocations: 111.2 kB / 334.3 MB, free: 56.86 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005691/0.7702, allocations: 216 kB / 334.5 MB, free: 56.86 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001366/0.7703, allocations: 54.52 kB / 334.6 MB, free: 56.86 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.001029/0.7714, allocations: 0.6056 MB / 335.2 MB, free: 56.74 MB / 234.7 MB Notification: Performance of sort global known variables: time 9.05e-07/0.7714, allocations: 0 / 335.2 MB, free: 56.74 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.002815/0.7742, allocations: 0.7544 MB / 335.9 MB, free: 56.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 () * 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.0003045/0.7746, allocations: 161.7 kB / 336.1 MB, free: 56.65 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.006546/0.7811, allocations: 3.822 MB / 339.9 MB, free: 55.17 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 9.369e-06/0.7812, allocations: 3.312 kB / 339.9 MB, free: 55.17 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005049/0.7862, allocations: 2.934 MB / 342.9 MB, free: 53.73 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002722/0.789, allocations: 442.1 kB / 343.3 MB, free: 53.72 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006939/0.796, allocations: 3.583 MB / 346.9 MB, free: 52.56 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001192/0.7972, allocations: 1.485 MB / 348.4 MB, free: 51.8 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003649/0.7976, allocations: 80.44 kB / 348.4 MB, free: 51.79 MB / 234.7 MB Notification: Performance of SimCode: time 1.796e-06/0.7976, allocations: 3.781 kB / 348.4 MB, free: 51.79 MB / 234.7 MB Notification: Performance of Templates: time 0.2433/1.041, allocations: 112.4 MB / 460.9 MB, free: 51.35 MB / 250.7 MB