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/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.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.14/1.14, allocations: 111.2 MB / 119.1 MB, free: 11.18 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.406e-05/2.416e-05, allocations: 0 / 148.2 MB, free: 6.125 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05709/0.05716, allocations: 25.18 MB / 173.4 MB, free: 12.91 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2184/0.2756, allocations: 34.33 MB / 207.7 MB, free: 4.648 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002764/0.276, allocations: 63.27 kB / 207.8 MB, free: 4.648 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02446/0.3005, allocations: 4.498 MB / 212.3 MB, free: 4.047 MB / 170.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3005, allocations: 0 / 212.3 MB, free: 4.047 MB / 170.7 MB Notification: Performance of Transformations before backend: time 2.591e-05/0.3006, allocations: 6.562 kB / 212.3 MB, free: 4.047 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.001202/0.3018, allocations: 0.5181 MB / 212.8 MB, free: 3.633 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.055e-05/0.3019, allocations: 9.656 kB / 212.8 MB, free: 3.633 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000125/0.302, allocations: 35.28 kB / 212.8 MB, free: 3.613 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004334/0.3024, allocations: 247.7 kB / 213.1 MB, free: 3.395 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.952e-05/0.3025, allocations: 8.688 kB / 213.1 MB, free: 3.395 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.639e-05/0.3026, allocations: 21.81 kB / 213.1 MB, free: 3.391 MB / 170.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006055/0.3032, allocations: 162.3 kB / 213.3 MB, free: 3.383 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006961/0.3039, allocations: 190.7 kB / 213.5 MB, free: 3.348 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.304, allocations: 1.406 kB / 213.5 MB, free: 3.348 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.67e-05/0.304, allocations: 0 / 213.5 MB, free: 3.348 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.627e-05/0.3041, allocations: 6.906 kB / 213.5 MB, free: 3.348 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002849/0.3069, allocations: 0.961 MB / 214.4 MB, free: 2.902 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005959/0.3076, allocations: 316.3 kB / 214.7 MB, free: 2.68 MB / 170.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000631/0.3082, allocations: 180 kB / 214.9 MB, free: 2.668 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.918e-05/0.3083, allocations: 4 kB / 214.9 MB, free: 2.668 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/0.3083, allocations: 34.75 kB / 215 MB, free: 2.625 MB / 170.7 MB Notification: Performance of pre-optimization done (n=21): time 4.288e-06/0.3084, allocations: 0 / 215 MB, free: 2.625 MB / 170.7 MB Notification: Performance of matching and sorting (n=25): time 0.002034/0.3104, allocations: 0.649 MB / 215.6 MB, free: 2.293 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.671e-05/0.3105, allocations: 59.28 kB / 215.7 MB, free: 2.227 MB / 170.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. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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.0003244/0.3108, allocations: 164.3 kB / 215.8 MB, free: 2.125 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 2.989e-05/0.3108, allocations: 25.7 kB / 215.8 MB, free: 2.094 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.311, allocations: 236.5 kB / 216.1 MB, free: 1.902 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.991e-05/0.3111, allocations: 88.98 kB / 216.2 MB, free: 1.844 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.925e-05/0.3111, allocations: 0 / 216.2 MB, free: 1.844 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 8.224e-05/0.3112, allocations: 321 kB / 216.5 MB, free: 1.527 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001863/0.3114, allocations: 54.33 kB / 216.5 MB, free: 1.523 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002313/0.3117, allocations: 86.05 kB / 216.6 MB, free: 1.504 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002495/0.3119, allocations: 65.36 kB / 216.7 MB, free: 1.504 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.312, allocations: 0 / 216.7 MB, free: 1.504 MB / 170.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009671/0.3129, allocations: 264.8 kB / 216.9 MB, free: 1.441 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.871e-05/0.313, allocations: 14.03 kB / 217 MB, free: 1.438 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.313, allocations: 8.031 kB / 217 MB, free: 1.43 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005167/0.3136, allocations: 71.03 kB / 217 MB, free: 1.422 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004819/0.3141, allocations: 49.52 kB / 217.1 MB, free: 1.418 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003076/0.3172, allocations: 1.802 MB / 218.9 MB, free: 100 kB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003113/0.3175, allocations: 6.234 kB / 218.9 MB, free: 100 kB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.938e-05/0.3176, allocations: 6.562 kB / 218.9 MB, free: 100 kB / 170.7 MB Warning: Assuming fixed start value for the following 5 variables: L2.i:VARIABLE(unit = "A" ) "Current flowing from pin p to pin n" type: Real L2.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real L1.i:VARIABLE(unit = "A" ) "Current flowing from pin p to pin n" type: Real C3.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real L1.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: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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.000288/0.3179, allocations: 117.9 kB / 219 MB, free: 15.98 MB / 186.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007973/0.3187, allocations: 250.8 kB / 219.3 MB, free: 15.91 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.652e-05/0.3188, allocations: 19.47 kB / 219.3 MB, free: 15.89 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.396e-05/0.3189, allocations: 22.52 kB / 219.3 MB, free: 15.89 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.3189, allocations: 3.875 kB / 219.3 MB, free: 15.89 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.3189, allocations: 3.75 kB / 219.3 MB, free: 15.89 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.319, allocations: 2.297 kB / 219.3 MB, free: 15.89 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001627/0.3206, allocations: 0.6278 MB / 219.9 MB, free: 15.58 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.3206, allocations: 0 / 219.9 MB, free: 15.58 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004372/0.3211, allocations: 38.59 kB / 220 MB, free: 15.58 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004494/0.3215, allocations: 85.14 kB / 220.1 MB, free: 15.56 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.26e-05/0.3216, allocations: 0 / 220.1 MB, free: 15.56 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003507/0.3251, allocations: 1.802 MB / 221.9 MB, free: 14.25 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.095e-06/0.3252, allocations: 0 / 221.9 MB, free: 14.25 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001267/0.3265, allocations: 478.6 kB / 222.3 MB, free: 13.99 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001635/0.3267, allocations: 96.58 kB / 222.4 MB, free: 13.88 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.032e-05/0.3268, allocations: 7.875 kB / 222.4 MB, free: 13.88 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004241/0.3272, allocations: 11.73 kB / 222.4 MB, free: 13.88 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/0.3273, allocations: 15.72 kB / 222.4 MB, free: 13.87 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.853e-05/0.3274, allocations: 11.69 kB / 222.5 MB, free: 13.87 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0002445/0.3277, allocations: 135.1 kB / 222.6 MB, free: 13.78 MB / 186.7 MB Notification: Performance of sort global known variables: time 8.81e-07/0.3277, allocations: 0 / 222.6 MB, free: 13.78 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.001027/0.3287, allocations: 66.12 kB / 222.7 MB, free: 13.78 MB / 186.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (C3.v,L1.v,L1.i,L2.v,L2.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * 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 Backend phase and start with SimCode phase: time 0.001887/0.3306, allocations: 1.14 MB / 223.8 MB, free: 12.86 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.001201/0.3319, allocations: 323.4 kB / 224.1 MB, free: 12.73 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 9.678e-06/0.332, allocations: 7.812 kB / 224.1 MB, free: 12.72 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008557/0.3328, allocations: 244.4 kB / 224.4 MB, free: 12.59 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000797/0.3337, allocations: 33.69 kB / 224.4 MB, free: 12.58 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002666/0.3364, allocations: 0.7006 MB / 225.1 MB, free: 12.05 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006828/0.3371, allocations: 0.7781 MB / 225.9 MB, free: 11.31 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002586/0.3374, allocations: 83.19 kB / 226 MB, free: 11.29 MB / 186.7 MB Notification: Performance of SimCode: time 1.593e-06/0.3375, allocations: 0 / 226 MB, free: 11.29 MB / 186.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.688/3.025, allocations: 4.981 MB / 230.9 MB, free: 8.797 MB / 186.7 MB