Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") Notification: Performance of loadModel(Modelica): time 1.653/1.653, allocations: 171.3 MB / 179.2 MB, free: 7.582 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 1.878e-05/1.894e-05, allocations: 4 kB / 222.5 MB, free: 8.699 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06849/0.06853, allocations: 38.76 MB / 261.3 MB, free: 1.855 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2949/0.3635, allocations: 83.37 MB / 344.6 MB, free: 5.16 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002519/0.3638, allocations: 81.02 kB / 344.7 MB, free: 5.117 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09137/0.4552, allocations: 23.57 MB / 368.3 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.689e-06/0.4552, allocations: 3.938 kB / 368.3 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.53e-05/0.4553, allocations: 23.94 kB / 368.3 MB, free: 0.6523 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.001925/0.4573, allocations: 1.009 MB / 369.3 MB, free: 15.6 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.4573, allocations: 8.031 kB / 369.3 MB, free: 15.59 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006311/0.458, allocations: 150.6 kB / 369.5 MB, free: 15.44 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001557/0.4595, allocations: 0.6718 MB / 370.2 MB, free: 14.72 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.642e-05/0.4596, allocations: 28 kB / 370.2 MB, free: 14.7 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001607/0.4598, allocations: 56.56 kB / 370.2 MB, free: 14.64 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001244/0.461, allocations: 459.9 kB / 370.7 MB, free: 14.19 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001585/0.4626, allocations: 0.6546 MB / 371.3 MB, free: 13.5 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.77e-05/0.4627, allocations: 3.938 kB / 371.3 MB, free: 13.5 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.773e-05/0.4628, allocations: 4 kB / 371.4 MB, free: 13.5 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.725e-05/0.4628, allocations: 20 kB / 371.4 MB, free: 13.48 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005754/0.4686, allocations: 3.326 MB / 374.7 MB, free: 9.957 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005255/0.4691, allocations: 206.7 kB / 374.9 MB, free: 9.746 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002142/0.4694, allocations: 92.8 kB / 375 MB, free: 9.652 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.677e-05/0.4694, allocations: 4 kB / 375 MB, free: 9.648 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.245e-05/0.4695, allocations: 42.55 kB / 375 MB, free: 9.598 MB / 314.7 MB Notification: Performance of pre-optimization done (n=26): time 3.284e-06/0.4695, allocations: 0 / 375 MB, free: 9.598 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.001823/0.4713, allocations: 0.7811 MB / 375.8 MB, free: 8.758 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.024e-05/0.4714, allocations: 81.11 kB / 375.9 MB, free: 8.66 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009209/0.4723, allocations: 0.5113 MB / 376.4 MB, free: 8.145 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.376e-05/0.4724, allocations: 29.7 kB / 376.4 MB, free: 8.109 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004397/0.4728, allocations: 0.5392 MB / 377 MB, free: 7.566 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001192/0.473, allocations: 114.4 kB / 377.1 MB, free: 7.453 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.206e-05/0.473, allocations: 0 / 377.1 MB, free: 7.453 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.4732, allocations: 330.8 kB / 377.4 MB, free: 7.121 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002572/0.4734, allocations: 97.56 kB / 377.5 MB, free: 7.023 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005061/0.474, allocations: 385.9 kB / 377.9 MB, free: 6.508 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003847/0.4744, allocations: 159.8 kB / 378 MB, free: 6.352 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.283e-06/0.4744, allocations: 8 kB / 378 MB, free: 6.344 MB / 314.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00114/0.4755, allocations: 474.8 kB / 378.5 MB, free: 5.871 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.761e-05/0.4756, allocations: 16.05 kB / 378.5 MB, free: 5.855 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.693e-05/0.4756, allocations: 12 kB / 378.5 MB, free: 5.844 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000187/0.4758, allocations: 36.84 kB / 378.6 MB, free: 5.805 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006081/0.4764, allocations: 143.8 kB / 378.7 MB, free: 5.664 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001313/0.4778, allocations: 1.24 MB / 380 MB, free: 4.309 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007357/0.4785, allocations: 36.02 kB / 380 MB, free: 4.273 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.447e-05/0.4786, allocations: 28 kB / 380 MB, free: 4.246 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 () * 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.0001751/0.4788, allocations: 128.7 kB / 380.1 MB, free: 4.113 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001392/0.479, allocations: 59.25 kB / 380.2 MB, free: 4.055 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007085/0.4797, allocations: 277.3 kB / 380.5 MB, free: 3.766 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.617e-06/0.4797, allocations: 4 kB / 380.5 MB, free: 3.762 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.584e-06/0.4797, allocations: 0 / 380.5 MB, free: 3.762 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.4797, allocations: 4 kB / 380.5 MB, free: 3.758 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001937/0.4817, allocations: 0.9487 MB / 381.4 MB, free: 2.746 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.685e-06/0.4817, allocations: 4 kB / 381.4 MB, free: 2.742 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003795/0.4821, allocations: 59.91 kB / 381.5 MB, free: 2.684 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001239/0.4822, allocations: 24.84 kB / 381.5 MB, free: 2.656 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.822e-05/0.4823, allocations: 4 kB / 381.5 MB, free: 2.652 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001202/0.4835, allocations: 1.225 MB / 382.7 MB, free: 1.309 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.998e-06/0.4835, allocations: 4.031 kB / 382.7 MB, free: 1.305 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009469/0.4845, allocations: 0.5722 MB / 383.3 MB, free: 0.6445 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002937/0.4848, allocations: 156.4 kB / 383.5 MB, free: 484 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001225/0.4849, allocations: 11.95 kB / 383.5 MB, free: 472 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000438/0.4854, allocations: 27.97 kB / 383.5 MB, free: 444 kB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.055e-05/0.4855, allocations: 23.91 kB / 383.5 MB, free: 420 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.605e-05/0.4855, allocations: 8 kB / 383.5 MB, free: 412 kB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006885/0.4862, allocations: 391.2 kB / 383.9 MB, free: 28 kB / 314.7 MB Notification: Performance of sort global known variables: time 8.71e-07/0.4863, allocations: 0 / 383.9 MB, free: 28 kB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009606/0.4872, allocations: 156 kB / 384.1 MB, free: 15.87 MB / 330.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 () * 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.000481/0.4877, allocations: 291.6 kB / 384.4 MB, free: 15.59 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008553/0.4886, allocations: 395.4 kB / 384.7 MB, free: 15.19 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.886e-06/0.4886, allocations: 0 / 384.7 MB, free: 15.19 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003905/0.489, allocations: 214.4 kB / 385 MB, free: 14.97 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009647/0.49, allocations: 159.4 kB / 385.1 MB, free: 14.81 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002489/0.4925, allocations: 1.073 MB / 386.2 MB, free: 13.69 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007876/0.4933, allocations: 0.9754 MB / 387.2 MB, free: 12.68 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000176/0.4935, allocations: 51.42 kB / 387.2 MB, free: 12.63 MB / 330.7 MB Notification: Performance of SimCode: time 1.775e-06/0.4935, allocations: 0 / 387.2 MB, free: 12.63 MB / 330.7 MB Notification: Performance of Templates: time 0.02341/0.517, allocations: 13.54 MB / 400.8 MB, free: 15.09 MB / 346.7 MB