Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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 1.065/1.065, allocations: 111.1 MB / 127.3 MB, free: 6.141 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002711/0.0002714, allocations: 4 kB / 158.9 MB, free: 15.23 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05207/0.05238, allocations: 25.16 MB / 184 MB, free: 6.023 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2143/0.2668, allocations: 35.35 MB / 219.4 MB, free: 6.344 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002491/0.2671, allocations: 68.44 kB / 219.5 MB, free: 6.336 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009969/0.2771, allocations: 2.594 MB / 222 MB, free: 5.23 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.2771, allocations: 0 / 222 MB, free: 5.23 MB / 170.7 MB Notification: Performance of Transformations before backend: time 1.526e-05/0.2771, allocations: 3.812 kB / 222.1 MB, free: 5.23 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.0006117/0.2778, allocations: 431.2 kB / 222.5 MB, free: 4.816 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.2778, allocations: 11.47 kB / 222.5 MB, free: 4.816 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.203e-05/0.2779, allocations: 15.53 kB / 222.5 MB, free: 4.809 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002386/0.2781, allocations: 201.1 kB / 222.7 MB, free: 4.594 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.2782, allocations: 7.828 kB / 222.7 MB, free: 4.594 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.008e-05/0.2782, allocations: 11.31 kB / 222.7 MB, free: 4.594 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003519/0.2786, allocations: 127.8 kB / 222.8 MB, free: 4.535 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.2786, allocations: 0 / 222.8 MB, free: 4.535 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.457e-05/0.2787, allocations: 7.578 kB / 222.8 MB, free: 4.531 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.2787, allocations: 3.875 kB / 222.8 MB, free: 4.531 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002834/0.279, allocations: 84.59 kB / 222.9 MB, free: 4.52 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00116/0.2801, allocations: 0.6112 MB / 223.5 MB, free: 3.996 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000402/0.2806, allocations: 84.97 kB / 223.6 MB, free: 3.961 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/0.2806, allocations: 7.844 kB / 223.6 MB, free: 3.957 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.2806, allocations: 33.56 kB / 223.7 MB, free: 3.918 MB / 170.7 MB Notification: Performance of pre-optimization done (n=6): time 2.154e-06/0.2807, allocations: 0 / 223.7 MB, free: 3.918 MB / 170.7 MB Notification: Performance of matching and sorting (n=6): time 0.0009965/0.2817, allocations: 263.8 kB / 223.9 MB, free: 3.742 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.683e-05/0.2817, allocations: 51.41 kB / 224 MB, free: 3.68 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.2819, allocations: 142.2 kB / 224.1 MB, free: 3.57 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.2819, allocations: 28.89 kB / 224.1 MB, free: 3.539 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.88e-05/0.282, allocations: 188.5 kB / 224.3 MB, free: 3.363 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.315e-05/0.282, allocations: 27.31 kB / 224.4 MB, free: 3.344 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.913e-06/0.282, allocations: 0 / 224.4 MB, free: 3.344 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 5.955e-05/0.2821, allocations: 322.1 kB / 224.7 MB, free: 3.027 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001007/0.2822, allocations: 22.98 kB / 224.7 MB, free: 3.023 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/0.2824, allocations: 52.12 kB / 224.7 MB, free: 2.988 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001191/0.2825, allocations: 40.28 kB / 224.8 MB, free: 2.977 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.2825, allocations: 0 / 224.8 MB, free: 2.977 MB / 170.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004385/0.283, allocations: 121 kB / 224.9 MB, free: 2.922 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.283, allocations: 7.531 kB / 224.9 MB, free: 2.922 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.283, allocations: 3.984 kB / 224.9 MB, free: 2.918 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002659/0.2833, allocations: 38.5 kB / 224.9 MB, free: 2.902 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.944e-05/0.2834, allocations: 19.3 kB / 225 MB, free: 2.895 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001708/0.2851, allocations: 1.583 MB / 226.5 MB, free: 1.422 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001415/0.2853, allocations: 15.44 kB / 226.6 MB, free: 1.418 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.2853, allocations: 4.062 kB / 226.6 MB, free: 1.414 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 0.0001265/0.2855, allocations: 124.4 kB / 226.7 MB, free: 1.297 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.199e-05/0.2855, allocations: 11.39 kB / 226.7 MB, free: 1.289 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.799e-05/0.2855, allocations: 19.14 kB / 226.7 MB, free: 1.281 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.2856, allocations: 0 / 226.7 MB, free: 1.281 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.2856, allocations: 0 / 226.7 MB, free: 1.281 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.2856, allocations: 0 / 226.7 MB, free: 1.281 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002435/0.2858, allocations: 213.6 kB / 226.9 MB, free: 1.07 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.2858, allocations: 0 / 226.9 MB, free: 1.07 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.268e-05/0.2859, allocations: 11.86 kB / 226.9 MB, free: 1.062 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002056/0.2861, allocations: 39.47 kB / 227 MB, free: 1.047 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.2862, allocations: 3.953 kB / 227 MB, free: 1.043 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001629/0.2878, allocations: 1.576 MB / 228.6 MB, free: 15.57 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.2878, allocations: 0 / 228.6 MB, free: 15.57 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004951/0.2883, allocations: 231.7 kB / 228.8 MB, free: 15.4 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.78e-05/0.2885, allocations: 88.84 kB / 228.9 MB, free: 15.3 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.318e-05/0.2885, allocations: 3.75 kB / 228.9 MB, free: 15.3 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001642/0.2887, allocations: 7.469 kB / 228.9 MB, free: 15.3 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.532e-05/0.2887, allocations: 4.172 kB / 228.9 MB, free: 15.3 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.2888, allocations: 7.734 kB / 228.9 MB, free: 15.29 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.000129/0.2889, allocations: 120 kB / 229 MB, free: 15.2 MB / 186.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.2889, allocations: 0 / 229 MB, free: 15.2 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0005096/0.2894, allocations: 49.91 kB / 229.1 MB, free: 15.2 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.0002082/0.2897, allocations: 101.7 kB / 229.2 MB, free: 15.11 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0005899/0.2903, allocations: 191.8 kB / 229.3 MB, free: 14.98 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.2903, allocations: 4 kB / 229.3 MB, free: 14.97 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003035/0.2906, allocations: 162.8 kB / 229.5 MB, free: 14.84 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003726/0.291, allocations: 22.83 kB / 229.5 MB, free: 14.84 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000734/0.2917, allocations: 367 kB / 229.9 MB, free: 14.55 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003479/0.2921, allocations: 0.7186 MB / 230.6 MB, free: 13.83 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.958e-05/0.2922, allocations: 11.25 kB / 230.6 MB, free: 13.82 MB / 186.7 MB Notification: Performance of SimCode: time 7.91e-07/0.2922, allocations: 0 / 230.6 MB, free: 13.82 MB / 186.7 MB Notification: Performance of Templates: time 0.005106/0.2973, allocations: 1.906 MB / 232.5 MB, free: 12.87 MB / 186.7 MB