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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassSC,fileNamePrefix="Modelica_3_1_cpp_Modelica_Electrical_Analog_Examples_CauerLowPassSC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.04/1.04, allocations: 111.1 MB / 126.7 MB, free: 6.137 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002666/0.0002667, allocations: 12 kB / 158.4 MB, free: 15.07 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0556/0.05591, allocations: 25.17 MB / 183.6 MB, free: 5.867 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2404/0.2963, allocations: 37.28 MB / 220.9 MB, free: 5.828 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002092/0.2966, allocations: 65.03 kB / 220.9 MB, free: 5.82 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1381/0.4347, allocations: 32.14 MB / 253.1 MB, free: 13.07 MB / 202.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.4348, allocations: 0 / 253.1 MB, free: 13.07 MB / 202.7 MB Notification: Performance of Transformations before backend: time 0.0001795/0.435, allocations: 44 kB / 253.1 MB, free: 13.03 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.01045/0.4454, allocations: 2.472 MB / 255.6 MB, free: 10.48 MB / 202.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.368e-05/0.4455, allocations: 8.031 kB / 255.6 MB, free: 10.47 MB / 202.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001353/0.4468, allocations: 300.2 kB / 255.9 MB, free: 10.17 MB / 202.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001334/0.4482, allocations: 253 kB / 256.1 MB, free: 9.918 MB / 202.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003235/0.4515, allocations: 0.9464 MB / 257.1 MB, free: 8.93 MB / 202.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002749/0.4518, allocations: 160.4 kB / 257.2 MB, free: 8.77 MB / 202.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001095/0.4529, allocations: 227.9 kB / 257.5 MB, free: 8.547 MB / 202.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009425/0.4624, allocations: 2.296 MB / 259.8 MB, free: 6.098 MB / 202.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.736e-05/0.4625, allocations: 15.92 kB / 259.8 MB, free: 6.082 MB / 202.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007139/0.4632, allocations: 95.92 kB / 259.9 MB, free: 5.988 MB / 202.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-05/0.4633, allocations: 59.95 kB / 259.9 MB, free: 5.93 MB / 202.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007348/0.4707, allocations: 1.703 MB / 261.6 MB, free: 4.211 MB / 202.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02761/0.4984, allocations: 8.691 MB / 270.3 MB, free: 11.3 MB / 218.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005551/0.504, allocations: 2.083 MB / 272.4 MB, free: 9.207 MB / 218.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001587/0.5042, allocations: 18 kB / 272.4 MB, free: 9.191 MB / 218.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002568/0.5067, allocations: 0.9094 MB / 273.3 MB, free: 8.273 MB / 218.7 MB Notification: Performance of pre-optimization done (n=207): time 7.424e-06/0.5068, allocations: 0 / 273.3 MB, free: 8.273 MB / 218.7 MB Notification: Performance of matching and sorting (n=207): time 0.02316/0.5299, allocations: 5.344 MB / 278.7 MB, free: 2.664 MB / 218.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.352e-05/0.5301, allocations: 85.41 kB / 278.8 MB, free: 2.566 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.001881/0.532, allocations: 0.8499 MB / 279.6 MB, free: 1.703 MB / 218.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002298/0.5322, allocations: 69.64 kB / 279.7 MB, free: 1.629 MB / 218.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008537/0.5331, allocations: 0.8138 MB / 280.5 MB, free: 0.8047 MB / 218.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008682/0.534, allocations: 0.6546 MB / 281.1 MB, free: 144 kB / 218.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001775/0.5342, allocations: 48 kB / 281.2 MB, free: 96 kB / 218.7 MB Notification: Performance of setup shared object (initialization): time 0.0002521/0.5344, allocations: 395.4 kB / 281.6 MB, free: 15.7 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001998/0.5364, allocations: 0.6214 MB / 282.2 MB, free: 15.07 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002461/0.5389, allocations: 1.159 MB / 283.4 MB, free: 13.68 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002165/0.5411, allocations: 0.7595 MB / 284.1 MB, free: 12.92 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.676e-05/0.5411, allocations: 4 kB / 284.1 MB, free: 12.92 MB / 234.7 MB Notification: Performance of matching and sorting (n=296) (initialization): time 0.009167/0.5503, allocations: 2.86 MB / 287 MB, free: 10.01 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.093e-05/0.5504, allocations: 12 kB / 287 MB, free: 10 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.698e-05/0.5504, allocations: 16 kB / 287 MB, free: 9.984 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005891/0.5563, allocations: 1.187 MB / 288.2 MB, free: 8.762 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001754/0.5581, allocations: 271.5 kB / 288.5 MB, free: 8.496 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1881/0.7462, allocations: 22.72 MB / 311.2 MB, free: 41.99 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002507/0.7487, allocations: 270.2 kB / 311.4 MB, free: 41.97 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001979/0.749, allocations: 89.25 kB / 311.5 MB, free: 41.97 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.001404/0.7504, allocations: 0.4937 MB / 312 MB, free: 41.84 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003834/0.7508, allocations: 160 kB / 312.2 MB, free: 41.75 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004714/0.7513, allocations: 205.3 kB / 312.4 MB, free: 41.73 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-05/0.7513, allocations: 20.5 kB / 312.4 MB, free: 41.73 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.49e-05/0.7514, allocations: 20.09 kB / 312.4 MB, free: 41.73 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.823e-05/0.7514, allocations: 10.66 kB / 312.4 MB, free: 41.73 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003442/0.7549, allocations: 1.896 MB / 314.3 MB, free: 41.51 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.054e-05/0.7549, allocations: 0 / 314.3 MB, free: 41.51 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001319/0.7562, allocations: 132.9 kB / 314.5 MB, free: 41.51 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00556/0.7618, allocations: 1.167 MB / 315.6 MB, free: 41.39 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002478/0.7621, allocations: 46.23 kB / 315.7 MB, free: 41.39 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03045/0.7926, allocations: 22.73 MB / 338.4 MB, free: 23.97 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.7926, allocations: 3.938 kB / 338.4 MB, free: 23.96 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01062/0.8033, allocations: 3.473 MB / 341.9 MB, free: 22.39 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001211/0.8045, allocations: 433 kB / 342.3 MB, free: 22.1 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003541/0.8049, allocations: 38.7 kB / 342.3 MB, free: 22.07 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001661/0.8066, allocations: 114.7 kB / 342.4 MB, free: 22.05 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008593/0.8074, allocations: 209.4 kB / 342.7 MB, free: 22.01 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001506/0.8076, allocations: 54.67 kB / 342.7 MB, free: 22 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.001133/0.8087, allocations: 0.621 MB / 343.3 MB, free: 21.73 MB / 234.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.8088, allocations: 0 / 343.3 MB, free: 21.73 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.003309/0.8121, allocations: 0.7518 MB / 344.1 MB, free: 21.6 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.01065/0.8228, allocations: 4.105 MB / 348.2 MB, free: 19.39 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.009018/0.8318, allocations: 3.924 MB / 352.1 MB, free: 16.97 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.168e-05/0.8319, allocations: 0.5625 kB / 352.1 MB, free: 16.97 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006619/0.8385, allocations: 3.014 MB / 355.1 MB, free: 14.88 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003759/0.8423, allocations: 437.5 kB / 355.5 MB, free: 14.77 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01579/0.8582, allocations: 18.03 MB / 373.6 MB, free: 14.57 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001413/0.8596, allocations: 1.487 MB / 375.1 MB, free: 13.82 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001383/0.861, allocations: 0.6777 MB / 375.7 MB, free: 13.26 MB / 250.7 MB Notification: Performance of SimCode: time 9.31e-07/0.8611, allocations: 0 / 375.7 MB, free: 13.26 MB / 250.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.399/5.26, allocations: 120.3 MB / 496 MB, free: 77.42 MB / 266.7 MB