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/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.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.004/1.004, allocations: 111.1 MB / 126.7 MB, free: 6.137 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002839/0.0002841, allocations: 16 kB / 158.4 MB, free: 15.09 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05278/0.05311, allocations: 25.16 MB / 183.6 MB, free: 5.891 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.206/0.2591, allocations: 35.54 MB / 219.1 MB, free: 5.977 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002337/0.2594, allocations: 66.41 kB / 219.2 MB, free: 5.969 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01962/0.2791, allocations: 4.909 MB / 224.1 MB, free: 4.043 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.2791, allocations: 0 / 224.1 MB, free: 4.043 MB / 170.7 MB Notification: Performance of Transformations before backend: time 2.448e-05/0.2792, allocations: 15.44 kB / 224.1 MB, free: 4.035 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.00121/0.2804, allocations: 0.5929 MB / 224.7 MB, free: 3.539 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.2805, allocations: 11.34 kB / 224.7 MB, free: 3.539 MB / 170.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.907e-05/0.2806, allocations: 61.91 kB / 224.8 MB, free: 3.492 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.577e-05/0.2807, allocations: 41.59 kB / 224.8 MB, free: 3.473 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003837/0.2811, allocations: 266.7 kB / 225.1 MB, free: 3.23 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.2811, allocations: 15.28 kB / 225.1 MB, free: 3.23 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.361e-05/0.2812, allocations: 30.19 kB / 225.1 MB, free: 3.23 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007725/0.2819, allocations: 267.5 kB / 225.4 MB, free: 3.145 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.282, allocations: 0 / 225.4 MB, free: 3.145 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.472e-05/0.282, allocations: 15.17 kB / 225.4 MB, free: 3.141 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.282, allocations: 3.844 kB / 225.4 MB, free: 3.141 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007686/0.2828, allocations: 237.1 kB / 225.6 MB, free: 3.098 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002461/0.2853, allocations: 0.9837 MB / 226.6 MB, free: 2.508 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007435/0.2861, allocations: 223.9 kB / 226.8 MB, free: 2.457 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.52e-05/0.2862, allocations: 4.031 kB / 226.9 MB, free: 2.457 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.2862, allocations: 38.2 kB / 226.9 MB, free: 2.414 MB / 170.7 MB Notification: Performance of pre-optimization done (n=21): time 2.565e-06/0.2862, allocations: 3.938 kB / 226.9 MB, free: 2.41 MB / 170.7 MB Notification: Performance of matching and sorting (n=21): time 0.001982/0.2882, allocations: 0.5854 MB / 227.5 MB, free: 2.078 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.075e-05/0.2883, allocations: 57.91 kB / 227.5 MB, free: 2.012 MB / 170.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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/OpenModelica/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/OpenModelica/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/OpenModelica/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/OpenModelica/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/OpenModelica/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/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.0004924/0.2888, allocations: 248.3 kB / 227.8 MB, free: 1.875 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 4.155e-05/0.2888, allocations: 32.33 kB / 227.8 MB, free: 1.844 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.779e-05/0.2889, allocations: 238.3 kB / 228 MB, free: 1.645 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.233e-05/0.289, allocations: 70.86 kB / 228.1 MB, free: 1.594 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.878e-05/0.289, allocations: 5 kB / 228.1 MB, free: 1.594 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 6.198e-05/0.2891, allocations: 320.1 kB / 228.4 MB, free: 1.277 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003166/0.2894, allocations: 85.14 kB / 228.5 MB, free: 1.262 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003383/0.2898, allocations: 118.9 kB / 228.6 MB, free: 1.211 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003554/0.2902, allocations: 89.86 kB / 228.7 MB, free: 1.207 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.2902, allocations: 4 kB / 228.7 MB, free: 1.203 MB / 170.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009998/0.2912, allocations: 318.9 kB / 229 MB, free: 1.098 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.2912, allocations: 4.344 kB / 229 MB, free: 1.098 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.2912, allocations: 0 / 229 MB, free: 1.098 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000406/0.2917, allocations: 74.86 kB / 229.1 MB, free: 1.07 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003581/0.292, allocations: 51.73 kB / 229.2 MB, free: 1.051 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003014/0.2951, allocations: 2.853 MB / 232 MB, free: 14.39 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004171/0.2955, allocations: 39.89 kB / 232 MB, free: 14.36 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.646e-05/0.2956, allocations: 7.875 kB / 232.1 MB, free: 14.35 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 () * Number of clocked 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.0002375/0.2958, allocations: 133.2 kB / 232.2 MB, free: 14.23 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.03e-05/0.2959, allocations: 23.72 kB / 232.2 MB, free: 14.2 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.518e-05/0.296, allocations: 41.5 kB / 232.3 MB, free: 14.18 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.296, allocations: 0 / 232.3 MB, free: 14.18 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.561e-05/0.2961, allocations: 11.98 kB / 232.3 MB, free: 14.17 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.2961, allocations: 0 / 232.3 MB, free: 14.17 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005308/0.2966, allocations: 337.2 kB / 232.6 MB, free: 13.86 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.583e-06/0.2967, allocations: 4 kB / 232.6 MB, free: 13.85 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002958/0.297, allocations: 27.92 kB / 232.6 MB, free: 13.82 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003589/0.2973, allocations: 80.91 kB / 232.7 MB, free: 13.75 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.966e-05/0.2974, allocations: 0 / 232.7 MB, free: 13.75 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003131/0.3005, allocations: 2.845 MB / 235.5 MB, free: 10.85 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.3006, allocations: 4.062 kB / 235.6 MB, free: 10.85 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001128/0.3017, allocations: 386.5 kB / 235.9 MB, free: 10.51 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001935/0.3019, allocations: 118.7 kB / 236 MB, free: 10.38 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.445e-05/0.302, allocations: 7.75 kB / 236.1 MB, free: 10.38 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004681/0.3025, allocations: 43.3 kB / 236.1 MB, free: 10.34 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/0.3026, allocations: 27.66 kB / 236.1 MB, free: 10.32 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.426e-05/0.3027, allocations: 4 kB / 236.1 MB, free: 10.31 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0002898/0.303, allocations: 191.7 kB / 236.3 MB, free: 10.16 MB / 186.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.303, allocations: 0 / 236.3 MB, free: 10.16 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0005785/0.3036, allocations: 94.16 kB / 236.4 MB, free: 10.08 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 () * Number of clocked 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.001511/0.3051, allocations: 0.9279 MB / 237.3 MB, free: 9.188 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.001254/0.3064, allocations: 468.3 kB / 237.8 MB, free: 8.77 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.3064, allocations: 0 / 237.8 MB, free: 8.77 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007237/0.3072, allocations: 358.3 kB / 238.1 MB, free: 8.43 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009479/0.3081, allocations: 89.8 kB / 238.2 MB, free: 8.359 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001888/0.31, allocations: 1.199 MB / 239.4 MB, free: 7.156 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004115/0.3105, allocations: 0.7719 MB / 240.2 MB, free: 6.355 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002014/0.3107, allocations: 88.22 kB / 240.3 MB, free: 6.328 MB / 186.7 MB Notification: Performance of SimCode: time 1.423e-06/0.3107, allocations: 0 / 240.3 MB, free: 6.328 MB / 186.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.676/2.987, allocations: 6.701 MB / 247 MB, free: 15.68 MB / 202.7 MB