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/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.047/1.047, allocations: 111.2 MB / 119.1 MB, free: 11.18 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.699e-05/2.71e-05, allocations: 4 kB / 148.2 MB, free: 6.129 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07166/0.07172, allocations: 25.18 MB / 173.4 MB, free: 12.91 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3213/0.3931, allocations: 36.52 MB / 209.9 MB, free: 4.645 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002517/0.3934, allocations: 67.55 kB / 210 MB, free: 4.645 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1286/0.522, allocations: 31.88 MB / 241.9 MB, free: 6.289 MB / 186.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.5221, allocations: 4 kB / 241.9 MB, free: 6.285 MB / 186.7 MB Notification: Performance of Transformations before backend: time 0.0001525/0.5222, allocations: 47.44 kB / 241.9 MB, free: 6.242 MB / 186.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.009491/0.5317, allocations: 2.272 MB / 244.2 MB, free: 3.906 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.608e-05/0.5318, allocations: 12.03 kB / 244.2 MB, free: 3.895 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001117/0.5329, allocations: 256.9 kB / 244.4 MB, free: 3.641 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002704/0.5357, allocations: 0.9445 MB / 245.4 MB, free: 2.668 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001187/0.5358, allocations: 79.98 kB / 245.5 MB, free: 2.59 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004905/0.5363, allocations: 131.9 kB / 245.6 MB, free: 2.461 MB / 186.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005049/0.5414, allocations: 1.497 MB / 247.1 MB, free: 0.957 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007688/0.5491, allocations: 1.944 MB / 249 MB, free: 14.87 MB / 202.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.679e-05/0.5493, allocations: 7.938 kB / 249 MB, free: 14.86 MB / 202.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004451/0.5497, allocations: 7.984 kB / 249 MB, free: 14.85 MB / 202.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.854e-05/0.5499, allocations: 55.95 kB / 249.1 MB, free: 14.8 MB / 202.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02277/0.5727, allocations: 8.329 MB / 257.4 MB, free: 6.367 MB / 202.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005456/0.5782, allocations: 1.953 MB / 259.4 MB, free: 4.41 MB / 202.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002428/0.5806, allocations: 0.9612 MB / 260.3 MB, free: 3.449 MB / 202.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002061/0.5809, allocations: 18 kB / 260.4 MB, free: 3.43 MB / 202.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002193/0.5831, allocations: 0.8269 MB / 261.2 MB, free: 2.594 MB / 202.7 MB Notification: Performance of pre-optimization done (n=207): time 5.501e-06/0.5831, allocations: 0 / 261.2 MB, free: 2.594 MB / 202.7 MB Notification: Performance of matching and sorting (n=207): time 0.007626/0.5907, allocations: 2.219 MB / 263.4 MB, free: 336 kB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.381e-05/0.5909, allocations: 89.06 kB / 263.5 MB, free: 240 kB / 202.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.001744/0.5926, allocations: 0.724 MB / 264.2 MB, free: 15.5 MB / 218.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003969/0.5931, allocations: 29.7 kB / 264.3 MB, free: 15.46 MB / 218.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009253/0.594, allocations: 0.8317 MB / 265.1 MB, free: 14.62 MB / 218.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001085/0.5951, allocations: 0.6305 MB / 265.7 MB, free: 13.99 MB / 218.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001532/0.5953, allocations: 0 / 265.7 MB, free: 13.99 MB / 218.7 MB Notification: Performance of setup shared object (initialization): time 0.0002728/0.5956, allocations: 403.4 kB / 266.1 MB, free: 13.59 MB / 218.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001632/0.5972, allocations: 0.5474 MB / 266.7 MB, free: 13.04 MB / 218.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002144/0.5994, allocations: 1.085 MB / 267.7 MB, free: 11.72 MB / 218.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001899/0.6013, allocations: 0.6812 MB / 268.4 MB, free: 11.04 MB / 218.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.916e-05/0.6013, allocations: 4 kB / 268.4 MB, free: 11.04 MB / 218.7 MB Notification: Performance of matching and sorting (n=296) (initialization): time 0.008673/0.61, allocations: 2.54 MB / 271 MB, free: 8.449 MB / 218.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.268e-05/0.6101, allocations: 12 kB / 271 MB, free: 8.438 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.523e-05/0.6102, allocations: 16 kB / 271 MB, free: 8.422 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005818/0.616, allocations: 1.107 MB / 272.1 MB, free: 7.277 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001965/0.618, allocations: 275.5 kB / 272.4 MB, free: 7.008 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0414/0.6594, allocations: 21.43 MB / 293.8 MB, free: 216 kB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.163/0.8225, allocations: 219.9 kB / 294 MB, free: 51.91 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005922/0.8231, allocations: 87.91 kB / 294.1 MB, free: 51.91 MB / 234.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.0006784/0.8238, allocations: 204.4 kB / 294.3 MB, free: 51.8 MB / 234.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007415/0.8313, allocations: 2.219 MB / 296.5 MB, free: 51.64 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006455/0.832, allocations: 155.4 kB / 296.7 MB, free: 51.64 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005289/0.8325, allocations: 175.3 kB / 296.8 MB, free: 51.61 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-05/0.8325, allocations: 20.22 kB / 296.9 MB, free: 51.61 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-05/0.8326, allocations: 21.14 kB / 296.9 MB, free: 51.61 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.321e-05/0.8327, allocations: 18.41 kB / 296.9 MB, free: 51.61 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003408/0.8361, allocations: 1.616 MB / 298.5 MB, free: 51.46 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.298e-05/0.8361, allocations: 0 / 298.5 MB, free: 51.46 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001414/0.8376, allocations: 137.3 kB / 298.6 MB, free: 51.46 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005215/0.8428, allocations: 1.087 MB / 299.7 MB, free: 51.36 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003222/0.8432, allocations: 10.86 kB / 299.7 MB, free: 51.36 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02711/0.8703, allocations: 21.42 MB / 321.2 MB, free: 36.77 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/0.8704, allocations: 3.75 kB / 321.2 MB, free: 36.77 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00894/0.8793, allocations: 3.21 MB / 324.4 MB, free: 36.41 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001143/0.8805, allocations: 417.9 kB / 324.8 MB, free: 36.24 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003328/0.8809, allocations: 9.984 kB / 324.8 MB, free: 36.24 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001548/0.8824, allocations: 84.38 kB / 324.9 MB, free: 36.24 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007604/0.8832, allocations: 217.3 kB / 325.1 MB, free: 36.23 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001446/0.8834, allocations: 48.19 kB / 325.1 MB, free: 36.23 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0009122/0.8843, allocations: 0.5113 MB / 325.7 MB, free: 36.12 MB / 234.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.8843, allocations: 0 / 325.7 MB, free: 36.12 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.003315/0.8876, allocations: 0.6526 MB / 326.3 MB, free: 36.08 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.009021/0.8967, allocations: 3.796 MB / 330.1 MB, free: 34.55 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.007494/0.9042, allocations: 3.583 MB / 333.7 MB, free: 32.3 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.152e-05/0.9043, allocations: 0.5625 kB / 333.7 MB, free: 32.3 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005879/0.9102, allocations: 2.768 MB / 336.5 MB, free: 30.36 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003051/0.9133, allocations: 320.1 kB / 336.8 MB, free: 30.29 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009732/0.9231, allocations: 3.744 MB / 340.5 MB, free: 28.52 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001257/0.9244, allocations: 1.484 MB / 342 MB, free: 27.76 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001166/0.9256, allocations: 0.666 MB / 342.7 MB, free: 27.21 MB / 234.7 MB Notification: Performance of SimCode: time 2.304e-06/0.9256, allocations: 0 / 342.7 MB, free: 27.21 MB / 234.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.29/5.216, allocations: 120 MB / 462.7 MB, free: 25.28 MB / 250.7 MB