Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_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_Modelica.Electrical.Analog.Examples.HeatingResistor") Notification: Performance of loadModel(Modelica): time 1.869/1.869, allocations: 171.1 MB / 186.7 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005412/0.0005414, allocations: 8 kB / 233.8 MB, free: 2.402 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09164/0.09223, allocations: 38.77 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3602/0.4525, allocations: 67.8 MB / 340.4 MB, free: 5.539 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002664/0.4528, allocations: 76.81 kB / 340.5 MB, free: 5.5 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01138/0.4642, allocations: 2.74 MB / 343.2 MB, free: 3.152 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4642, allocations: 0 / 343.2 MB, free: 3.152 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.452e-05/0.4643, allocations: 0 / 343.2 MB, free: 3.152 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.0007086/0.465, allocations: 432.2 kB / 343.7 MB, free: 2.688 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.465, allocations: 8.031 kB / 343.7 MB, free: 2.68 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001188/0.4652, allocations: 15.91 kB / 343.7 MB, free: 2.664 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002859/0.4655, allocations: 206.8 kB / 343.9 MB, free: 2.434 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.4655, allocations: 11.94 kB / 343.9 MB, free: 2.426 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.215e-05/0.4656, allocations: 11.81 kB / 343.9 MB, free: 2.418 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003452/0.4659, allocations: 117.2 kB / 344 MB, free: 2.328 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.4659, allocations: 3.938 kB / 344 MB, free: 2.324 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.564e-05/0.466, allocations: 7.375 kB / 344 MB, free: 2.32 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.466, allocations: 0 / 344 MB, free: 2.32 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003055/0.4663, allocations: 80.61 kB / 344.1 MB, free: 2.266 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001099/0.4674, allocations: 0.5429 MB / 344.6 MB, free: 1.73 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00041/0.4678, allocations: 88.19 kB / 344.7 MB, free: 1.652 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.4679, allocations: 0 / 344.7 MB, free: 1.652 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/0.4679, allocations: 41.81 kB / 344.8 MB, free: 1.605 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.633e-06/0.4679, allocations: 0 / 344.8 MB, free: 1.605 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.001018/0.469, allocations: 260.4 kB / 345 MB, free: 1.352 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.805e-05/0.469, allocations: 55.36 kB / 345.1 MB, free: 1.285 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001776/0.4692, allocations: 151.5 kB / 345.2 MB, free: 1.141 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.4693, allocations: 25.7 kB / 345.3 MB, free: 1.109 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.066e-05/0.4694, allocations: 131.7 kB / 345.4 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.018e-05/0.4694, allocations: 30.83 kB / 345.4 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.133e-06/0.4694, allocations: 0 / 345.4 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.4696, allocations: 313.5 kB / 345.7 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001088/0.4697, allocations: 29.3 kB / 345.8 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001247/0.4698, allocations: 40.88 kB / 345.8 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001209/0.4699, allocations: 37.34 kB / 345.8 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.47, allocations: 0 / 345.8 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004892/0.4705, allocations: 145.2 kB / 346 MB, free: 448 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.4705, allocations: 4 kB / 346 MB, free: 444 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.4705, allocations: 4.062 kB / 346 MB, free: 440 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002605/0.4708, allocations: 45.33 kB / 346 MB, free: 400 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.901e-05/0.4709, allocations: 11.98 kB / 346 MB, free: 388 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00204/0.473, allocations: 1.521 MB / 347.6 MB, free: 14.83 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000136/0.4731, allocations: 11.84 kB / 347.6 MB, free: 14.82 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.4732, allocations: 0 / 347.6 MB, free: 14.82 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.000161/0.4733, allocations: 128.4 kB / 347.7 MB, free: 14.69 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.591e-05/0.4734, allocations: 11.59 kB / 347.7 MB, free: 14.68 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.251e-05/0.4734, allocations: 20.02 kB / 347.7 MB, free: 14.66 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.4734, allocations: 0 / 347.7 MB, free: 14.66 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.4735, allocations: 0 / 347.7 MB, free: 14.66 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.4735, allocations: 0 / 347.7 MB, free: 14.66 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003116/0.4738, allocations: 214.4 kB / 347.9 MB, free: 14.43 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-06/0.4738, allocations: 0 / 347.9 MB, free: 14.43 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.995e-05/0.4739, allocations: 12.11 kB / 347.9 MB, free: 14.41 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002191/0.4741, allocations: 36.34 kB / 348 MB, free: 14.38 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.4741, allocations: 3.312 kB / 348 MB, free: 14.38 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001806/0.476, allocations: 1.514 MB / 349.5 MB, free: 12.84 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.476, allocations: 0 / 349.5 MB, free: 12.84 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005175/0.4765, allocations: 222.6 kB / 349.7 MB, free: 12.63 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.575e-05/0.4766, allocations: 92.45 kB / 349.8 MB, free: 12.53 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.586e-05/0.4767, allocations: 3.953 kB / 349.8 MB, free: 12.52 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001708/0.4769, allocations: 11.98 kB / 349.8 MB, free: 12.51 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.997e-05/0.4769, allocations: 7.422 kB / 349.8 MB, free: 12.51 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.477, allocations: 4.188 kB / 349.8 MB, free: 12.5 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001188/0.4771, allocations: 105.5 kB / 349.9 MB, free: 12.41 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.7e-07/0.4771, allocations: 7.875 kB / 349.9 MB, free: 12.4 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005076/0.4776, allocations: 39.31 kB / 350 MB, free: 12.37 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.0001502/0.4778, allocations: 103.2 kB / 350.1 MB, free: 12.25 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006029/0.4784, allocations: 197.9 kB / 350.3 MB, free: 12.07 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.4784, allocations: 0 / 350.3 MB, free: 12.07 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003142/0.4787, allocations: 160.2 kB / 350.4 MB, free: 11.91 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002684/0.479, allocations: 11.3 kB / 350.4 MB, free: 11.91 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007671/0.4798, allocations: 340.8 kB / 350.8 MB, free: 11.56 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003555/0.4802, allocations: 0.7199 MB / 351.5 MB, free: 10.82 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.598e-05/0.4803, allocations: 4.422 kB / 351.5 MB, free: 10.81 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.674e-05/0.4803, allocations: 11.44 kB / 351.5 MB, free: 10.8 MB / 282.7 MB Notification: Performance of SimCode: time 1.203e-06/0.4803, allocations: 0 / 351.5 MB, free: 10.8 MB / 282.7 MB Notification: Performance of Templates: time 0.006045/0.4864, allocations: 1.319 MB / 352.8 MB, free: 9.5 MB / 282.7 MB