Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.ShowVariableResistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Electrical.Analog.Examples.ShowVariableResistor") Notification: Performance of loadModel(Modelica): time 0.9983/0.9983, allocations: 111.2 MB / 119.1 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 1.608e-05/1.618e-05, allocations: 4 kB / 148.1 MB, free: 6.227 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04491/0.04495, allocations: 25.17 MB / 173.3 MB, free: 13.01 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1798/0.2248, allocations: 34.78 MB / 208.1 MB, free: 7.02 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001935/0.225, allocations: 64.38 kB / 208.1 MB, free: 7.02 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02193/0.247, allocations: 4.86 MB / 213 MB, free: 6.367 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.519e-06/0.247, allocations: 0 / 213 MB, free: 6.367 MB / 170.7 MB Notification: Performance of Transformations before backend: time 3.204e-05/0.2471, allocations: 9.781 kB / 213 MB, free: 6.363 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.001288/0.2484, allocations: 0.5691 MB / 213.6 MB, free: 5.934 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.656e-05/0.2485, allocations: 8.75 kB / 213.6 MB, free: 5.934 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001485/0.2487, allocations: 34.41 kB / 213.6 MB, free: 5.918 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005244/0.2492, allocations: 275.6 kB / 213.9 MB, free: 5.688 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.628e-05/0.2492, allocations: 7.625 kB / 213.9 MB, free: 5.688 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.467e-05/0.2493, allocations: 15.25 kB / 213.9 MB, free: 5.688 MB / 170.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006739/0.25, allocations: 161 kB / 214.1 MB, free: 5.688 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007066/0.2508, allocations: 195.5 kB / 214.3 MB, free: 5.648 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/0.2508, allocations: 0 / 214.3 MB, free: 5.648 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.678e-05/0.2509, allocations: 7.641 kB / 214.3 MB, free: 5.645 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.343e-05/0.2509, allocations: 3.656 kB / 214.3 MB, free: 5.645 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003008/0.2539, allocations: 0.9286 MB / 215.2 MB, free: 5.238 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006827/0.2546, allocations: 196.3 kB / 215.4 MB, free: 5.203 MB / 170.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003164/0.255, allocations: 96.5 kB / 215.5 MB, free: 5.195 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.574e-05/0.255, allocations: 3.031 kB / 215.5 MB, free: 5.195 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/0.2551, allocations: 38.12 kB / 215.5 MB, free: 5.156 MB / 170.7 MB Notification: Performance of pre-optimization done (n=21): time 4.539e-06/0.2551, allocations: 0 / 215.5 MB, free: 5.156 MB / 170.7 MB Notification: Performance of matching and sorting (n=21): time 0.000868/0.256, allocations: 231.5 kB / 215.7 MB, free: 5.078 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.824e-05/0.256, allocations: 55.34 kB / 215.8 MB, free: 5.012 MB / 170.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/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@2/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@2/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@2/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@2/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@2/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@2/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.0005263/0.2566, allocations: 217.3 kB / 216 MB, free: 4.906 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 4.04e-05/0.2566, allocations: 25.7 kB / 216 MB, free: 4.875 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001291/0.2568, allocations: 245.4 kB / 216.3 MB, free: 4.68 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.407e-05/0.2569, allocations: 74.34 kB / 216.4 MB, free: 4.633 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.328e-05/0.2569, allocations: 0 / 216.4 MB, free: 4.633 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 7.348e-05/0.257, allocations: 319.8 kB / 216.7 MB, free: 4.32 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002163/0.2572, allocations: 52.44 kB / 216.7 MB, free: 4.316 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002319/0.2575, allocations: 77.33 kB / 216.8 MB, free: 4.293 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002275/0.2577, allocations: 66.11 kB / 216.9 MB, free: 4.289 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.2578, allocations: 0 / 216.9 MB, free: 4.289 MB / 170.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008796/0.2587, allocations: 247.6 kB / 217.1 MB, free: 4.219 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.2587, allocations: 6.406 kB / 217.1 MB, free: 4.219 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.2587, allocations: 0 / 217.1 MB, free: 4.219 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004916/0.2593, allocations: 76.3 kB / 217.2 MB, free: 4.199 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004008/0.2597, allocations: 39.53 kB / 217.2 MB, free: 4.195 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003408/0.2631, allocations: 2.712 MB / 219.9 MB, free: 17.77 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004394/0.2636, allocations: 31.84 kB / 220 MB, free: 17.75 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.084e-05/0.2637, allocations: 11.56 kB / 220 MB, free: 17.75 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.0002009/0.2639, allocations: 104.9 kB / 220.1 MB, free: 17.64 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001194/0.264, allocations: 27.41 kB / 220.1 MB, free: 17.62 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.223e-05/0.2641, allocations: 25.92 kB / 220.1 MB, free: 17.62 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.65e-06/0.2642, allocations: 7.812 kB / 220.1 MB, free: 17.62 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/0.2642, allocations: 4 kB / 220.1 MB, free: 17.61 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.2642, allocations: 3.875 kB / 220.1 MB, free: 17.61 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001553/0.2658, allocations: 0.5811 MB / 220.7 MB, free: 17.31 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.207e-06/0.2658, allocations: 9.344 kB / 220.7 MB, free: 17.31 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002717/0.2661, allocations: 27.7 kB / 220.8 MB, free: 17.3 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000402/0.2665, allocations: 71.03 kB / 220.8 MB, free: 17.29 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.522e-05/0.2666, allocations: 3.875 kB / 220.8 MB, free: 17.29 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002857/0.2695, allocations: 2.703 MB / 223.5 MB, free: 14.87 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.895e-06/0.2695, allocations: 0 / 223.5 MB, free: 14.87 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005953/0.2701, allocations: 328.5 kB / 223.9 MB, free: 14.69 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001649/0.2703, allocations: 114.5 kB / 224 MB, free: 14.59 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.892e-05/0.2703, allocations: 0 / 224 MB, free: 14.59 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003158/0.2707, allocations: 40.56 kB / 224 MB, free: 14.58 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.576e-05/0.2708, allocations: 24.48 kB / 224 MB, free: 14.57 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-05/0.2708, allocations: 3.75 kB / 224 MB, free: 14.57 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001962/0.271, allocations: 164 kB / 224.2 MB, free: 14.5 MB / 186.7 MB Notification: Performance of sort global known variables: time 8.78e-07/0.271, allocations: 0 / 224.2 MB, free: 14.5 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0005279/0.2716, allocations: 92.36 kB / 224.3 MB, free: 14.48 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.0001482/0.2717, allocations: 102.4 kB / 224.4 MB, free: 14.39 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0006549/0.2724, allocations: 380.3 kB / 224.8 MB, free: 14.17 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.645e-06/0.2724, allocations: 0 / 224.8 MB, free: 14.17 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004116/0.2728, allocations: 316.8 kB / 225.1 MB, free: 13.95 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004888/0.2733, allocations: 55.56 kB / 225.1 MB, free: 13.95 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007531/0.2741, allocations: 334.2 kB / 225.4 MB, free: 13.77 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004524/0.2746, allocations: 0.7727 MB / 226.2 MB, free: 13.07 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.928e-05/0.2747, allocations: 18.56 kB / 226.2 MB, free: 13.07 MB / 186.7 MB Notification: Performance of SimCode: time 1.62e-06/0.2747, allocations: 0 / 226.2 MB, free: 13.07 MB / 186.7 MB Notification: Performance of Templates: time 0.008169/0.2829, allocations: 5.288 MB / 231.5 MB, free: 10.41 MB / 186.7 MB