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 0.947/0.947, allocations: 111.2 MB / 124.2 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.563e-05/2.572e-05, allocations: 7.984 kB / 154.3 MB, free: 13.14 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1358, allocations: 25.15 MB / 179.4 MB, free: 0.7812 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05335/0.1892, allocations: 35.45 MB / 214.9 MB, free: 13.66 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002375/0.1895, allocations: 59.97 kB / 214.9 MB, free: 13.6 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0193/0.2089, allocations: 4.926 MB / 219.9 MB, free: 8.656 MB / 186.7 MB Notification: Performance of FrontEnd: time 5.659e-06/0.2089, allocations: 7.984 kB / 219.9 MB, free: 8.648 MB / 186.7 MB Notification: Performance of Transformations before backend: time 2.095e-05/0.2089, allocations: 4 kB / 219.9 MB, free: 8.645 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.0009752/0.2099, allocations: 0.561 MB / 220.4 MB, free: 8.039 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.21, allocations: 8.031 kB / 220.4 MB, free: 8.031 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001003/0.2101, allocations: 39.56 kB / 220.5 MB, free: 7.992 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004179/0.2105, allocations: 260.4 kB / 220.7 MB, free: 7.699 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.917e-05/0.2106, allocations: 20.56 kB / 220.8 MB, free: 7.68 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.322e-05/0.2106, allocations: 24 kB / 220.8 MB, free: 7.656 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005789/0.2112, allocations: 240.9 kB / 221 MB, free: 7.414 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.2112, allocations: 0 / 221 MB, free: 7.414 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.148e-05/0.2113, allocations: 8 kB / 221 MB, free: 7.406 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.23e-05/0.2113, allocations: 11.95 kB / 221 MB, free: 7.395 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004837/0.2118, allocations: 178.2 kB / 221.2 MB, free: 7.219 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002208/0.214, allocations: 0.9919 MB / 222.2 MB, free: 6.156 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005558/0.2146, allocations: 199.3 kB / 222.4 MB, free: 5.953 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002809/0.2149, allocations: 109.2 kB / 222.5 MB, free: 5.844 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.2149, allocations: 192 / 222.5 MB, free: 5.844 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.853e-05/0.215, allocations: 42.7 kB / 222.5 MB, free: 5.793 MB / 186.7 MB Notification: Performance of pre-optimization done (n=21): time 2.219e-06/0.215, allocations: 0 / 222.5 MB, free: 5.793 MB / 186.7 MB Notification: Performance of matching and sorting (n=21): time 0.0006968/0.2157, allocations: 238.5 kB / 222.8 MB, free: 5.551 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.527e-05/0.2158, allocations: 55.41 kB / 222.8 MB, free: 5.484 MB / 186.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.0004464/0.2162, allocations: 247.9 kB / 223.1 MB, free: 5.238 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 3.774e-05/0.2163, allocations: 29.7 kB / 223.1 MB, free: 5.203 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001739/0.2165, allocations: 242.5 kB / 223.3 MB, free: 4.961 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.711e-05/0.2166, allocations: 63.02 kB / 223.4 MB, free: 4.898 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.719e-05/0.2166, allocations: 4 kB / 223.4 MB, free: 4.895 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.2168, allocations: 322.8 kB / 223.7 MB, free: 4.57 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000177/0.217, allocations: 68.28 kB / 223.8 MB, free: 4.5 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002012/0.2172, allocations: 87.5 kB / 223.9 MB, free: 4.406 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001874/0.2174, allocations: 63.98 kB / 223.9 MB, free: 4.344 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.012e-06/0.2174, allocations: 0 / 223.9 MB, free: 4.344 MB / 186.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006977/0.2181, allocations: 275 kB / 224.2 MB, free: 4.062 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.2181, allocations: 4 kB / 224.2 MB, free: 4.059 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.194e-06/0.2181, allocations: 0 / 224.2 MB, free: 4.059 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003423/0.2185, allocations: 77.73 kB / 224.3 MB, free: 3.977 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002745/0.2188, allocations: 47.86 kB / 224.3 MB, free: 3.93 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00501/0.2238, allocations: 2.831 MB / 227.2 MB, free: 0.8281 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006603/0.2245, allocations: 35.67 kB / 227.2 MB, free: 0.793 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.444e-05/0.2246, allocations: 4 kB / 227.2 MB, free: 0.7891 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.0002627/0.2249, allocations: 117 kB / 227.3 MB, free: 0.668 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001842/0.2251, allocations: 23.72 kB / 227.3 MB, free: 0.6445 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001409/0.2253, allocations: 37.91 kB / 227.4 MB, free: 0.6055 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.2253, allocations: 0 / 227.4 MB, free: 0.6055 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.764e-05/0.2253, allocations: 4 kB / 227.4 MB, free: 0.6016 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.043e-06/0.2254, allocations: 0 / 227.4 MB, free: 0.6016 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002664/0.228, allocations: 0.6459 MB / 228 MB, free: 15.89 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.593e-06/0.2281, allocations: 0 / 228 MB, free: 15.89 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000425/0.2285, allocations: 35.92 kB / 228.1 MB, free: 15.86 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006255/0.2292, allocations: 73.67 kB / 228.1 MB, free: 15.78 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.635e-05/0.2293, allocations: 3.938 kB / 228.1 MB, free: 15.77 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006289/0.2356, allocations: 2.828 MB / 231 MB, free: 12.68 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.229e-06/0.2356, allocations: 0 / 231 MB, free: 12.68 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00142/0.2371, allocations: 345.9 kB / 231.3 MB, free: 12.32 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003538/0.2375, allocations: 124.7 kB / 231.4 MB, free: 12.18 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.755e-05/0.2376, allocations: 4 kB / 231.4 MB, free: 12.18 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007891/0.2384, allocations: 39.97 kB / 231.5 MB, free: 12.14 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001438/0.2386, allocations: 15.98 kB / 231.5 MB, free: 12.12 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-05/0.2387, allocations: 7.984 kB / 231.5 MB, free: 12.11 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0005587/0.2392, allocations: 187.1 kB / 231.7 MB, free: 11.93 MB / 202.7 MB Notification: Performance of sort global known variables: time 1.344e-06/0.2393, allocations: 0 / 231.7 MB, free: 11.93 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.00128/0.2406, allocations: 95.84 kB / 231.8 MB, free: 11.84 MB / 202.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.0002936/0.2409, allocations: 107.2 kB / 231.9 MB, free: 11.72 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.001594/0.2425, allocations: 405 kB / 232.3 MB, free: 11.3 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 1.134e-05/0.2426, allocations: 4.125 kB / 232.3 MB, free: 11.3 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000994/0.2436, allocations: 332.2 kB / 232.6 MB, free: 10.95 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001424/0.245, allocations: 87.34 kB / 232.7 MB, free: 10.87 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001674/0.2468, allocations: 354.6 kB / 233 MB, free: 10.5 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008835/0.2477, allocations: 0.7765 MB / 233.8 MB, free: 9.695 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001806/0.2479, allocations: 19.44 kB / 233.8 MB, free: 9.676 MB / 202.7 MB Notification: Performance of SimCode: time 2.538e-06/0.2479, allocations: 0 / 233.8 MB, free: 9.676 MB / 202.7 MB Notification: Performance of Templates: time 0.0206/0.2685, allocations: 5.505 MB / 239.3 MB, free: 4.184 MB / 202.7 MB