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.02/1.02, allocations: 111.2 MB / 124.2 MB, free: 11.15 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 3.666e-05/3.687e-05, allocations: 7.984 kB / 154.4 MB, free: 13.04 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1745/0.1746, allocations: 25.14 MB / 179.5 MB, free: 0.8086 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07903/0.2537, allocations: 35.01 MB / 214.5 MB, free: 14.1 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002467/0.254, allocations: 63.97 kB / 214.6 MB, free: 14.04 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01953/0.2735, allocations: 4.549 MB / 219.1 MB, free: 9.473 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.2736, allocations: 0 / 219.1 MB, free: 9.473 MB / 186.7 MB Notification: Performance of Transformations before backend: time 2.055e-05/0.2736, allocations: 4 kB / 219.1 MB, free: 9.469 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001117/0.2748, allocations: 0.5181 MB / 219.7 MB, free: 8.906 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.989e-05/0.2749, allocations: 12.02 kB / 219.7 MB, free: 8.895 MB / 186.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001482/0.275, allocations: 62.53 kB / 219.7 MB, free: 8.824 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001306/0.2752, allocations: 31.62 kB / 219.8 MB, free: 8.793 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004105/0.2756, allocations: 247.6 kB / 220 MB, free: 8.512 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.959e-05/0.2756, allocations: 28.55 kB / 220 MB, free: 8.484 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.658e-05/0.2757, allocations: 31.95 kB / 220.1 MB, free: 8.453 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006372/0.2764, allocations: 232.9 kB / 220.3 MB, free: 8.219 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.2764, allocations: 0 / 220.3 MB, free: 8.219 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.459e-05/0.2765, allocations: 12 kB / 220.3 MB, free: 8.207 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.713e-05/0.2765, allocations: 8 kB / 220.3 MB, free: 8.199 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004924/0.277, allocations: 170.2 kB / 220.5 MB, free: 8.031 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002357/0.2794, allocations: 1.029 MB / 221.5 MB, free: 6.918 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005703/0.28, allocations: 317.5 kB / 221.8 MB, free: 6.562 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005496/0.2806, allocations: 189.2 kB / 222 MB, free: 6.375 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.2806, allocations: 192 / 222 MB, free: 6.375 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.56e-05/0.2806, allocations: 42.73 kB / 222 MB, free: 6.324 MB / 186.7 MB Notification: Performance of pre-optimization done (n=21): time 2.324e-06/0.2807, allocations: 4 kB / 222.1 MB, free: 6.32 MB / 186.7 MB Notification: Performance of matching and sorting (n=25): time 0.001798/0.2825, allocations: 0.6806 MB / 222.7 MB, free: 5.582 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.244e-05/0.2825, allocations: 59.36 kB / 222.8 MB, free: 5.512 MB / 186.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.0003233/0.2829, allocations: 174.6 kB / 223 MB, free: 5.332 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 3.124e-05/0.2829, allocations: 33.64 kB / 223 MB, free: 5.293 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000146/0.2831, allocations: 238.4 kB / 223.2 MB, free: 5.059 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.833e-05/0.2832, allocations: 82.72 kB / 223.3 MB, free: 4.977 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.998e-05/0.2832, allocations: 8 kB / 223.3 MB, free: 4.969 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.2833, allocations: 318.8 kB / 223.6 MB, free: 4.648 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001687/0.2835, allocations: 60.52 kB / 223.7 MB, free: 4.582 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000198/0.2837, allocations: 82.98 kB / 223.8 MB, free: 4.496 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002327/0.284, allocations: 77.33 kB / 223.8 MB, free: 4.422 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.284, allocations: 0 / 223.8 MB, free: 4.422 MB / 186.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000802/0.2848, allocations: 286.2 kB / 224.1 MB, free: 4.133 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.179e-05/0.2849, allocations: 8 kB / 224.1 MB, free: 4.125 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/0.2849, allocations: 7.969 kB / 224.1 MB, free: 4.117 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004039/0.2853, allocations: 80.77 kB / 224.2 MB, free: 4.035 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003569/0.2857, allocations: 43.97 kB / 224.3 MB, free: 3.992 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002998/0.2887, allocations: 1.866 MB / 226.1 MB, free: 1.992 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002412/0.289, allocations: 11.98 kB / 226.1 MB, free: 1.98 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.557e-05/0.289, allocations: 8.156 kB / 226.1 MB, free: 1.973 MB / 186.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.0002151/0.2892, allocations: 138 kB / 226.3 MB, free: 1.832 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.006e-05/0.2893, allocations: 23.66 kB / 226.3 MB, free: 1.809 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.023e-05/0.2894, allocations: 33.7 kB / 226.3 MB, free: 1.777 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.2894, allocations: 4 kB / 226.3 MB, free: 1.773 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.2895, allocations: 0 / 226.3 MB, free: 1.773 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.2895, allocations: 0 / 226.3 MB, free: 1.773 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001426/0.2909, allocations: 0.6993 MB / 227 MB, free: 1.012 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.2909, allocations: 4 kB / 227 MB, free: 1.008 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003451/0.2913, allocations: 39.92 kB / 227.1 MB, free: 0.9688 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003586/0.2917, allocations: 76.8 kB / 227.2 MB, free: 0.8906 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.701e-05/0.2917, allocations: 4.094 kB / 227.2 MB, free: 0.8867 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002727/0.2944, allocations: 1.889 MB / 229.1 MB, free: 14.86 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.2945, allocations: 0 / 229.1 MB, free: 14.86 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001221/0.2957, allocations: 493.2 kB / 229.5 MB, free: 14.34 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003689/0.2962, allocations: 88.92 kB / 229.6 MB, free: 14.23 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002089/0.2964, allocations: 8.062 kB / 229.6 MB, free: 14.23 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001262/0.2977, allocations: 15.98 kB / 229.6 MB, free: 14.21 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/0.2979, allocations: 19.97 kB / 229.7 MB, free: 14.19 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.403e-05/0.2979, allocations: 12.12 kB / 229.7 MB, free: 14.18 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0002859/0.2982, allocations: 139.4 kB / 229.8 MB, free: 14.04 MB / 202.7 MB Notification: Performance of sort global known variables: time 8.92e-07/0.2983, allocations: 0 / 229.8 MB, free: 14.04 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.001251/0.2995, allocations: 79.95 kB / 229.9 MB, free: 13.96 MB / 202.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.002123/0.3017, allocations: 1.176 MB / 231.1 MB, free: 12.75 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.001386/0.3031, allocations: 342.5 kB / 231.4 MB, free: 12.4 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 1.374e-05/0.3032, allocations: 4.109 kB / 231.4 MB, free: 12.39 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009774/0.3042, allocations: 254.4 kB / 231.7 MB, free: 12.13 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009316/0.3052, allocations: 48.78 kB / 231.7 MB, free: 12.09 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004318/0.3095, allocations: 0.7279 MB / 232.4 MB, free: 11.31 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004209/0.31, allocations: 0.7716 MB / 233.2 MB, free: 10.52 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001919/0.3102, allocations: 83.41 kB / 233.3 MB, free: 10.43 MB / 202.7 MB Notification: Performance of SimCode: time 1.252e-06/0.3102, allocations: 7.938 kB / 233.3 MB, free: 10.43 MB / 202.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.803/3.114, allocations: 5.049 MB / 238.3 MB, free: 5.375 MB / 202.7 MB