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_Start.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_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") Notification: Performance of loadModel(Modelica): time 1.809/1.809, allocations: 171.1 MB / 186.7 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004778/0.0004781, allocations: 8 kB / 233.9 MB, free: 2.383 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09012/0.09063, allocations: 38.76 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4145/0.5052, allocations: 83.58 MB / 356.2 MB, free: 6.027 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000286/0.5055, allocations: 87.89 kB / 356.3 MB, free: 5.98 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1015/0.6071, allocations: 23.04 MB / 379.3 MB, free: 2.57 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.584e-06/0.6071, allocations: 0 / 379.3 MB, free: 2.57 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.17e-05/0.6072, allocations: 16 kB / 379.3 MB, free: 2.555 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: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.003171/0.6104, allocations: 1.094 MB / 380.4 MB, free: 1.48 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.6105, allocations: 8.031 kB / 380.4 MB, free: 1.473 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009305/0.6114, allocations: 150.6 kB / 380.6 MB, free: 1.324 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0023/0.6137, allocations: 0.6879 MB / 381.3 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.864e-05/0.6139, allocations: 58.25 kB / 381.3 MB, free: 0.707 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001964/0.6141, allocations: 78.88 kB / 381.4 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002375/0.6165, allocations: 0.7728 MB / 382.2 MB, free: 104 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.019e-05/0.6166, allocations: 19.83 kB / 382.2 MB, free: 84 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000109/0.6167, allocations: 31 kB / 382.2 MB, free: 76 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.971e-05/0.6168, allocations: 20 kB / 382.2 MB, free: 56 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001993/0.6188, allocations: 0.5328 MB / 382.8 MB, free: 15.7 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007315/0.6261, allocations: 3.446 MB / 386.2 MB, free: 12.72 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007836/0.627, allocations: 239.5 kB / 386.5 MB, free: 12.55 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.276e-05/0.627, allocations: 3.953 kB / 386.5 MB, free: 12.55 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.334e-05/0.6271, allocations: 44.92 kB / 386.5 MB, free: 12.5 MB / 314.7 MB Notification: Performance of pre-optimization done (n=25): time 3.206e-06/0.6271, allocations: 0 / 386.5 MB, free: 12.5 MB / 314.7 MB Notification: Performance of matching and sorting (n=28): time 0.003386/0.6305, allocations: 1.063 MB / 387.6 MB, free: 11.52 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.288e-05/0.6306, allocations: 85.33 kB / 387.7 MB, free: 11.42 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00148/0.6321, allocations: 0.7052 MB / 388.4 MB, free: 10.89 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.869e-05/0.6322, allocations: 33.33 kB / 388.4 MB, free: 10.86 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004912/0.6327, allocations: 0.4924 MB / 388.9 MB, free: 10.49 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000132/0.6329, allocations: 106.7 kB / 389 MB, free: 10.4 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.513e-05/0.6329, allocations: 10.75 kB / 389 MB, free: 10.39 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002285/0.6332, allocations: 387.5 kB / 389.4 MB, free: 10.04 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005031/0.6337, allocations: 134.8 kB / 389.5 MB, free: 9.945 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007294/0.6344, allocations: 420.8 kB / 389.9 MB, free: 9.449 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006422/0.6351, allocations: 210.5 kB / 390.1 MB, free: 9.309 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.387e-06/0.6351, allocations: 4 kB / 390.1 MB, free: 9.305 MB / 314.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001903/0.637, allocations: 0.6264 MB / 390.8 MB, free: 8.668 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.231e-05/0.6371, allocations: 11.94 kB / 390.8 MB, free: 8.656 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.805e-05/0.6371, allocations: 16 kB / 390.8 MB, free: 8.641 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002361/0.6374, allocations: 33.19 kB / 390.8 MB, free: 8.605 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008724/0.6383, allocations: 147.8 kB / 391 MB, free: 8.461 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001463/0.6397, allocations: 1.292 MB / 392.3 MB, free: 7.035 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009668/0.6407, allocations: 35.89 kB / 392.3 MB, free: 7 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.631e-05/0.6408, allocations: 31.95 kB / 392.3 MB, free: 6.969 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 (74): * Single equations (assignments): 73 * 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.000617/0.6415, allocations: 237.8 kB / 392.6 MB, free: 6.727 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002048/0.6417, allocations: 71.16 kB / 392.6 MB, free: 6.656 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001156/0.6428, allocations: 333.5 kB / 392.9 MB, free: 6.32 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/0.6429, allocations: 4 kB / 393 MB, free: 6.316 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.6429, allocations: 3.938 kB / 393 MB, free: 6.312 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.191e-05/0.6429, allocations: 7.984 kB / 393 MB, free: 6.305 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002922/0.6458, allocations: 1.098 MB / 394.1 MB, free: 5.129 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/0.6459, allocations: 8.219 kB / 394.1 MB, free: 5.121 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005327/0.6464, allocations: 63.91 kB / 394.1 MB, free: 5.059 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000156/0.6466, allocations: 20.84 kB / 394.2 MB, free: 5.035 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.275e-05/0.6467, allocations: 8 kB / 394.2 MB, free: 5.027 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001345/0.648, allocations: 1.28 MB / 395.4 MB, free: 3.613 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/0.6481, allocations: 4 kB / 395.4 MB, free: 3.609 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001645/0.6497, allocations: 0.5756 MB / 396 MB, free: 2.992 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000416/0.6502, allocations: 164.3 kB / 396.2 MB, free: 2.812 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000152/0.6503, allocations: 15.98 kB / 396.2 MB, free: 2.797 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005317/0.6509, allocations: 23.98 kB / 396.2 MB, free: 2.773 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.651, allocations: 31.86 kB / 396.3 MB, free: 2.742 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.518e-05/0.651, allocations: 8 kB / 396.3 MB, free: 2.734 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.00109/0.6521, allocations: 483 kB / 396.7 MB, free: 2.266 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.6522, allocations: 4 kB / 396.7 MB, free: 2.262 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001307/0.6535, allocations: 192 kB / 396.9 MB, free: 2.074 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 (27): * Single equations (assignments): 26 * 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.0006438/0.6542, allocations: 277.5 kB / 397.2 MB, free: 1.793 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001512/0.6557, allocations: 480.2 kB / 397.7 MB, free: 1.312 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.6557, allocations: 0 / 397.7 MB, free: 1.312 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000654/0.6564, allocations: 240 kB / 397.9 MB, free: 1.066 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001517/0.6579, allocations: 169 kB / 398.1 MB, free: 0.9062 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004374/0.6623, allocations: 1.753 MB / 399.8 MB, free: 15.1 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008144/0.6632, allocations: 0.9609 MB / 400.8 MB, free: 14.11 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007343/0.6639, allocations: 93.95 kB / 400.9 MB, free: 14.01 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001703/0.6641, allocations: 47.44 kB / 400.9 MB, free: 13.96 MB / 330.7 MB Notification: Performance of SimCode: time 1.132e-06/0.6641, allocations: 4 kB / 400.9 MB, free: 13.96 MB / 330.7 MB Notification: Performance of Templates: time 0.03141/0.6956, allocations: 9.485 MB / 410.4 MB, free: 4.516 MB / 330.7 MB