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.148/1.148, allocations: 111.2 MB / 124.2 MB, free: 11.14 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.701e-05/2.753e-05, allocations: 0 / 154.4 MB, free: 13.04 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.1781, allocations: 25.16 MB / 179.5 MB, free: 0.8164 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0692/0.2474, allocations: 37.19 MB / 216.7 MB, free: 11.89 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002354/0.2477, allocations: 63.97 kB / 216.8 MB, free: 11.83 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3336/0.5813, allocations: 32.24 MB / 249 MB, free: 37.13 MB / 202.7 MB Notification: Performance of FrontEnd: time 3.046e-06/0.5814, allocations: 0 / 249 MB, free: 37.13 MB / 202.7 MB Notification: Performance of Transformations before backend: time 0.0001496/0.5816, allocations: 47.66 kB / 249.1 MB, free: 37.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.01058/0.5922, allocations: 2.278 MB / 251.3 MB, free: 36.13 MB / 202.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.177e-05/0.5923, allocations: 7.281 kB / 251.3 MB, free: 36.13 MB / 202.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001112/0.5934, allocations: 312 kB / 251.7 MB, free: 36.08 MB / 202.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009573/0.5944, allocations: 249 kB / 251.9 MB, free: 35.96 MB / 202.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00356/0.598, allocations: 0.9393 MB / 252.8 MB, free: 35.61 MB / 202.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002662/0.5983, allocations: 165 kB / 253 MB, free: 35.6 MB / 202.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001143/0.5995, allocations: 227.1 kB / 253.2 MB, free: 35.59 MB / 202.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008395/0.6079, allocations: 2.257 MB / 255.5 MB, free: 35.21 MB / 202.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001099/0.608, allocations: 3.781 kB / 255.5 MB, free: 35.21 MB / 202.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004689/0.6085, allocations: 95.02 kB / 255.6 MB, free: 35.2 MB / 202.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.629e-05/0.6086, allocations: 59.75 kB / 255.6 MB, free: 35.2 MB / 202.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008127/0.6168, allocations: 1.648 MB / 257.3 MB, free: 35.16 MB / 202.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02979/0.6466, allocations: 8.692 MB / 266 MB, free: 30.48 MB / 202.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007839/0.6545, allocations: 2.05 MB / 268 MB, free: 29.6 MB / 202.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004977/0.6596, allocations: 1.009 MB / 269 MB, free: 29.16 MB / 202.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003505/0.66, allocations: 17.91 kB / 269 MB, free: 29.16 MB / 202.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003636/0.6636, allocations: 0.892 MB / 269.9 MB, free: 28.78 MB / 202.7 MB Notification: Performance of pre-optimization done (n=207): time 8.996e-06/0.6637, allocations: 0 / 269.9 MB, free: 28.78 MB / 202.7 MB Notification: Performance of matching and sorting (n=207): time 0.01018/0.6739, allocations: 2.389 MB / 272.3 MB, free: 27.6 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.375e-05/0.674, allocations: 84.27 kB / 272.4 MB, free: 27.51 MB / 202.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.001719/0.6757, allocations: 0.8369 MB / 273.2 MB, free: 26.73 MB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004133/0.6762, allocations: 69.7 kB / 273.3 MB, free: 26.65 MB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006301/0.6768, allocations: 0.811 MB / 274.1 MB, free: 25.91 MB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008749/0.6777, allocations: 0.6656 MB / 274.8 MB, free: 25.31 MB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001616/0.6779, allocations: 44 kB / 274.8 MB, free: 25.27 MB / 202.7 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.6781, allocations: 397.9 kB / 275.2 MB, free: 24.9 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001695/0.6798, allocations: 0.5904 MB / 275.8 MB, free: 24.3 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001864/0.6816, allocations: 1.134 MB / 276.9 MB, free: 22.96 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001733/0.6834, allocations: 0.745 MB / 277.7 MB, free: 22.28 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.356e-05/0.6834, allocations: 4 kB / 277.7 MB, free: 22.28 MB / 202.7 MB Notification: Performance of matching and sorting (n=296) (initialization): time 0.007595/0.691, allocations: 2.807 MB / 280.5 MB, free: 19.66 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.653e-05/0.6911, allocations: 12 kB / 280.5 MB, free: 19.64 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.694e-05/0.6912, allocations: 16 kB / 280.5 MB, free: 19.63 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005516/0.6967, allocations: 1.171 MB / 281.7 MB, free: 18.59 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001737/0.6985, allocations: 272.8 kB / 282 MB, free: 18.36 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03341/0.7319, allocations: 22.25 MB / 304.2 MB, free: 11.46 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004287/0.7363, allocations: 269.6 kB / 304.5 MB, free: 11.22 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006074/0.7369, allocations: 84 kB / 304.6 MB, free: 11.14 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.001123/0.7381, allocations: 306 kB / 304.9 MB, free: 10.85 MB / 218.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007708/0.7389, allocations: 158 kB / 305 MB, free: 10.7 MB / 218.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009077/0.7398, allocations: 205.4 kB / 305.2 MB, free: 10.5 MB / 218.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.42e-05/0.7399, allocations: 20 kB / 305.2 MB, free: 10.48 MB / 218.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001078/0.74, allocations: 16 kB / 305.2 MB, free: 10.46 MB / 218.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.573e-05/0.7401, allocations: 10.83 kB / 305.3 MB, free: 10.46 MB / 218.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006656/0.7468, allocations: 1.892 MB / 307.1 MB, free: 8.992 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.014e-05/0.7469, allocations: 0 / 307.1 MB, free: 8.992 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002361/0.7493, allocations: 141.7 kB / 307.3 MB, free: 8.875 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006546/0.7558, allocations: 1.149 MB / 308.4 MB, free: 7.855 MB / 218.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003502/0.7562, allocations: 38.86 kB / 308.5 MB, free: 7.82 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03488/0.7911, allocations: 22.23 MB / 330.7 MB, free: 0.9453 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.7912, allocations: 0 / 330.7 MB, free: 0.9453 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1732/0.9644, allocations: 3.414 MB / 334.1 MB, free: 57.12 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001161/0.9656, allocations: 429.3 kB / 334.5 MB, free: 57.03 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003405/0.966, allocations: 39.62 kB / 334.6 MB, free: 57.03 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001666/0.9677, allocations: 112.2 kB / 334.7 MB, free: 57.03 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007309/0.9684, allocations: 211.5 kB / 334.9 MB, free: 57.03 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001527/0.9686, allocations: 49.55 kB / 334.9 MB, free: 57.03 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.001111/0.9697, allocations: 0.6097 MB / 335.5 MB, free: 56.91 MB / 234.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.9697, allocations: 0 / 335.5 MB, free: 56.91 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.003307/0.973, allocations: 0.7546 MB / 336.3 MB, free: 56.91 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.01026/0.9833, allocations: 4.043 MB / 340.3 MB, free: 56.17 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.008486/0.9919, allocations: 3.812 MB / 344.2 MB, free: 54.68 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.17e-05/0.9919, allocations: 0.5625 kB / 344.2 MB, free: 54.68 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006509/0.9985, allocations: 2.942 MB / 347.1 MB, free: 53.22 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003928/1.002, allocations: 431.6 kB / 347.5 MB, free: 53.21 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01144/1.014, allocations: 3.915 MB / 351.4 MB, free: 51.99 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001466/1.015, allocations: 1.484 MB / 352.9 MB, free: 51.23 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001325/1.017, allocations: 0.668 MB / 353.6 MB, free: 51.23 MB / 234.7 MB Notification: Performance of SimCode: time 2.154e-06/1.017, allocations: 0 / 353.6 MB, free: 51.23 MB / 234.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.602/5.619, allocations: 121 MB / 474.6 MB, free: 38.2 MB / 250.7 MB