Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.HeatingResistor.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingResistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heatingResistor.i|heatingResistor.LossPower",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.HeatingResistor") Notification: Performance of loadModel(Modelica): time 1.721/1.721, allocations: 171.2 MB / 187.3 MB, free: 1.047 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003493/0.0003495, allocations: 8 kB / 233.8 MB, free: 3.07 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08317/0.08355, allocations: 38.78 MB / 272.5 MB, free: 12.21 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3517/0.4353, allocations: 67.79 MB / 340.3 MB, free: 6.152 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000238/0.4356, allocations: 75.7 kB / 340.4 MB, free: 6.113 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01108/0.4467, allocations: 2.732 MB / 343.1 MB, free: 3.77 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.4467, allocations: 0 / 343.1 MB, free: 3.77 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.131e-05/0.4468, allocations: 8 kB / 343.2 MB, free: 3.762 MB / 266.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.0006409/0.4474, allocations: 429 kB / 343.6 MB, free: 3.301 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.4475, allocations: 8.031 kB / 343.6 MB, free: 3.293 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001124/0.4476, allocations: 19.83 kB / 343.6 MB, free: 3.273 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002578/0.4479, allocations: 206.5 kB / 343.8 MB, free: 3.043 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.4479, allocations: 12.06 kB / 343.8 MB, free: 3.035 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.116e-05/0.4479, allocations: 15.75 kB / 343.8 MB, free: 3.023 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003374/0.4483, allocations: 112 kB / 343.9 MB, free: 2.938 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.4483, allocations: 0 / 343.9 MB, free: 2.938 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.335e-05/0.4483, allocations: 7.438 kB / 343.9 MB, free: 2.934 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.4484, allocations: 0 / 343.9 MB, free: 2.934 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003028/0.4487, allocations: 85.22 kB / 344 MB, free: 2.875 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00109/0.4498, allocations: 0.5399 MB / 344.6 MB, free: 2.344 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000424/0.4502, allocations: 93.48 kB / 344.7 MB, free: 2.262 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/0.4503, allocations: 0 / 344.7 MB, free: 2.262 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.4503, allocations: 34.56 kB / 344.7 MB, free: 2.219 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.4503, allocations: 0 / 344.7 MB, free: 2.219 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.001049/0.4514, allocations: 262.2 kB / 345 MB, free: 1.965 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/0.4514, allocations: 55.36 kB / 345 MB, free: 1.898 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001775/0.4516, allocations: 151.2 kB / 345.2 MB, free: 1.75 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/0.4516, allocations: 32.64 kB / 345.2 MB, free: 1.715 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.4518, allocations: 189.4 kB / 345.4 MB, free: 1.535 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.814e-05/0.4518, allocations: 23.39 kB / 345.4 MB, free: 1.516 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.974e-06/0.4518, allocations: 0 / 345.4 MB, free: 1.516 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.4519, allocations: 318.4 kB / 345.7 MB, free: 1.199 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001062/0.4521, allocations: 22.98 kB / 345.7 MB, free: 1.184 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.4522, allocations: 47.23 kB / 345.8 MB, free: 1.137 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001236/0.4523, allocations: 34.34 kB / 345.8 MB, free: 1.113 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.4524, allocations: 0 / 345.8 MB, free: 1.113 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004624/0.4528, allocations: 143.8 kB / 345.9 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.4529, allocations: 4 kB / 346 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.4529, allocations: 0 / 346 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002709/0.4532, allocations: 39.39 kB / 346 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.859e-05/0.4533, allocations: 8 kB / 346 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002019/0.4553, allocations: 1.528 MB / 347.5 MB, free: 15.38 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001321/0.4555, allocations: 8 kB / 347.5 MB, free: 15.37 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.4555, allocations: 4.062 kB / 347.5 MB, free: 15.37 MB / 282.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.0001559/0.4557, allocations: 131.1 kB / 347.7 MB, free: 15.24 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.199e-05/0.4557, allocations: 7.906 kB / 347.7 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.932e-05/0.4558, allocations: 12.58 kB / 347.7 MB, free: 15.22 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.4558, allocations: 4 kB / 347.7 MB, free: 15.22 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.235e-06/0.4558, allocations: 0 / 347.7 MB, free: 15.22 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.4558, allocations: 0 / 347.7 MB, free: 15.22 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002996/0.4561, allocations: 217.5 kB / 347.9 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.4561, allocations: 0 / 347.9 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.478e-05/0.4562, allocations: 8 kB / 347.9 MB, free: 14.97 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002097/0.4564, allocations: 39.64 kB / 347.9 MB, free: 14.94 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.4564, allocations: 0 / 347.9 MB, free: 14.94 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001744/0.4582, allocations: 1.517 MB / 349.5 MB, free: 13.4 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.4582, allocations: 0 / 349.5 MB, free: 13.4 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004735/0.4587, allocations: 220.7 kB / 349.7 MB, free: 13.19 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.463e-05/0.4588, allocations: 92.25 kB / 349.8 MB, free: 13.08 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.561e-05/0.4588, allocations: 3.953 kB / 349.8 MB, free: 13.08 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001615/0.459, allocations: 7.984 kB / 349.8 MB, free: 13.07 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.225e-05/0.4591, allocations: 7.438 kB / 349.8 MB, free: 13.07 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.4591, allocations: 7.938 kB / 349.8 MB, free: 13.06 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001142/0.4592, allocations: 114.2 kB / 349.9 MB, free: 12.96 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.4592, allocations: 0 / 349.9 MB, free: 12.96 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00047/0.4597, allocations: 43.41 kB / 350 MB, free: 12.92 MB / 282.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.0001356/0.4599, allocations: 99.25 kB / 350 MB, free: 12.81 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005186/0.4604, allocations: 184.6 kB / 350.2 MB, free: 12.64 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4604, allocations: 4 kB / 350.2 MB, free: 12.63 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003155/0.4607, allocations: 164.4 kB / 350.4 MB, free: 12.47 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002666/0.461, allocations: 17.02 kB / 350.4 MB, free: 12.46 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007256/0.4618, allocations: 373.5 kB / 350.8 MB, free: 12.08 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003392/0.4621, allocations: 0.7199 MB / 351.5 MB, free: 11.34 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.245e-05/0.4622, allocations: 11.44 kB / 351.5 MB, free: 11.32 MB / 282.7 MB Notification: Performance of SimCode: time 9.22e-07/0.4622, allocations: 0 / 351.5 MB, free: 11.32 MB / 282.7 MB Notification: Performance of Templates: time 0.004924/0.4671, allocations: 1.837 MB / 353.3 MB, free: 9.5 MB / 282.7 MB