Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.Motor.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.Thermal.HeatTransfer.Examples.Motor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1440000,variableFilter="time|core.T|winding.T",fileNamePrefix="Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.Motor") Notification: Performance of loadModel(Modelica): time 1.89/1.89, allocations: 171.1 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005639/0.0005642, allocations: 15.98 kB / 233.9 MB, free: 2.383 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08968/0.09028, allocations: 38.76 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3725/0.4628, allocations: 69.65 MB / 342.3 MB, free: 3.699 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002656/0.4631, allocations: 73.91 kB / 342.3 MB, free: 3.664 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02148/0.4846, allocations: 5.119 MB / 347.5 MB, free: 15.29 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.4847, allocations: 7.938 kB / 347.5 MB, free: 15.29 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.199e-05/0.4847, allocations: 7.688 kB / 347.5 MB, free: 15.28 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001003/0.4857, allocations: 0.5424 MB / 348 MB, free: 14.7 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.4858, allocations: 15.97 kB / 348 MB, free: 14.68 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000183/0.486, allocations: 27.72 kB / 348.1 MB, free: 14.65 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004082/0.4864, allocations: 236.9 kB / 348.3 MB, free: 14.39 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.919e-05/0.4865, allocations: 15.58 kB / 348.3 MB, free: 14.39 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.804e-05/0.4865, allocations: 15.56 kB / 348.3 MB, free: 14.38 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004022/0.4869, allocations: 150.6 kB / 348.5 MB, free: 14.27 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.487, allocations: 0 / 348.5 MB, free: 14.27 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.034e-05/0.487, allocations: 7.312 kB / 348.5 MB, free: 14.26 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.397e-06/0.487, allocations: 4 kB / 348.5 MB, free: 14.26 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003532/0.4874, allocations: 124.1 kB / 348.6 MB, free: 14.17 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00128/0.4887, allocations: 0.5912 MB / 349.2 MB, free: 13.62 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004005/0.4891, allocations: 146.4 kB / 349.3 MB, free: 13.51 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.969e-05/0.4892, allocations: 4 kB / 349.3 MB, free: 13.51 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002648/0.4894, allocations: 110 kB / 349.4 MB, free: 13.41 MB / 282.7 MB Notification: Performance of pre-optimization done (n=18): time 2.374e-06/0.4894, allocations: 0 / 349.4 MB, free: 13.41 MB / 282.7 MB Notification: Performance of matching and sorting (n=18): time 0.0006673/0.4901, allocations: 204.9 kB / 349.6 MB, free: 13.25 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.626e-05/0.4902, allocations: 67.25 kB / 349.7 MB, free: 13.18 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000413/0.4906, allocations: 256.4 kB / 350 MB, free: 12.96 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.539e-05/0.4907, allocations: 29.7 kB / 350 MB, free: 12.92 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.4908, allocations: 143.4 kB / 350.1 MB, free: 12.8 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.241e-05/0.4909, allocations: 61.66 kB / 350.2 MB, free: 12.75 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.746e-05/0.4909, allocations: 3.562 kB / 350.2 MB, free: 12.75 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.4911, allocations: 341.5 kB / 350.5 MB, free: 12.41 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001739/0.4913, allocations: 52.91 kB / 350.6 MB, free: 12.38 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002005/0.4915, allocations: 84.8 kB / 350.7 MB, free: 12.31 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002218/0.4918, allocations: 94.31 kB / 350.8 MB, free: 12.24 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-06/0.4918, allocations: 0 / 350.8 MB, free: 12.24 MB / 282.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005721/0.4924, allocations: 250.6 kB / 351 MB, free: 12.04 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.719e-05/0.4924, allocations: 33.7 kB / 351 MB, free: 12 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.4924, allocations: 0 / 351 MB, free: 12 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.4925, allocations: 4 kB / 351 MB, free: 12 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003378/0.4928, allocations: 43.05 kB / 351.1 MB, free: 11.96 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.575e-05/0.4929, allocations: 7.984 kB / 351.1 MB, free: 11.95 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002027/0.4931, allocations: 34.48 kB / 351.1 MB, free: 11.92 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.675e-05/0.4931, allocations: 7.375 kB / 351.1 MB, free: 11.91 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: 3 ($whenCondition1,$PRE.lossTable.nextTimeEvent,lossTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001886/0.4933, allocations: 144.2 kB / 351.3 MB, free: 11.77 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.259e-05/0.4934, allocations: 23.44 kB / 351.3 MB, free: 11.75 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005447/0.4939, allocations: 193.4 kB / 351.5 MB, free: 11.61 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.494, allocations: 4 kB / 351.5 MB, free: 11.61 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.494, allocations: 0 / 351.5 MB, free: 11.61 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.494, allocations: 3.984 kB / 351.5 MB, free: 11.6 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004192/0.4944, allocations: 294.2 kB / 351.8 MB, free: 11.31 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.4944, allocations: 0 / 351.8 MB, free: 11.31 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003359/0.4948, allocations: 43.88 kB / 351.8 MB, free: 11.27 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.4948, allocations: 0 / 351.8 MB, free: 11.27 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.202e-05/0.4948, allocations: 2.438 kB / 351.8 MB, free: 11.27 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.065e-05/0.4948, allocations: 4 kB / 351.8 MB, free: 11.26 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.4949, allocations: 7.938 kB / 351.8 MB, free: 11.25 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006574/0.4955, allocations: 278.9 kB / 352.1 MB, free: 11.04 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/0.4957, allocations: 100.9 kB / 352.2 MB, free: 10.92 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.789e-05/0.4957, allocations: 7.766 kB / 352.2 MB, free: 10.91 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.4959, allocations: 15.77 kB / 352.2 MB, free: 10.9 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.088e-05/0.496, allocations: 15.92 kB / 352.2 MB, free: 10.89 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.133e-05/0.496, allocations: 7.984 kB / 352.2 MB, free: 10.88 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002732/0.4963, allocations: 190.3 kB / 352.4 MB, free: 10.73 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.4963, allocations: 4.062 kB / 352.4 MB, free: 10.72 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004378/0.4967, allocations: 74.67 kB / 352.5 MB, free: 10.66 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (winding.T,core.T) * Number of discrete variables: 2 ($whenCondition1,lossTable.nextTimeEvent) * Number of discrete states: 1 (lossTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000914/0.4977, allocations: 332.2 kB / 352.8 MB, free: 10.39 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004971/0.4982, allocations: 208.8 kB / 353 MB, free: 10.22 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4982, allocations: 0 / 353 MB, free: 10.22 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001866/0.4984, allocations: 74.09 kB / 353.1 MB, free: 10.16 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003663/0.4988, allocations: 38.47 kB / 353.1 MB, free: 10.13 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001468/0.5002, allocations: 0.6384 MB / 353.8 MB, free: 9.504 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004593/0.5007, allocations: 0.7556 MB / 354.5 MB, free: 8.723 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001652/0.5009, allocations: 33.52 kB / 354.6 MB, free: 8.691 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.385e-05/0.501, allocations: 22.44 kB / 354.6 MB, free: 8.672 MB / 282.7 MB Notification: Performance of SimCode: time 1.011e-06/0.501, allocations: 0 / 354.6 MB, free: 8.672 MB / 282.7 MB Notification: Performance of Templates: time 0.008778/0.5098, allocations: 2.477 MB / 357.1 MB, free: 6.199 MB / 282.7 MB