Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.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.Machines.Examples.DCMachines.DCPM_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=6000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") Notification: Performance of loadModel(Modelica): time 1.86/1.86, allocations: 171.2 MB / 186.7 MB, free: 1.113 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000367/0.0003672, allocations: 8 kB / 233.9 MB, free: 2.379 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08693/0.08732, allocations: 38.76 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3724/0.4598, allocations: 84.11 MB / 356.7 MB, free: 5.426 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002975/0.4601, allocations: 87.33 kB / 356.8 MB, free: 5.379 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1041/0.5643, allocations: 23.89 MB / 380.7 MB, free: 1.227 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.775e-06/0.5643, allocations: 0 / 380.7 MB, free: 1.227 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.723e-05/0.5644, allocations: 23.94 kB / 380.7 MB, free: 1.203 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.00366/0.5681, allocations: 1.139 MB / 381.9 MB, free: 84 kB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/0.5682, allocations: 8.031 kB / 381.9 MB, free: 76 kB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001059/0.5693, allocations: 146.7 kB / 382 MB, free: 15.93 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002171/0.5715, allocations: 0.6839 MB / 382.7 MB, free: 15.34 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.483e-05/0.5716, allocations: 65.06 kB / 382.8 MB, free: 15.31 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002196/0.5718, allocations: 83.11 kB / 382.9 MB, free: 15.25 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002391/0.5742, allocations: 0.8155 MB / 383.7 MB, free: 14.67 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.932e-05/0.5743, allocations: 3.906 kB / 383.7 MB, free: 14.66 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001085/0.5744, allocations: 38.88 kB / 383.7 MB, free: 14.65 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.799e-05/0.5745, allocations: 20 kB / 383.7 MB, free: 14.63 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002068/0.5766, allocations: 0.5542 MB / 384.3 MB, free: 14.26 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007653/0.5843, allocations: 3.511 MB / 387.8 MB, free: 11.22 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008429/0.5851, allocations: 241 kB / 388 MB, free: 11.05 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.343e-05/0.5852, allocations: 4 kB / 388 MB, free: 11.04 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.851e-05/0.5853, allocations: 38.38 kB / 388.1 MB, free: 11 MB / 314.7 MB Notification: Performance of pre-optimization done (n=26): time 3.657e-06/0.5853, allocations: 0 / 388.1 MB, free: 11 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.003778/0.5891, allocations: 1.118 MB / 389.2 MB, free: 9.977 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.418e-05/0.5892, allocations: 88.42 kB / 389.3 MB, free: 9.875 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001633/0.5908, allocations: 0.7811 MB / 390.1 MB, free: 9.289 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.821e-05/0.591, allocations: 32.83 kB / 390.1 MB, free: 9.254 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005232/0.5915, allocations: 0.5032 MB / 390.6 MB, free: 8.895 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001393/0.5916, allocations: 102.3 kB / 390.7 MB, free: 8.809 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.629e-05/0.5917, allocations: 14.12 kB / 390.7 MB, free: 8.805 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.5919, allocations: 327.1 kB / 391 MB, free: 8.488 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004994/0.5924, allocations: 143.4 kB / 391.2 MB, free: 8.391 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007362/0.5931, allocations: 417.5 kB / 391.6 MB, free: 7.871 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006695/0.5938, allocations: 207.9 kB / 391.8 MB, free: 7.668 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.563e-06/0.5938, allocations: 4 kB / 391.8 MB, free: 7.664 MB / 314.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001982/0.5958, allocations: 0.6458 MB / 392.4 MB, free: 7.008 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.286e-05/0.5959, allocations: 11.94 kB / 392.4 MB, free: 6.996 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.282e-05/0.5959, allocations: 12.44 kB / 392.4 MB, free: 6.984 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002247/0.5962, allocations: 40.84 kB / 392.5 MB, free: 6.941 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008809/0.5971, allocations: 143.8 kB / 392.6 MB, free: 6.801 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001411/0.5985, allocations: 1.295 MB / 393.9 MB, free: 5.367 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001037/0.5996, allocations: 43.89 kB / 394 MB, free: 5.324 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.128e-05/0.5997, allocations: 32.17 kB / 394 MB, free: 5.293 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (75): * Single equations (assignments): 74 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006115/0.6003, allocations: 245.5 kB / 394.2 MB, free: 5.043 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002296/0.6005, allocations: 83.06 kB / 394.3 MB, free: 4.961 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001214/0.6018, allocations: 351 kB / 394.7 MB, free: 4.605 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.287e-06/0.6018, allocations: 7.938 kB / 394.7 MB, free: 4.598 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.6018, allocations: 0 / 394.7 MB, free: 4.598 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.6018, allocations: 0 / 394.7 MB, free: 4.598 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003016/0.6049, allocations: 1.113 MB / 395.8 MB, free: 3.41 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.208e-06/0.6049, allocations: 4 kB / 395.8 MB, free: 3.406 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005509/0.6055, allocations: 67.86 kB / 395.9 MB, free: 3.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001459/0.6056, allocations: 24.84 kB / 395.9 MB, free: 3.312 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.846e-05/0.6057, allocations: 8 kB / 395.9 MB, free: 3.305 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001357/0.6071, allocations: 1.272 MB / 397.2 MB, free: 1.898 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.043e-05/0.6071, allocations: 11.95 kB / 397.2 MB, free: 1.887 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001707/0.6088, allocations: 0.5994 MB / 397.8 MB, free: 1.242 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004935/0.6094, allocations: 184.1 kB / 397.9 MB, free: 1.043 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001767/0.6095, allocations: 12 kB / 398 MB, free: 1.031 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006169/0.6102, allocations: 23.98 kB / 398 MB, free: 1.008 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/0.6103, allocations: 23.89 kB / 398 MB, free: 0.9844 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.959e-05/0.6103, allocations: 16 kB / 398 MB, free: 0.9688 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.00122/0.6116, allocations: 0.5264 MB / 398.5 MB, free: 460 kB / 314.7 MB Notification: Performance of sort global known variables: time 7.71e-07/0.6116, allocations: 0 / 398.5 MB, free: 460 kB / 314.7 MB Notification: Performance of remove unused functions: time 0.001348/0.613, allocations: 211.9 kB / 398.8 MB, free: 248 kB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.phi,dcpm.inertiaRotor.w,dcpm.la.i) * 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 (28): * Single equations (assignments): 27 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006996/0.6137, allocations: 319.4 kB / 399.1 MB, free: 15.92 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001589/0.6153, allocations: 488.5 kB / 399.5 MB, free: 15.43 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.6154, allocations: 0 / 399.5 MB, free: 15.43 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000698/0.6161, allocations: 243.7 kB / 399.8 MB, free: 15.18 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001817/0.6179, allocations: 207.1 kB / 400 MB, free: 14.98 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004433/0.6224, allocations: 1.79 MB / 401.8 MB, free: 13.14 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008419/0.6233, allocations: 0.9801 MB / 402.8 MB, free: 12.13 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007752/0.6241, allocations: 98.69 kB / 402.9 MB, free: 12.03 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001986/0.6243, allocations: 55.42 kB / 402.9 MB, free: 11.97 MB / 330.7 MB Notification: Performance of SimCode: time 4.739e-06/0.6243, allocations: 0 / 402.9 MB, free: 11.97 MB / 330.7 MB Notification: Performance of Templates: time 0.03647/0.6608, allocations: 11.35 MB / 414.3 MB, free: 0.6758 MB / 330.7 MB