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.ShowVariableResistor.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.ShowVariableResistor,fileNamePrefix="Modelica_3_1_cpp_Modelica_Electrical_Analog_Examples_ShowVariableResistor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.02/1.02, allocations: 111.2 MB / 119.1 MB, free: 11.18 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.024e-05/2.027e-05, allocations: 4 kB / 148.2 MB, free: 6.121 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05356/0.05361, allocations: 25.18 MB / 173.4 MB, free: 12.91 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2145/0.2682, allocations: 34.79 MB / 208.2 MB, free: 4.633 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002641/0.2685, allocations: 60.55 kB / 208.2 MB, free: 4.633 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02001/0.2885, allocations: 4.86 MB / 213.1 MB, free: 3.988 MB / 170.7 MB Notification: Performance of FrontEnd: time 3.677e-06/0.2886, allocations: 0 / 213.1 MB, free: 3.988 MB / 170.7 MB Notification: Performance of Transformations before backend: time 2.689e-05/0.2886, allocations: 15.31 kB / 213.1 MB, free: 3.984 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.00111/0.2897, allocations: 0.5637 MB / 213.7 MB, free: 3.559 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/0.2898, allocations: 11.5 kB / 213.7 MB, free: 3.559 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.379e-05/0.2899, allocations: 34.72 kB / 213.7 MB, free: 3.543 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003898/0.2903, allocations: 269.9 kB / 214 MB, free: 3.312 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.2903, allocations: 11.5 kB / 214 MB, free: 3.312 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.864e-05/0.2904, allocations: 15.25 kB / 214 MB, free: 3.312 MB / 170.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004454/0.2909, allocations: 164.9 kB / 214.2 MB, free: 3.309 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004802/0.2914, allocations: 195.4 kB / 214.4 MB, free: 3.27 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.2914, allocations: 0 / 214.4 MB, free: 3.27 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.763e-05/0.2914, allocations: 3.953 kB / 214.4 MB, free: 3.266 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.828e-06/0.2915, allocations: 7.625 kB / 214.4 MB, free: 3.266 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002224/0.2937, allocations: 0.9257 MB / 215.3 MB, free: 2.859 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005315/0.2942, allocations: 190.7 kB / 215.5 MB, free: 2.828 MB / 170.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002455/0.2945, allocations: 99.5 kB / 215.6 MB, free: 2.82 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.511e-05/0.2946, allocations: 4.031 kB / 215.6 MB, free: 2.82 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.2946, allocations: 34.69 kB / 215.6 MB, free: 2.781 MB / 170.7 MB Notification: Performance of pre-optimization done (n=21): time 2.545e-06/0.2946, allocations: 0 / 215.6 MB, free: 2.781 MB / 170.7 MB Notification: Performance of matching and sorting (n=21): time 0.0006626/0.2953, allocations: 231.6 kB / 215.8 MB, free: 2.699 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.358e-05/0.2953, allocations: 55.31 kB / 215.9 MB, free: 2.637 MB / 170.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.1/Blocks/Sources.mo:442:9-443:26:writable] Warning: Parameter Ramp1.duration has no value, and is fixed during initialization (fixed=true), using available start value (start=2.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Analog/Sources.mo:361:5-361:68:writable] Warning: Parameter SineVoltage1.freqHz 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/Sources.mo:359:5-359:61:writable] Warning: Parameter SineVoltage1.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 R5.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 R4.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 R3.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 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.0003643/0.2957, allocations: 215.5 kB / 216.1 MB, free: 2.531 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.2957, allocations: 25.7 kB / 216.1 MB, free: 2.5 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.833e-05/0.2958, allocations: 255.8 kB / 216.4 MB, free: 2.297 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.199e-05/0.2959, allocations: 69.17 kB / 216.5 MB, free: 2.25 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.568e-05/0.2959, allocations: 0 / 216.5 MB, free: 2.25 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 6.459e-05/0.296, allocations: 323.9 kB / 216.8 MB, free: 1.938 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.2961, allocations: 50.84 kB / 216.8 MB, free: 1.934 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001592/0.2963, allocations: 82.59 kB / 216.9 MB, free: 1.91 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001671/0.2965, allocations: 63.03 kB / 217 MB, free: 1.906 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.2965, allocations: 0 / 217 MB, free: 1.906 MB / 170.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006076/0.2971, allocations: 243.7 kB / 217.2 MB, free: 1.84 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.2972, allocations: 5.812 kB / 217.2 MB, free: 1.84 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.2972, allocations: 0 / 217.2 MB, free: 1.84 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004056/0.2976, allocations: 72.38 kB / 217.3 MB, free: 1.82 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003537/0.298, allocations: 44.61 kB / 217.3 MB, free: 1.816 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002474/0.3004, allocations: 2.715 MB / 220 MB, free: 15.38 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003722/0.3009, allocations: 29.22 kB / 220.1 MB, free: 15.37 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.428e-05/0.3009, allocations: 6 kB / 220.1 MB, free: 15.37 MB / 186.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001515/0.3011, allocations: 112.2 kB / 220.2 MB, free: 15.26 MB / 186.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005875/0.3017, allocations: 224.1 kB / 220.4 MB, free: 15.19 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.691e-05/0.3017, allocations: 23.34 kB / 220.4 MB, free: 15.18 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.478e-05/0.3018, allocations: 23.84 kB / 220.4 MB, free: 15.18 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.3018, allocations: 3.875 kB / 220.4 MB, free: 15.18 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.3018, allocations: 3.953 kB / 220.4 MB, free: 15.17 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.3019, allocations: 0 / 220.4 MB, free: 15.17 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001094/0.303, allocations: 0.5865 MB / 221 MB, free: 14.81 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.303, allocations: 192 / 221 MB, free: 14.81 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002452/0.3032, allocations: 33.05 kB / 221.1 MB, free: 14.8 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003153/0.3036, allocations: 72.33 kB / 221.1 MB, free: 14.77 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/0.3036, allocations: 3.562 kB / 221.1 MB, free: 14.77 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002952/0.3066, allocations: 2.707 MB / 223.8 MB, free: 12.27 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.128e-06/0.3066, allocations: 0 / 223.8 MB, free: 12.27 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007259/0.3074, allocations: 325.5 kB / 224.2 MB, free: 12.08 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002011/0.3076, allocations: 119.3 kB / 224.3 MB, free: 11.96 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.398e-05/0.3077, allocations: 0 / 224.3 MB, free: 11.96 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004566/0.3081, allocations: 34.25 kB / 224.3 MB, free: 11.96 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001287/0.3083, allocations: 27.52 kB / 224.3 MB, free: 11.94 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.669e-05/0.3083, allocations: 3.844 kB / 224.3 MB, free: 11.94 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0002238/0.3085, allocations: 170.9 kB / 224.5 MB, free: 11.85 MB / 186.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.3085, allocations: 0 / 224.5 MB, free: 11.85 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0005768/0.3091, allocations: 88.66 kB / 224.6 MB, free: 11.84 MB / 186.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001072/0.3102, allocations: 0.8594 MB / 225.5 MB, free: 11.12 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0008309/0.3111, allocations: 380 kB / 225.8 MB, free: 10.89 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.3111, allocations: 4.125 kB / 225.8 MB, free: 10.88 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004901/0.3116, allocations: 306.7 kB / 226.1 MB, free: 10.66 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008021/0.3125, allocations: 59.31 kB / 226.2 MB, free: 10.64 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001309/0.3138, allocations: 389.8 kB / 226.6 MB, free: 10.38 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004279/0.3143, allocations: 0.7697 MB / 227.3 MB, free: 9.645 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001972/0.3145, allocations: 87.66 kB / 227.4 MB, free: 9.629 MB / 186.7 MB Notification: Performance of SimCode: time 1.142e-06/0.3145, allocations: 0 / 227.4 MB, free: 9.629 MB / 186.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.847/3.161, allocations: 6.532 MB / 234 MB, free: 6.328 MB / 186.7 MB