Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_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_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") Notification: Performance of loadModel(Modelica): time 2.006/2.006, allocations: 194.8 MB / 212.3 MB, free: 3.012 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003856/0.0003859, allocations: 8 kB / 264.5 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1023, allocations: 44.5 MB / 309 MB, free: 1.039 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4573/0.5597, allocations: 89.22 MB / 398.2 MB, free: 14.79 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003031/0.56, allocations: 92.92 kB / 398.3 MB, free: 14.79 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09074/0.6508, allocations: 23.8 MB / 422.1 MB, free: 6.809 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.6508, allocations: 0 / 422.1 MB, free: 6.809 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.232e-05/0.6509, allocations: 27.09 kB / 422.1 MB, free: 6.801 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.002514/0.6534, allocations: 1.125 MB / 423.2 MB, free: 6.008 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.6535, allocations: 8.188 kB / 423.2 MB, free: 6.008 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006898/0.6542, allocations: 166.3 kB / 423.4 MB, free: 5.93 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001558/0.6558, allocations: 0.6684 MB / 424.1 MB, free: 5.527 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.435e-05/0.6558, allocations: 65.59 kB / 424.1 MB, free: 5.527 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001538/0.656, allocations: 89.5 kB / 424.2 MB, free: 5.52 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001879/0.6579, allocations: 0.823 MB / 425.1 MB, free: 5.262 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.961e-05/0.658, allocations: 0 / 425.1 MB, free: 5.262 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.94e-05/0.6581, allocations: 35.75 kB / 425.1 MB, free: 5.262 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.221e-05/0.6581, allocations: 27.33 kB / 425.1 MB, free: 5.258 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00159/0.6597, allocations: 0.5546 MB / 425.7 MB, free: 5.168 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005732/0.6654, allocations: 3.502 MB / 429.2 MB, free: 2.883 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007468/0.6662, allocations: 244.1 kB / 429.4 MB, free: 2.836 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.37e-05/0.6663, allocations: 7.766 kB / 429.4 MB, free: 2.832 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.6663, allocations: 39.98 kB / 429.5 MB, free: 2.785 MB / 314.7 MB Notification: Performance of pre-optimization done (n=26): time 2.925e-06/0.6664, allocations: 4 kB / 429.5 MB, free: 2.781 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.002937/0.6693, allocations: 1.107 MB / 430.6 MB, free: 2.168 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.812e-05/0.6694, allocations: 80.98 kB / 430.6 MB, free: 2.074 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001238/0.6706, allocations: 0.7778 MB / 431.4 MB, free: 1.828 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.102e-05/0.6707, allocations: 32.33 kB / 431.5 MB, free: 1.797 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003061/0.671, allocations: 0.5178 MB / 432 MB, free: 1.445 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.579e-05/0.6711, allocations: 104.6 kB / 432.1 MB, free: 1.375 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.407e-05/0.6711, allocations: 11.31 kB / 432.1 MB, free: 1.375 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.625e-05/0.6712, allocations: 338.1 kB / 432.4 MB, free: 1.051 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000456/0.6717, allocations: 144.6 kB / 432.6 MB, free: 1.023 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005521/0.6723, allocations: 422 kB / 433 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00055/0.6728, allocations: 211 kB / 433.2 MB, free: 0.582 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.553e-06/0.6728, allocations: 3.875 kB / 433.2 MB, free: 0.582 MB / 314.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001418/0.6743, allocations: 0.5871 MB / 433.8 MB, free: 412 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/0.6743, allocations: 11.94 kB / 433.8 MB, free: 408 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/0.6743, allocations: 7.75 kB / 433.8 MB, free: 408 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002048/0.6746, allocations: 36.06 kB / 433.8 MB, free: 396 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008341/0.6754, allocations: 147.8 kB / 434 MB, free: 364 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001211/0.6766, allocations: 1.301 MB / 435.3 MB, free: 15.05 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009377/0.6776, allocations: 47.08 kB / 435.3 MB, free: 15.04 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.389e-05/0.6777, allocations: 35.02 kB / 435.3 MB, free: 15.04 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.00056/0.6782, allocations: 241.7 kB / 435.6 MB, free: 14.9 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001609/0.6784, allocations: 77.94 kB / 435.7 MB, free: 14.86 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001061/0.6795, allocations: 348.4 kB / 436 MB, free: 14.75 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/0.6795, allocations: 3.875 kB / 436 MB, free: 14.75 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.6795, allocations: 3.938 kB / 436 MB, free: 14.75 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/0.6795, allocations: 3.953 kB / 436 MB, free: 14.74 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002422/0.682, allocations: 1.112 MB / 437.1 MB, free: 14.16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.427e-06/0.682, allocations: 7.859 kB / 437.1 MB, free: 14.15 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005207/0.6825, allocations: 69.91 kB / 437.2 MB, free: 14.14 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001385/0.6827, allocations: 27.56 kB / 437.2 MB, free: 14.12 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.75e-05/0.6827, allocations: 7.156 kB / 437.2 MB, free: 14.12 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001262/0.684, allocations: 1.277 MB / 438.5 MB, free: 12.83 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.291e-06/0.684, allocations: 3.938 kB / 438.5 MB, free: 12.83 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001515/0.6856, allocations: 0.6097 MB / 439.1 MB, free: 12.52 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004261/0.686, allocations: 179.8 kB / 439.3 MB, free: 12.35 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001676/0.6862, allocations: 10.25 kB / 439.3 MB, free: 12.35 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005983/0.6868, allocations: 23.11 kB / 439.3 MB, free: 12.33 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.388e-05/0.6869, allocations: 31.11 kB / 439.4 MB, free: 12.3 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.049e-05/0.6869, allocations: 15.3 kB / 439.4 MB, free: 12.29 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001131/0.6881, allocations: 0.524 MB / 439.9 MB, free: 11.91 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.6881, allocations: 0 / 439.9 MB, free: 11.91 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001159/0.6893, allocations: 204.7 kB / 440.1 MB, free: 11.73 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.0006495/0.6899, allocations: 327.4 kB / 440.4 MB, free: 11.43 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001482/0.6914, allocations: 490.2 kB / 440.9 MB, free: 11.02 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.6915, allocations: 0 / 440.9 MB, free: 11.02 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006519/0.6921, allocations: 250.8 kB / 441.1 MB, free: 10.79 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001679/0.6938, allocations: 214.6 kB / 441.4 MB, free: 10.63 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004065/0.6979, allocations: 1.811 MB / 443.2 MB, free: 8.859 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008052/0.6987, allocations: 0.9725 MB / 444.1 MB, free: 7.859 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002725/0.699, allocations: 55.44 kB / 444.2 MB, free: 7.805 MB / 330.7 MB Notification: Performance of SimCode: time 1.122e-06/0.699, allocations: 0 / 444.2 MB, free: 7.805 MB / 330.7 MB Notification: Performance of Templates: time 0.033/0.7321, allocations: 14.85 MB / 459 MB, free: 9.152 MB / 346.7 MB