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.HeatingRectifier.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.HeatingRectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Electrical.Analog.Examples.HeatingRectifier") Notification: Performance of loadModel(Modelica): time 1.039/1.039, allocations: 111.1 MB / 126.7 MB, free: 6.121 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002586/0.0002589, allocations: 4 kB / 158.2 MB, free: 15.21 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0447/0.04499, allocations: 25.17 MB / 183.4 MB, free: 5.992 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.003026/0.04806, allocations: 1.922 MB / 185.3 MB, free: 4.066 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.001197/0.0493, allocations: 0.5423 MB / 185.9 MB, free: 3.523 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001403/0.04946, allocations: 4 kB / 185.9 MB, free: 3.52 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 6.692e-05/0.04954, allocations: 27.83 kB / 185.9 MB, free: 3.492 MB / 154.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002925/0.04985, allocations: 91.72 kB / 186 MB, free: 3.402 MB / 154.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002113/0.05007, allocations: 59.88 kB / 186.1 MB, free: 3.344 MB / 154.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003153/0.05041, allocations: 195.6 kB / 186.3 MB, free: 3.152 MB / 154.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001818/0.0506, allocations: 64.78 kB / 186.3 MB, free: 3.09 MB / 154.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001869/0.0508, allocations: 91.69 kB / 186.4 MB, free: 3 MB / 154.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001821/0.051, allocations: 107.5 kB / 186.5 MB, free: 2.895 MB / 154.7 MB Notification: Performance of NFPackage.collectConstants: time 3.601e-05/0.05105, allocations: 12 kB / 186.5 MB, free: 2.883 MB / 154.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.74e-05/0.05116, allocations: 27.98 kB / 186.6 MB, free: 2.855 MB / 154.7 MB Notification: Performance of NFScalarize.scalarize: time 4.767e-05/0.05122, allocations: 35.84 kB / 186.6 MB, free: 2.82 MB / 154.7 MB Notification: Performance of NFVerifyModel.verify: time 7.606e-05/0.05131, allocations: 65.58 kB / 186.7 MB, free: 2.75 MB / 154.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003017/0.05162, allocations: 211.7 kB / 186.9 MB, free: 2.543 MB / 154.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.538e-06/0.05164, allocations: 0 / 186.9 MB, free: 2.543 MB / 154.7 MB Notification: Performance of FrontEnd: time 2.476e-06/0.05165, allocations: 0 / 186.9 MB, free: 2.543 MB / 154.7 MB Notification: Performance of Transformations before backend: time 6.729e-06/0.05167, allocations: 7.938 kB / 186.9 MB, free: 2.535 MB / 154.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0008797/0.05256, allocations: 0.4989 MB / 187.4 MB, free: 1.988 MB / 154.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.05261, allocations: 8.031 kB / 187.4 MB, free: 1.98 MB / 154.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.891e-05/0.0527, allocations: 27.72 kB / 187.4 MB, free: 1.953 MB / 154.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003409/0.05305, allocations: 231.3 kB / 187.6 MB, free: 1.684 MB / 154.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.856e-05/0.0531, allocations: 16.44 kB / 187.6 MB, free: 1.668 MB / 154.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.796e-05/0.05317, allocations: 20 kB / 187.7 MB, free: 1.648 MB / 154.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005393/0.05372, allocations: 237.8 kB / 187.9 MB, free: 1.406 MB / 154.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.05376, allocations: 0 / 187.9 MB, free: 1.406 MB / 154.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.01e-05/0.0538, allocations: 4 kB / 187.9 MB, free: 1.402 MB / 154.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.414e-05/0.05382, allocations: 11.95 kB / 187.9 MB, free: 1.391 MB / 154.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004565/0.05429, allocations: 157.7 kB / 188.1 MB, free: 1.238 MB / 154.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001889/0.05619, allocations: 1.006 MB / 189.1 MB, free: 128 kB / 154.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004462/0.05666, allocations: 150.7 kB / 189.2 MB, free: 15.96 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.954e-05/0.05671, allocations: 4 kB / 189.2 MB, free: 15.96 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.998e-05/0.05677, allocations: 38.56 kB / 189.3 MB, free: 15.91 MB / 170.7 MB Notification: Performance of pre-optimization done (n=17): time 3.686e-06/0.05678, allocations: 3.938 kB / 189.3 MB, free: 15.91 MB / 170.7 MB Notification: Performance of matching and sorting (n=17): time 0.001625/0.05841, allocations: 431.2 kB / 189.7 MB, free: 15.46 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.213e-05/0.0585, allocations: 63.39 kB / 189.7 MB, free: 15.39 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002569/0.05877, allocations: 179.1 kB / 189.9 MB, free: 15.2 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 3.301e-05/0.05881, allocations: 29.7 kB / 189.9 MB, free: 15.17 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/0.05898, allocations: 214.5 kB / 190.2 MB, free: 14.96 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.301e-05/0.05907, allocations: 59.09 kB / 190.2 MB, free: 14.9 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.632e-05/0.0591, allocations: 8 kB / 190.2 MB, free: 14.89 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.05927, allocations: 314.8 kB / 190.5 MB, free: 14.57 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000179/0.05946, allocations: 56.16 kB / 190.6 MB, free: 14.52 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000204/0.05968, allocations: 96.5 kB / 190.7 MB, free: 14.41 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002037/0.0599, allocations: 62.73 kB / 190.7 MB, free: 14.35 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.481e-06/0.05992, allocations: 4 kB / 190.7 MB, free: 14.35 MB / 170.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006401/0.06057, allocations: 238.2 kB / 191 MB, free: 14.11 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.06061, allocations: 10.61 kB / 191 MB, free: 14.1 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.06063, allocations: 3.984 kB / 191 MB, free: 14.09 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001542/0.06218, allocations: 228.7 kB / 191.2 MB, free: 13.87 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002122/0.06241, allocations: 31.98 kB / 191.2 MB, free: 13.84 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007038/0.06313, allocations: 0.6147 MB / 191.9 MB, free: 13.2 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002055/0.06336, allocations: 23.94 kB / 191.9 MB, free: 13.17 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.33e-05/0.0634, allocations: 8 kB / 191.9 MB, free: 13.16 MB / 170.7 MB Warning: Assuming fixed start value for the following 2 variables: HeatCapacitor1.T:VARIABLE(min = max(1.0, max(1.0, 1.0)) max = min(6000.0, min(6000.0, 6000.0)) start = 293.15 unit = "K" fixed = true nominal = 300.0 ) "Temperature of element" type: Real Capacitor1.v:VARIABLE(unit = "V" fixed = true ) "Voltage drop between the two pins (= p.v - n.v)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (17): * Single equations (assignments): 16 * 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 7} Notification: Performance of prepare postOptimizeDAE: time 0.0003133/0.06373, allocations: 146.2 kB / 192 MB, free: 13.01 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.669e-05/0.06381, allocations: 23.8 kB / 192.1 MB, free: 12.99 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006519/0.06447, allocations: 245.5 kB / 192.3 MB, free: 12.74 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.062e-06/0.0645, allocations: 4 kB / 192.3 MB, free: 12.74 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.764e-06/0.06452, allocations: 0 / 192.3 MB, free: 12.74 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.873e-06/0.06453, allocations: 3.984 kB / 192.3 MB, free: 12.73 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004744/0.06502, allocations: 289.4 kB / 192.6 MB, free: 12.4 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.06504, allocations: 4 kB / 192.6 MB, free: 12.4 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002191/0.06527, allocations: 35.97 kB / 192.6 MB, free: 12.36 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001401/0.06669, allocations: 216.6 kB / 192.8 MB, free: 12.15 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.762e-05/0.06673, allocations: 7.984 kB / 192.8 MB, free: 12.14 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007011/0.06745, allocations: 0.6225 MB / 193.5 MB, free: 11.49 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.406e-06/0.06747, allocations: 3.938 kB / 193.5 MB, free: 11.49 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008496/0.06833, allocations: 399.4 kB / 193.9 MB, free: 11.08 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001491/0.0685, allocations: 104.8 kB / 194 MB, free: 10.96 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.023e-05/0.06855, allocations: 4 kB / 194 MB, free: 10.96 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002189/0.06878, allocations: 15.98 kB / 194 MB, free: 10.94 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.258e-05/0.06885, allocations: 7.984 kB / 194 MB, free: 10.93 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.128e-05/0.06888, allocations: 7.953 kB / 194 MB, free: 10.93 MB / 170.7 MB Notification: Performance of sorting global known variables: time 0.0001682/0.06906, allocations: 141.1 kB / 194.1 MB, free: 10.79 MB / 170.7 MB Notification: Performance of sort global known variables: time 7.7e-07/0.06907, allocations: 0 / 194.1 MB, free: 10.79 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.0004499/0.06954, allocations: 63.91 kB / 194.2 MB, free: 10.73 MB / 170.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Capacitor1.v,HeatCapacitor1.T) * 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 (10): * Single equations (assignments): 9 * 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 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001941/0.06974, allocations: 119.2 kB / 194.3 MB, free: 10.6 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.000566/0.07033, allocations: 167.8 kB / 194.5 MB, free: 10.43 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 3.238e-06/0.07035, allocations: 0 / 194.5 MB, free: 10.43 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000282/0.07064, allocations: 96.08 kB / 194.6 MB, free: 10.34 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004595/0.07112, allocations: 36.16 kB / 194.6 MB, free: 10.3 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001337/0.07248, allocations: 0.7025 MB / 195.3 MB, free: 9.578 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004577/0.07296, allocations: 0.7555 MB / 196.1 MB, free: 8.797 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.983e-05/0.07303, allocations: 15.44 kB / 196.1 MB, free: 8.785 MB / 170.7 MB Notification: Performance of SimCode: time 1.512e-06/0.07305, allocations: 0 / 196.1 MB, free: 8.785 MB / 170.7 MB Notification: Performance of Templates: time 0.006884/0.07994, allocations: 3.124 MB / 199.2 MB, free: 5.656 MB / 170.7 MB