Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") Notification: Performance of loadModel(Modelica): time 1.782/1.782, allocations: 171.2 MB / 187.3 MB, free: 1.047 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003522/0.0003525, allocations: 16 kB / 233.8 MB, free: 3.047 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0871/0.08748, allocations: 38.76 MB / 272.5 MB, free: 12.21 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3995/0.487, allocations: 84.1 MB / 356.6 MB, free: 6.02 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003205/0.4874, allocations: 89.58 kB / 356.7 MB, free: 5.973 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1044/0.5918, allocations: 23.9 MB / 380.6 MB, free: 1.809 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.756e-06/0.5918, allocations: 0 / 380.6 MB, free: 1.809 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.682e-05/0.5919, allocations: 27.94 kB / 380.7 MB, free: 1.781 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.003732/0.5957, allocations: 1.126 MB / 381.8 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.742e-05/0.5958, allocations: 12.02 kB / 381.8 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001061/0.5968, allocations: 150.7 kB / 381.9 MB, free: 0.5156 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002543/0.5994, allocations: 0.6799 MB / 382.6 MB, free: 15.93 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.826e-05/0.5995, allocations: 64.25 kB / 382.7 MB, free: 15.9 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002649/0.5998, allocations: 85 kB / 382.8 MB, free: 15.84 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002943/0.6028, allocations: 0.8213 MB / 383.6 MB, free: 15.25 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.562e-05/0.6029, allocations: 3.906 kB / 383.6 MB, free: 15.25 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000145/0.603, allocations: 35.25 kB / 383.6 MB, free: 15.24 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.44e-05/0.6031, allocations: 20 kB / 383.6 MB, free: 15.22 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002401/0.6055, allocations: 0.5605 MB / 384.2 MB, free: 14.84 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009805/0.6153, allocations: 3.505 MB / 387.7 MB, free: 11.8 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001136/0.6165, allocations: 247.4 kB / 388 MB, free: 11.63 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.564e-05/0.6166, allocations: 4 kB / 388 MB, free: 11.62 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.138e-05/0.6167, allocations: 38.38 kB / 388 MB, free: 11.58 MB / 314.7 MB Notification: Performance of pre-optimization done (n=26): time 4.138e-06/0.6167, allocations: 0 / 388 MB, free: 11.58 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.004526/0.6212, allocations: 1.122 MB / 389.1 MB, free: 10.55 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.419e-05/0.6213, allocations: 85.05 kB / 389.2 MB, free: 10.45 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002112/0.6235, allocations: 0.7733 MB / 390 MB, free: 9.875 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.996e-05/0.6235, allocations: 28.7 kB / 390 MB, free: 9.844 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005833/0.6241, allocations: 0.5173 MB / 390.5 MB, free: 9.453 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001652/0.6243, allocations: 106.7 kB / 390.6 MB, free: 9.363 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.554e-05/0.6244, allocations: 10.69 kB / 390.6 MB, free: 9.363 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002037/0.6246, allocations: 337.8 kB / 391 MB, free: 9.031 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006975/0.6253, allocations: 130.9 kB / 391.1 MB, free: 8.945 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001056/0.6264, allocations: 435.3 kB / 391.5 MB, free: 8.434 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009233/0.6273, allocations: 208.7 kB / 391.7 MB, free: 8.254 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.757e-06/0.6274, allocations: 0 / 391.7 MB, free: 8.254 MB / 314.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002456/0.6298, allocations: 0.5842 MB / 392.3 MB, free: 7.66 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.505e-05/0.6299, allocations: 12 kB / 392.3 MB, free: 7.648 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.722e-05/0.6299, allocations: 11.98 kB / 392.3 MB, free: 7.637 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002808/0.6302, allocations: 32.86 kB / 392.4 MB, free: 7.602 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001233/0.6315, allocations: 147.7 kB / 392.5 MB, free: 7.457 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001804/0.6333, allocations: 1.299 MB / 393.8 MB, free: 6.02 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001357/0.6347, allocations: 44.19 kB / 393.8 MB, free: 5.977 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.021e-05/0.6348, allocations: 35.98 kB / 393.9 MB, free: 5.941 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.0007897/0.6356, allocations: 241.5 kB / 394.1 MB, free: 5.695 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002726/0.6359, allocations: 82.97 kB / 394.2 MB, free: 5.613 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001578/0.6375, allocations: 351 kB / 394.5 MB, free: 5.258 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/0.6375, allocations: 4 kB / 394.5 MB, free: 5.254 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/0.6376, allocations: 0 / 394.5 MB, free: 5.254 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/0.6376, allocations: 3.984 kB / 394.6 MB, free: 5.25 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003654/0.6413, allocations: 1.117 MB / 395.7 MB, free: 4.055 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.6413, allocations: 0 / 395.7 MB, free: 4.055 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007439/0.642, allocations: 72.06 kB / 395.7 MB, free: 3.984 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001752/0.6422, allocations: 20.86 kB / 395.8 MB, free: 3.961 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.815e-05/0.6423, allocations: 11.98 kB / 395.8 MB, free: 3.949 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001742/0.6441, allocations: 1.28 MB / 397.1 MB, free: 2.535 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/0.6441, allocations: 0 / 397.1 MB, free: 2.535 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002352/0.6465, allocations: 0.5993 MB / 397.7 MB, free: 1.891 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000598/0.6471, allocations: 180.2 kB / 397.8 MB, free: 1.695 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002552/0.6474, allocations: 8 kB / 397.8 MB, free: 1.688 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009338/0.6483, allocations: 27.98 kB / 397.9 MB, free: 1.66 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/0.6485, allocations: 31.84 kB / 397.9 MB, free: 1.629 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.507e-05/0.6485, allocations: 8 kB / 397.9 MB, free: 1.621 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001593/0.6502, allocations: 0.5225 MB / 398.4 MB, free: 1.105 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.6502, allocations: 0 / 398.4 MB, free: 1.105 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001843/0.652, allocations: 215.9 kB / 398.6 MB, free: 0.8945 MB / 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.0008341/0.6529, allocations: 323.3 kB / 399 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001959/0.6549, allocations: 488.8 kB / 399.4 MB, free: 84 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.6549, allocations: 0 / 399.4 MB, free: 84 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000904/0.6558, allocations: 251.3 kB / 399.7 MB, free: 15.82 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002319/0.6582, allocations: 222.3 kB / 399.9 MB, free: 15.61 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00542/0.6636, allocations: 1.803 MB / 401.7 MB, free: 13.74 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001038/0.6647, allocations: 0.9801 MB / 402.7 MB, free: 12.73 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003703/0.6651, allocations: 55.44 kB / 402.7 MB, free: 12.68 MB / 330.7 MB Notification: Performance of SimCode: time 1.282e-06/0.6651, allocations: 4 kB / 402.7 MB, free: 12.68 MB / 330.7 MB Notification: Performance of Templates: time 0.04024/0.7054, allocations: 14.86 MB / 417.6 MB, free: 13.82 MB / 346.7 MB