Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") Notification: Performance of loadModel(Modelica): time 2.178/2.178, allocations: 194.8 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005057/0.000506, allocations: 8 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1279, allocations: 44.5 MB / 309 MB, free: 372 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4312/0.5592, allocations: 89.23 MB / 398.3 MB, free: 15.29 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003017/0.5596, allocations: 86.66 kB / 398.4 MB, free: 15.29 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1265/0.686, allocations: 23.81 MB / 422.2 MB, free: 7.023 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.178e-06/0.6861, allocations: 0 / 422.2 MB, free: 7.023 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.000108/0.6862, allocations: 19.34 kB / 422.2 MB, free: 7.023 MB / 314.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.004393/0.6907, allocations: 1.127 MB / 423.3 MB, free: 6.227 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.499e-05/0.6907, allocations: 11.62 kB / 423.3 MB, free: 6.227 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001249/0.692, allocations: 159.1 kB / 423.5 MB, free: 6.148 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002835/0.6949, allocations: 0.677 MB / 424.2 MB, free: 5.742 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.651e-05/0.695, allocations: 62.72 kB / 424.2 MB, free: 5.742 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002864/0.6954, allocations: 89.97 kB / 424.3 MB, free: 5.734 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003193/0.6986, allocations: 0.8133 MB / 425.1 MB, free: 5.477 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.513e-05/0.6987, allocations: 7.172 kB / 425.1 MB, free: 5.473 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001518/0.6989, allocations: 31.53 kB / 425.2 MB, free: 5.473 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.011e-05/0.6989, allocations: 26.33 kB / 425.2 MB, free: 5.469 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00279/0.7017, allocations: 0.5536 MB / 425.7 MB, free: 5.383 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009653/0.7115, allocations: 3.497 MB / 429.2 MB, free: 3.105 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00113/0.7126, allocations: 250.3 kB / 429.5 MB, free: 3.051 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.425e-05/0.7127, allocations: 3.953 kB / 429.5 MB, free: 3.047 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.385e-05/0.7128, allocations: 41.77 kB / 429.5 MB, free: 3.004 MB / 314.7 MB Notification: Performance of pre-optimization done (n=26): time 4.979e-06/0.7128, allocations: 4 kB / 429.5 MB, free: 3 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.004767/0.7176, allocations: 1.108 MB / 430.6 MB, free: 2.383 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.369e-05/0.7177, allocations: 80.98 kB / 430.7 MB, free: 2.289 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002237/0.72, allocations: 0.7763 MB / 431.5 MB, free: 2.043 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001008/0.7202, allocations: 32.39 kB / 431.5 MB, free: 2.012 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005781/0.7208, allocations: 0.5045 MB / 432 MB, free: 1.711 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001789/0.721, allocations: 107.5 kB / 432.1 MB, free: 1.637 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.999e-05/0.7211, allocations: 13.94 kB / 432.2 MB, free: 1.637 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.7212, allocations: 332.4 kB / 432.5 MB, free: 1.32 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007171/0.7219, allocations: 134.2 kB / 432.6 MB, free: 1.301 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008788/0.7228, allocations: 420.5 kB / 433 MB, free: 0.8984 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008637/0.7237, allocations: 217.8 kB / 433.2 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.957e-06/0.7237, allocations: 3.938 kB / 433.2 MB, free: 0.8516 MB / 314.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00253/0.7263, allocations: 0.6391 MB / 433.9 MB, free: 0.6484 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.813e-05/0.7264, allocations: 11.62 kB / 433.9 MB, free: 0.6445 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.406e-05/0.7264, allocations: 7.812 kB / 433.9 MB, free: 0.6445 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002763/0.7267, allocations: 43.56 kB / 433.9 MB, free: 0.625 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001215/0.728, allocations: 147.4 kB / 434.1 MB, free: 0.5977 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001768/0.7298, allocations: 1.287 MB / 435.4 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001528/0.7313, allocations: 53.53 kB / 435.4 MB, free: 15.29 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000168/0.7316, allocations: 34.14 kB / 435.5 MB, free: 15.29 MB / 330.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.0008935/0.7325, allocations: 236.3 kB / 435.7 MB, free: 15.15 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003891/0.7329, allocations: 81.62 kB / 435.8 MB, free: 15.11 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00179/0.7347, allocations: 352.5 kB / 436.1 MB, free: 14.99 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/0.7348, allocations: 3.906 kB / 436.1 MB, free: 14.99 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.7348, allocations: 0 / 436.1 MB, free: 14.99 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.721e-05/0.7348, allocations: 7.938 kB / 436.1 MB, free: 14.98 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004284/0.7391, allocations: 1.119 MB / 437.2 MB, free: 14.17 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/0.7392, allocations: 0 / 437.2 MB, free: 14.17 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000825/0.7401, allocations: 63.91 kB / 437.3 MB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000225/0.7403, allocations: 24.44 kB / 437.3 MB, free: 14.08 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.066e-05/0.7404, allocations: 11.25 kB / 437.3 MB, free: 14.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001911/0.7423, allocations: 1.288 MB / 438.6 MB, free: 12.7 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/0.7424, allocations: 0 / 438.6 MB, free: 12.7 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002602/0.745, allocations: 0.5979 MB / 439.2 MB, free: 12.16 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007167/0.7458, allocations: 184.5 kB / 439.4 MB, free: 11.99 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002481/0.7461, allocations: 10.31 kB / 439.4 MB, free: 11.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001025/0.7471, allocations: 27.16 kB / 439.4 MB, free: 11.96 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001529/0.7473, allocations: 34.73 kB / 439.5 MB, free: 11.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.301e-05/0.7474, allocations: 10.62 kB / 439.5 MB, free: 11.92 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001793/0.7492, allocations: 0.5219 MB / 440 MB, free: 11.55 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.82e-07/0.7492, allocations: 0 / 440 MB, free: 11.55 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002106/0.7514, allocations: 211 kB / 440.2 MB, free: 11.36 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 () * 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.0009343/0.7524, allocations: 331.4 kB / 440.5 MB, free: 11.06 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002214/0.7546, allocations: 486.6 kB / 441 MB, free: 10.66 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.227e-05/0.7547, allocations: 5.75 kB / 441 MB, free: 10.65 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001109/0.7558, allocations: 253.3 kB / 441.3 MB, free: 10.42 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002891/0.7587, allocations: 211.7 kB / 441.5 MB, free: 10.27 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006088/0.7649, allocations: 1.773 MB / 443.2 MB, free: 8.535 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001384/0.7663, allocations: 0.9648 MB / 444.2 MB, free: 7.543 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001156/0.7675, allocations: 106.7 kB / 444.3 MB, free: 7.434 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002948/0.7679, allocations: 51.44 kB / 444.4 MB, free: 7.383 MB / 330.7 MB Notification: Performance of SimCode: time 1.383e-06/0.7679, allocations: 0 / 444.4 MB, free: 7.383 MB / 330.7 MB Notification: Performance of Templates: time 0.05395/0.8219, allocations: 11.31 MB / 455.7 MB, free: 12.15 MB / 346.7 MB