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.9315/0.9315, allocations: 111.2 MB / 124.2 MB, free: 11.15 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.355e-05/2.37e-05, allocations: 4 kB / 154.3 MB, free: 13.13 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1357, allocations: 25.15 MB / 179.4 MB, free: 0.7969 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09648/0.2322, allocations: 35.27 MB / 214.7 MB, free: 13.84 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002093/0.2325, allocations: 63.97 kB / 214.8 MB, free: 13.77 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009626/0.2421, allocations: 2.593 MB / 217.4 MB, free: 11.17 MB / 186.7 MB Notification: Performance of FrontEnd: time 4.767e-06/0.2422, allocations: 0 / 217.4 MB, free: 11.17 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.838e-05/0.2422, allocations: 11.92 kB / 217.4 MB, free: 11.16 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005418/0.2427, allocations: 406.4 kB / 217.8 MB, free: 10.71 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.2428, allocations: 8.031 kB / 217.8 MB, free: 10.7 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.557e-05/0.2429, allocations: 15.81 kB / 217.8 MB, free: 10.69 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002722/0.2432, allocations: 198.8 kB / 218 MB, free: 10.45 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.2432, allocations: 12.23 kB / 218 MB, free: 10.44 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.636e-05/0.2432, allocations: 12 kB / 218 MB, free: 10.43 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002646/0.2435, allocations: 107.5 kB / 218.1 MB, free: 10.32 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.496e-06/0.2435, allocations: 3.938 kB / 218.1 MB, free: 10.32 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.289e-05/0.2436, allocations: 7.953 kB / 218.1 MB, free: 10.31 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/0.2436, allocations: 7.984 kB / 218.1 MB, free: 10.3 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001972/0.2438, allocations: 68.64 kB / 218.2 MB, free: 10.23 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001126/0.2449, allocations: 0.6058 MB / 218.8 MB, free: 9.551 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003153/0.2453, allocations: 86.56 kB / 218.9 MB, free: 9.457 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.784e-05/0.2454, allocations: 24.98 kB / 218.9 MB, free: 9.43 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.214e-05/0.2454, allocations: 0 / 218.9 MB, free: 9.43 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.759e-05/0.2454, allocations: 43.2 kB / 219 MB, free: 9.379 MB / 186.7 MB Notification: Performance of pre-optimization done (n=6): time 1.958e-06/0.2455, allocations: 0 / 219 MB, free: 9.379 MB / 186.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003747/0.2458, allocations: 102.4 kB / 219.1 MB, free: 9.27 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/0.2459, allocations: 55.41 kB / 219.1 MB, free: 9.203 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001743/0.2461, allocations: 140.2 kB / 219.2 MB, free: 9.059 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 2.8e-05/0.2461, allocations: 29.7 kB / 219.3 MB, free: 9.023 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.2463, allocations: 182.2 kB / 219.5 MB, free: 8.844 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.231e-05/0.2463, allocations: 27.64 kB / 219.5 MB, free: 8.816 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.183e-06/0.2463, allocations: 0 / 219.5 MB, free: 8.816 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.2465, allocations: 318.8 kB / 219.8 MB, free: 8.496 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.686e-05/0.2466, allocations: 16 kB / 219.8 MB, free: 8.48 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.242e-05/0.2466, allocations: 42.56 kB / 219.8 MB, free: 8.43 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.034e-05/0.2467, allocations: 23.94 kB / 219.9 MB, free: 8.406 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.447e-06/0.2467, allocations: 0 / 219.9 MB, free: 8.406 MB / 186.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003393/0.2471, allocations: 118.4 kB / 220 MB, free: 8.281 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.2471, allocations: 8 kB / 220 MB, free: 8.273 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.2471, allocations: 0 / 220 MB, free: 8.273 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002087/0.2474, allocations: 36.91 kB / 220 MB, free: 8.234 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.755e-05/0.2475, allocations: 19.92 kB / 220 MB, free: 8.215 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001995/0.2495, allocations: 1.568 MB / 221.6 MB, free: 6.492 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.2496, allocations: 12.03 kB / 221.6 MB, free: 6.48 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.448e-05/0.2496, allocations: 4.062 kB / 221.6 MB, free: 6.477 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 (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.473e-05/0.2497, allocations: 116.9 kB / 221.7 MB, free: 6.355 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.399e-05/0.2498, allocations: 15.86 kB / 221.8 MB, free: 6.34 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.028e-05/0.2499, allocations: 8.625 kB / 221.8 MB, free: 6.332 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.2499, allocations: 0 / 221.8 MB, free: 6.332 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.474e-06/0.2499, allocations: 4 kB / 221.8 MB, free: 6.328 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.198e-06/0.2499, allocations: 0 / 221.8 MB, free: 6.328 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003263/0.2502, allocations: 209.6 kB / 222 MB, free: 6.074 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.2502, allocations: 0 / 222 MB, free: 6.074 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.81e-05/0.2503, allocations: 11.98 kB / 222 MB, free: 6.062 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001721/0.2505, allocations: 36.84 kB / 222 MB, free: 6.023 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.2505, allocations: 3.953 kB / 222 MB, free: 6.02 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001774/0.2523, allocations: 1.565 MB / 223.6 MB, free: 4.312 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/0.2523, allocations: 4.031 kB / 223.6 MB, free: 4.309 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003584/0.2527, allocations: 204.2 kB / 223.8 MB, free: 4.09 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.27e-05/0.2528, allocations: 97.06 kB / 223.9 MB, free: 3.977 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.883e-05/0.2529, allocations: 0 / 223.9 MB, free: 3.977 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001466/0.253, allocations: 8 kB / 223.9 MB, free: 3.969 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.546e-05/0.2531, allocations: 7.984 kB / 223.9 MB, free: 3.961 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.32e-05/0.2531, allocations: 11.89 kB / 223.9 MB, free: 3.949 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001174/0.2532, allocations: 113 kB / 224 MB, free: 3.84 MB / 186.7 MB Notification: Performance of sort global known variables: time 8.17e-07/0.2532, allocations: 0 / 224 MB, free: 3.84 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0005001/0.2537, allocations: 43.84 kB / 224.1 MB, free: 3.797 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 (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.0001605/0.2539, allocations: 112.8 kB / 224.2 MB, free: 3.68 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.000396/0.2543, allocations: 170.6 kB / 224.4 MB, free: 3.5 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.2544, allocations: 0 / 224.4 MB, free: 3.5 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002556/0.2546, allocations: 154.5 kB / 224.5 MB, free: 3.336 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003032/0.255, allocations: 27.03 kB / 224.5 MB, free: 3.312 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004108/0.2554, allocations: 164.5 kB / 224.7 MB, free: 3.125 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004004/0.2558, allocations: 0.7121 MB / 225.4 MB, free: 2.387 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.598e-05/0.2558, allocations: 11.44 kB / 225.4 MB, free: 2.375 MB / 186.7 MB Notification: Performance of SimCode: time 1.39e-06/0.2559, allocations: 4 kB / 225.4 MB, free: 2.371 MB / 186.7 MB Notification: Performance of Templates: time 0.00447/0.2603, allocations: 1.911 MB / 227.3 MB, free: 472 kB / 186.7 MB