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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/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 1.011/1.011, allocations: 111.1 MB / 126.7 MB, free: 6.133 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002629/0.000263, allocations: 4 kB / 158.3 MB, free: 15.18 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04592/0.04621, allocations: 25.16 MB / 183.5 MB, free: 5.984 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1714/0.2176, allocations: 35.55 MB / 219 MB, free: 6.324 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001883/0.2179, allocations: 59 kB / 219.1 MB, free: 6.316 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01684/0.2347, allocations: 4.907 MB / 224 MB, free: 4.387 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.262e-06/0.2348, allocations: 0 / 224 MB, free: 4.387 MB / 170.7 MB Notification: Performance of Transformations before backend: time 2.141e-05/0.2348, allocations: 3.812 kB / 224 MB, free: 4.387 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.000837/0.2357, allocations: 0.6059 MB / 224.6 MB, free: 3.891 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.2357, allocations: 7.656 kB / 224.6 MB, free: 3.891 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.23e-05/0.2358, allocations: 38.78 kB / 224.7 MB, free: 3.871 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000299/0.2361, allocations: 268.4 kB / 224.9 MB, free: 3.625 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.415e-05/0.2361, allocations: 23.47 kB / 225 MB, free: 3.621 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.359e-05/0.2362, allocations: 24.56 kB / 225 MB, free: 3.621 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006229/0.2368, allocations: 255.9 kB / 225.2 MB, free: 3.543 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.2369, allocations: 0 / 225.2 MB, free: 3.543 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.908e-05/0.2369, allocations: 12.3 kB / 225.2 MB, free: 3.543 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.956e-06/0.2369, allocations: 11.23 kB / 225.2 MB, free: 3.539 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006461/0.2376, allocations: 238.8 kB / 225.5 MB, free: 3.492 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001828/0.2394, allocations: 0.9807 MB / 226.5 MB, free: 2.902 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005723/0.24, allocations: 227.9 kB / 226.7 MB, free: 2.852 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.187e-05/0.2401, allocations: 4.172 kB / 226.7 MB, free: 2.848 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.2401, allocations: 41.31 kB / 226.7 MB, free: 2.805 MB / 170.7 MB Notification: Performance of pre-optimization done (n=21): time 2.536e-06/0.2401, allocations: 0 / 226.7 MB, free: 2.805 MB / 170.7 MB Notification: Performance of matching and sorting (n=21): time 0.001547/0.2417, allocations: 0.5811 MB / 227.3 MB, free: 2.473 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.228e-05/0.2417, allocations: 59.2 kB / 227.4 MB, free: 2.406 MB / 170.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/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@2/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@2/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@2/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@2/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@2/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@2/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.0003765/0.2421, allocations: 248.6 kB / 227.6 MB, free: 2.27 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 2.434e-05/0.2421, allocations: 32.23 kB / 227.6 MB, free: 2.238 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.298e-05/0.2422, allocations: 237.8 kB / 227.9 MB, free: 2.043 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.594e-05/0.2423, allocations: 69.48 kB / 227.9 MB, free: 1.992 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.465e-05/0.2423, allocations: 3.625 kB / 227.9 MB, free: 1.992 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 5.234e-05/0.2424, allocations: 322.3 kB / 228.3 MB, free: 1.676 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002534/0.2426, allocations: 83.52 kB / 228.3 MB, free: 1.656 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002832/0.2429, allocations: 114.9 kB / 228.5 MB, free: 1.613 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002801/0.2432, allocations: 93.83 kB / 228.5 MB, free: 1.602 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.018e-06/0.2433, allocations: 0 / 228.5 MB, free: 1.602 MB / 170.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008342/0.2441, allocations: 323.2 kB / 228.9 MB, free: 1.492 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.2441, allocations: 7.594 kB / 228.9 MB, free: 1.492 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.086e-06/0.2442, allocations: 0 / 228.9 MB, free: 1.492 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003221/0.2445, allocations: 74.2 kB / 228.9 MB, free: 1.461 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002671/0.2448, allocations: 46.72 kB / 229 MB, free: 1.449 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002679/0.2475, allocations: 2.863 MB / 231.8 MB, free: 14.8 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002892/0.2478, allocations: 32.2 kB / 231.9 MB, free: 14.79 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.515e-05/0.2478, allocations: 9.438 kB / 231.9 MB, free: 14.79 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.000229/0.2481, allocations: 145 kB / 232 MB, free: 14.67 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.024e-05/0.2482, allocations: 25.41 kB / 232.1 MB, free: 14.66 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.531e-05/0.2482, allocations: 28.27 kB / 232.1 MB, free: 14.65 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.795e-06/0.2482, allocations: 5.391 kB / 232.1 MB, free: 14.64 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.076e-06/0.2483, allocations: 2.844 kB / 232.1 MB, free: 14.64 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.906e-06/0.2483, allocations: 3.984 kB / 232.1 MB, free: 14.64 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005068/0.2488, allocations: 335.7 kB / 232.4 MB, free: 14.37 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.2488, allocations: 0 / 232.4 MB, free: 14.37 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002048/0.249, allocations: 43.22 kB / 232.5 MB, free: 14.33 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000299/0.2493, allocations: 70.86 kB / 232.5 MB, free: 14.27 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.94e-05/0.2494, allocations: 3.5 kB / 232.5 MB, free: 14.27 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003078/0.2525, allocations: 2.855 MB / 235.4 MB, free: 11.36 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.983e-06/0.2525, allocations: 0 / 235.4 MB, free: 11.36 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009011/0.2534, allocations: 392.5 kB / 235.8 MB, free: 11.02 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001707/0.2536, allocations: 116.3 kB / 235.9 MB, free: 10.89 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.547e-05/0.2537, allocations: 7.812 kB / 235.9 MB, free: 10.89 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003321/0.254, allocations: 43.42 kB / 235.9 MB, free: 10.85 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.083e-05/0.2541, allocations: 23.84 kB / 236 MB, free: 10.83 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.295e-05/0.2541, allocations: 4 kB / 236 MB, free: 10.82 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0002526/0.2544, allocations: 191.5 kB / 236.2 MB, free: 10.68 MB / 186.7 MB Notification: Performance of sort global known variables: time 2.933e-06/0.2544, allocations: 0 / 236.2 MB, free: 10.68 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0005425/0.255, allocations: 95.28 kB / 236.2 MB, free: 10.59 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.0001543/0.2551, allocations: 103.8 kB / 236.3 MB, free: 10.48 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0009985/0.2562, allocations: 466.8 kB / 236.8 MB, free: 10.07 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.2562, allocations: 4 kB / 236.8 MB, free: 10.06 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006147/0.2568, allocations: 359.5 kB / 237.2 MB, free: 9.723 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006534/0.2575, allocations: 87.64 kB / 237.2 MB, free: 9.652 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/0.2587, allocations: 0.6292 MB / 237.9 MB, free: 9.039 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004982/0.2592, allocations: 0.7755 MB / 238.7 MB, free: 8.234 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.712e-05/0.2593, allocations: 19.44 kB / 238.7 MB, free: 8.215 MB / 186.7 MB Notification: Performance of SimCode: time 1.658e-06/0.2593, allocations: 0 / 238.7 MB, free: 8.215 MB / 186.7 MB Notification: Performance of Templates: time 0.009982/0.2693, allocations: 5.498 MB / 244.2 MB, free: 2.762 MB / 186.7 MB