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.HeatingResistor.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.HeatingResistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Electrical.Analog.Examples.HeatingResistor") Notification: Performance of loadModel(Modelica): time 0.9812/0.9812, allocations: 111.1 MB / 126.7 MB, free: 6.125 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002622/0.0002623, allocations: 4 kB / 158.3 MB, free: 15.19 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04603/0.04631, allocations: 25.17 MB / 183.5 MB, free: 5.98 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1724/0.2188, allocations: 35.36 MB / 218.9 MB, free: 6.312 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001878/0.219, allocations: 66.17 kB / 218.9 MB, free: 6.301 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008442/0.2274, allocations: 2.6 MB / 221.5 MB, free: 5.195 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.078e-06/0.2275, allocations: 0 / 221.5 MB, free: 5.195 MB / 170.7 MB Notification: Performance of Transformations before backend: time 1.308e-05/0.2275, allocations: 3.844 kB / 221.5 MB, free: 5.195 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0004429/0.228, allocations: 424 kB / 221.9 MB, free: 4.785 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.228, allocations: 15.53 kB / 222 MB, free: 4.781 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.129e-05/0.2281, allocations: 15.5 kB / 222 MB, free: 4.773 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001885/0.2283, allocations: 201 kB / 222.2 MB, free: 4.562 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.2283, allocations: 8.016 kB / 222.2 MB, free: 4.559 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.598e-05/0.2283, allocations: 11.28 kB / 222.2 MB, free: 4.559 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002666/0.2286, allocations: 118.8 kB / 222.3 MB, free: 4.508 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.2286, allocations: 0 / 222.3 MB, free: 4.508 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.097e-05/0.2287, allocations: 11.17 kB / 222.3 MB, free: 4.504 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.056e-06/0.2287, allocations: 3.984 kB / 222.3 MB, free: 4.5 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002353/0.2289, allocations: 86.44 kB / 222.4 MB, free: 4.484 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008532/0.2298, allocations: 0.6161 MB / 223 MB, free: 3.961 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003171/0.2301, allocations: 82.78 kB / 223.1 MB, free: 3.93 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.377e-05/0.2302, allocations: 0 / 223.1 MB, free: 3.93 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.746e-05/0.2302, allocations: 39.81 kB / 223.1 MB, free: 3.887 MB / 170.7 MB Notification: Performance of pre-optimization done (n=6): time 1.929e-06/0.2302, allocations: 4 kB / 223.1 MB, free: 3.883 MB / 170.7 MB Notification: Performance of matching and sorting (n=6): time 0.000727/0.2309, allocations: 260.2 kB / 223.4 MB, free: 3.711 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.994e-05/0.231, allocations: 55.39 kB / 223.4 MB, free: 3.645 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.2311, allocations: 131.3 kB / 223.6 MB, free: 3.543 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.2311, allocations: 29.55 kB / 223.6 MB, free: 3.512 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.591e-05/0.2312, allocations: 184.9 kB / 223.8 MB, free: 3.34 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.909e-05/0.2312, allocations: 22.75 kB / 223.8 MB, free: 3.324 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.899e-06/0.2313, allocations: 0 / 223.8 MB, free: 3.324 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 4.71e-05/0.2313, allocations: 318 kB / 224.1 MB, free: 3.008 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.608e-05/0.2314, allocations: 30.05 kB / 224.1 MB, free: 3 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.978e-05/0.2315, allocations: 40.69 kB / 224.2 MB, free: 2.973 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.573e-05/0.2316, allocations: 34.25 kB / 224.2 MB, free: 2.965 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.476e-06/0.2316, allocations: 3.938 kB / 224.2 MB, free: 2.961 MB / 170.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003467/0.232, allocations: 143.8 kB / 224.4 MB, free: 2.891 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.232, allocations: 7.781 kB / 224.4 MB, free: 2.891 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.152e-06/0.232, allocations: 0 / 224.4 MB, free: 2.891 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002016/0.2323, allocations: 30.91 kB / 224.4 MB, free: 2.879 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.504e-05/0.2323, allocations: 15.36 kB / 224.4 MB, free: 2.875 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001464/0.2338, allocations: 1.58 MB / 226 MB, free: 1.398 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.2339, allocations: 15.22 kB / 226 MB, free: 1.391 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/0.234, allocations: 3.922 kB / 226 MB, free: 1.391 MB / 170.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 (5): * Single equations (assignments): 4 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 9.698e-05/0.2341, allocations: 127.7 kB / 226.1 MB, free: 1.27 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.668e-05/0.2341, allocations: 23.55 kB / 226.2 MB, free: 1.254 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.242e-05/0.2342, allocations: 8.156 kB / 226.2 MB, free: 1.254 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.14e-06/0.2342, allocations: 3.844 kB / 226.2 MB, free: 1.254 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.973e-06/0.2342, allocations: 0 / 226.2 MB, free: 1.254 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.189e-06/0.2342, allocations: 0 / 226.2 MB, free: 1.254 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002239/0.2345, allocations: 213 kB / 226.4 MB, free: 1.043 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.523e-06/0.2345, allocations: 3.844 kB / 226.4 MB, free: 1.043 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.634e-05/0.2345, allocations: 7.828 kB / 226.4 MB, free: 1.039 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001678/0.2347, allocations: 31.25 kB / 226.4 MB, free: 1.027 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.2347, allocations: 11.94 kB / 226.4 MB, free: 1.016 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001412/0.2362, allocations: 1.565 MB / 228 MB, free: 15.55 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.2362, allocations: 128 / 228 MB, free: 15.55 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000405/0.2366, allocations: 226.5 kB / 228.2 MB, free: 15.38 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.239e-05/0.2367, allocations: 95.59 kB / 228.3 MB, free: 15.28 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.929e-05/0.2368, allocations: 4.062 kB / 228.3 MB, free: 15.27 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000137/0.2369, allocations: 7.719 kB / 228.3 MB, free: 15.27 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.166e-05/0.237, allocations: 7.797 kB / 228.3 MB, free: 15.27 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.078e-06/0.237, allocations: 0 / 228.3 MB, free: 15.27 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001137/0.2371, allocations: 119.8 kB / 228.5 MB, free: 15.18 MB / 186.7 MB Notification: Performance of sort global known variables: time 7.56e-07/0.2371, allocations: 0 / 228.5 MB, free: 15.18 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0004984/0.2376, allocations: 49.5 kB / 228.5 MB, free: 15.18 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 (2): * Single equations (assignments): 1 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001511/0.2378, allocations: 102.6 kB / 228.6 MB, free: 15.09 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0004664/0.2383, allocations: 192.3 kB / 228.8 MB, free: 14.96 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.319e-06/0.2383, allocations: 0 / 228.8 MB, free: 14.96 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002747/0.2386, allocations: 167.4 kB / 229 MB, free: 14.82 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002951/0.2389, allocations: 23.8 kB / 229 MB, free: 14.82 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006325/0.2395, allocations: 371.3 kB / 229.3 MB, free: 14.53 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003974/0.24, allocations: 0.7188 MB / 230.1 MB, free: 13.8 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.049e-05/0.24, allocations: 11.34 kB / 230.1 MB, free: 13.8 MB / 186.7 MB Notification: Performance of SimCode: time 1.341e-06/0.24, allocations: 0 / 230.1 MB, free: 13.8 MB / 186.7 MB Notification: Performance of Templates: time 0.004138/0.2442, allocations: 1.902 MB / 232 MB, free: 12.85 MB / 186.7 MB