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.CauerLowPassAnalog.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.CauerLowPassAnalog,fileNamePrefix="Modelica_3_1_cpp_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.044/1.044, allocations: 111.1 MB / 126.7 MB, free: 6.145 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003662/0.0003663, allocations: 8 kB / 158.4 MB, free: 15.07 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05681/0.05721, allocations: 25.18 MB / 183.6 MB, free: 5.859 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2098/0.267, allocations: 35.08 MB / 218.7 MB, free: 6.051 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002456/0.2673, allocations: 64.22 kB / 218.7 MB, free: 6.043 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01682/0.2842, allocations: 4.54 MB / 223.3 MB, free: 4.199 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.444e-06/0.2842, allocations: 0 / 223.3 MB, free: 4.199 MB / 170.7 MB Notification: Performance of Transformations before backend: time 1.945e-05/0.2843, allocations: 3.812 kB / 223.3 MB, free: 4.199 MB / 170.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.00101/0.2853, allocations: 0.5476 MB / 223.8 MB, free: 3.73 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.2853, allocations: 7.688 kB / 223.8 MB, free: 3.73 MB / 170.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.164e-05/0.2854, allocations: 70.59 kB / 223.9 MB, free: 3.684 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.81e-05/0.2855, allocations: 31.84 kB / 223.9 MB, free: 3.668 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003173/0.2859, allocations: 239.2 kB / 224.2 MB, free: 3.438 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.357e-05/0.2859, allocations: 23.41 kB / 224.2 MB, free: 3.434 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.553e-05/0.286, allocations: 37.97 kB / 224.2 MB, free: 3.426 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005916/0.2866, allocations: 248 kB / 224.5 MB, free: 3.348 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.2866, allocations: 0 / 224.5 MB, free: 3.348 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.596e-05/0.2867, allocations: 11.62 kB / 224.5 MB, free: 3.344 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.447e-05/0.2867, allocations: 7.625 kB / 224.5 MB, free: 3.344 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005247/0.2872, allocations: 185.8 kB / 224.7 MB, free: 3.316 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001977/0.2892, allocations: 1.021 MB / 225.7 MB, free: 2.68 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004765/0.2897, allocations: 338.6 kB / 226 MB, free: 2.441 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.2897, allocations: 3.75 kB / 226 MB, free: 2.441 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.2898, allocations: 34.44 kB / 226.1 MB, free: 2.402 MB / 170.7 MB Notification: Performance of pre-optimization done (n=21): time 3.647e-06/0.2898, allocations: 0 / 226.1 MB, free: 2.402 MB / 170.7 MB Notification: Performance of matching and sorting (n=25): time 0.001865/0.2917, allocations: 0.7786 MB / 226.8 MB, free: 2.023 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.912e-05/0.2917, allocations: 55.41 kB / 226.9 MB, free: 1.957 MB / 170.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. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Analog/Basic.mo:68:3-69:40:writable] Warning: Parameter R2.R has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Analog/Basic.mo:68:3-69:40:writable] Warning: Parameter R1.R 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.0002819/0.292, allocations: 183.1 kB / 227.1 MB, free: 1.844 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/0.292, allocations: 28.45 kB / 227.1 MB, free: 1.812 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.762e-05/0.2921, allocations: 229.1 kB / 227.3 MB, free: 1.617 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.925e-05/0.2922, allocations: 97.92 kB / 227.4 MB, free: 1.547 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.674e-05/0.2923, allocations: 3.75 kB / 227.4 MB, free: 1.547 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 6.854e-05/0.2923, allocations: 327 kB / 227.7 MB, free: 1.227 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002028/0.2926, allocations: 69.94 kB / 227.8 MB, free: 1.207 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002263/0.2928, allocations: 92.41 kB / 227.9 MB, free: 1.18 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002777/0.2931, allocations: 86.62 kB / 228 MB, free: 1.172 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2931, allocations: 0 / 228 MB, free: 1.172 MB / 170.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008324/0.2939, allocations: 309.8 kB / 228.3 MB, free: 1.086 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.294, allocations: 6.781 kB / 228.3 MB, free: 1.086 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.294, allocations: 0 / 228.3 MB, free: 1.086 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003742/0.2944, allocations: 77.33 kB / 228.4 MB, free: 1.062 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003199/0.2947, allocations: 50.39 kB / 228.4 MB, free: 1.051 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002549/0.2973, allocations: 1.914 MB / 230.3 MB, free: 15.58 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002508/0.2976, allocations: 7 kB / 230.3 MB, free: 15.58 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.249e-05/0.2976, allocations: 11.03 kB / 230.4 MB, free: 15.58 MB / 186.7 MB Warning: Assuming fixed start value for the following 5 variables: L2.i:VARIABLE(unit = "A" fixed = true ) "Current flowing from pin p to pin n" type: Real L1.i:VARIABLE(unit = "A" fixed = true ) "Current flowing from pin p to pin n" type: Real C5.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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003305/0.298, allocations: 155.2 kB / 230.5 MB, free: 15.45 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.942e-05/0.298, allocations: 26.39 kB / 230.5 MB, free: 15.44 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.081e-05/0.2981, allocations: 28.86 kB / 230.6 MB, free: 15.43 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.2981, allocations: 0 / 230.6 MB, free: 15.43 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-05/0.2982, allocations: 3.906 kB / 230.6 MB, free: 15.43 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.236e-06/0.2982, allocations: 4 kB / 230.6 MB, free: 15.43 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001669/0.2999, allocations: 0.7588 MB / 231.3 MB, free: 14.98 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.2999, allocations: 0 / 231.3 MB, free: 14.98 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000319/0.3002, allocations: 34.11 kB / 231.4 MB, free: 14.98 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003375/0.3006, allocations: 76.39 kB / 231.4 MB, free: 14.95 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.295e-05/0.3006, allocations: 10.17 kB / 231.4 MB, free: 14.95 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002673/0.3033, allocations: 1.861 MB / 233.3 MB, free: 13.46 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/0.3034, allocations: 7.969 kB / 233.3 MB, free: 13.45 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001119/0.3045, allocations: 484.6 kB / 233.8 MB, free: 13.05 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.3046, allocations: 100.8 kB / 233.9 MB, free: 12.94 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.981e-05/0.3047, allocations: 7.391 kB / 233.9 MB, free: 12.93 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003128/0.305, allocations: 15.25 kB / 233.9 MB, free: 12.92 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.347e-05/0.3051, allocations: 19.22 kB / 233.9 MB, free: 12.91 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.211e-05/0.3052, allocations: 11.94 kB / 233.9 MB, free: 12.89 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001973/0.3054, allocations: 151.7 kB / 234.1 MB, free: 12.77 MB / 186.7 MB Notification: Performance of sort global known variables: time 1.102e-06/0.3054, allocations: 0 / 234.1 MB, free: 12.77 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0006069/0.306, allocations: 73.67 kB / 234.2 MB, free: 12.7 MB / 186.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (C2.v,C3.v,C5.v,L1.i,L2.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001529/0.3075, allocations: 1.105 MB / 235.3 MB, free: 11.67 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.001025/0.3086, allocations: 372.2 kB / 235.6 MB, free: 11.37 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 7.193e-06/0.3086, allocations: 4 kB / 235.6 MB, free: 11.36 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007173/0.3093, allocations: 255.6 kB / 235.9 MB, free: 11.14 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005708/0.3099, allocations: 50.41 kB / 235.9 MB, free: 11.11 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002618/0.3126, allocations: 1.373 MB / 237.3 MB, free: 9.73 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005879/0.3132, allocations: 0.7753 MB / 238.1 MB, free: 8.926 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001776/0.3134, allocations: 86.22 kB / 238.2 MB, free: 8.898 MB / 186.7 MB Notification: Performance of SimCode: time 5.821e-06/0.3134, allocations: 3.938 kB / 238.2 MB, free: 8.895 MB / 186.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.604/2.918, allocations: 5.011 MB / 243.2 MB, free: 3.926 MB / 186.7 MB