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.DCEE_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.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") Notification: Performance of loadModel(Modelica): time 1.759/1.759, allocations: 171.2 MB / 187.3 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000477/0.0004771, allocations: 8 kB / 233.8 MB, free: 3.074 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08847/0.08898, allocations: 38.77 MB / 272.6 MB, free: 12.23 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.406/0.495, allocations: 87.62 MB / 360.2 MB, free: 2.668 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003279/0.4954, allocations: 85.89 kB / 360.3 MB, free: 2.621 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1139/0.6093, allocations: 26.3 MB / 386.6 MB, free: 12.42 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.895e-06/0.6094, allocations: 0 / 386.6 MB, free: 12.42 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.442e-05/0.6095, allocations: 24 kB / 386.6 MB, free: 12.39 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.00415/0.6137, allocations: 1.231 MB / 387.8 MB, free: 11.19 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/0.6137, allocations: 8.031 kB / 387.8 MB, free: 11.18 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001038/0.6148, allocations: 174.3 kB / 388 MB, free: 11.01 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002501/0.6173, allocations: 0.7623 MB / 388.8 MB, free: 10.38 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.363e-05/0.6174, allocations: 80.02 kB / 388.8 MB, free: 10.33 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002314/0.6177, allocations: 102.5 kB / 388.9 MB, free: 10.26 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002734/0.6204, allocations: 0.925 MB / 389.9 MB, free: 9.613 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.267e-05/0.6205, allocations: 0 / 389.9 MB, free: 9.613 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001299/0.6207, allocations: 38.19 kB / 389.9 MB, free: 9.605 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.35e-05/0.6207, allocations: 24 kB / 389.9 MB, free: 9.582 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002343/0.6231, allocations: 0.642 MB / 390.6 MB, free: 9.152 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008608/0.6317, allocations: 3.948 MB / 394.5 MB, free: 5.73 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009878/0.6328, allocations: 348.4 kB / 394.9 MB, free: 5.363 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.707e-05/0.6329, allocations: 4.281 kB / 394.9 MB, free: 5.359 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.613e-05/0.6329, allocations: 38.84 kB / 394.9 MB, free: 5.312 MB / 314.7 MB Notification: Performance of pre-optimization done (n=33): time 2.976e-06/0.6329, allocations: 0 / 394.9 MB, free: 5.312 MB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.003994/0.637, allocations: 1.247 MB / 396.1 MB, free: 3.988 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.516e-05/0.6371, allocations: 88.95 kB / 396.2 MB, free: 3.883 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001719/0.6388, allocations: 0.7823 MB / 397 MB, free: 3.094 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.179e-05/0.6389, allocations: 33.7 kB / 397 MB, free: 3.055 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005528/0.6395, allocations: 0.5743 MB / 397.6 MB, free: 2.473 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000186/0.6397, allocations: 138.2 kB / 397.8 MB, free: 2.336 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.658e-05/0.6398, allocations: 8 kB / 397.8 MB, free: 2.328 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.6399, allocations: 338.8 kB / 398.1 MB, free: 1.988 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005903/0.6405, allocations: 149.9 kB / 398.2 MB, free: 1.844 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008028/0.6414, allocations: 476.1 kB / 398.7 MB, free: 1.238 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000705/0.6421, allocations: 235.3 kB / 398.9 MB, free: 1.008 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.406e-06/0.6421, allocations: 4 kB / 398.9 MB, free: 1.004 MB / 314.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001833/0.6439, allocations: 0.6384 MB / 399.6 MB, free: 364 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.584e-05/0.644, allocations: 15.95 kB / 399.6 MB, free: 348 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.041e-05/0.644, allocations: 16.36 kB / 399.6 MB, free: 332 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002545/0.6443, allocations: 44.78 kB / 399.6 MB, free: 284 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009778/0.6453, allocations: 171.7 kB / 399.8 MB, free: 112 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001412/0.6467, allocations: 1.288 MB / 401.1 MB, free: 14.69 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001043/0.6478, allocations: 43.89 kB / 401.1 MB, free: 14.64 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.614e-05/0.6479, allocations: 32 kB / 401.2 MB, free: 14.61 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (85): * Single equations (assignments): 84 * 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.0007194/0.6486, allocations: 261.7 kB / 401.4 MB, free: 14.35 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002248/0.6489, allocations: 86.92 kB / 401.5 MB, free: 14.26 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00129/0.6502, allocations: 398.4 kB / 401.9 MB, free: 13.86 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/0.6502, allocations: 4 kB / 401.9 MB, free: 13.86 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.6502, allocations: 0 / 401.9 MB, free: 13.86 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.445e-06/0.6502, allocations: 3.984 kB / 401.9 MB, free: 13.85 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003238/0.6535, allocations: 1.267 MB / 403.2 MB, free: 12.5 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.6535, allocations: 0 / 403.2 MB, free: 12.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006363/0.6542, allocations: 71.91 kB / 403.3 MB, free: 12.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000154/0.6544, allocations: 24.84 kB / 403.3 MB, free: 12.4 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.809e-05/0.6544, allocations: 11.95 kB / 403.3 MB, free: 12.39 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001266/0.6557, allocations: 1.284 MB / 404.6 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.6557, allocations: 4.031 kB / 404.6 MB, free: 10.97 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001823/0.6576, allocations: 0.658 MB / 405.2 MB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004349/0.658, allocations: 196.1 kB / 405.4 MB, free: 10.06 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001744/0.6582, allocations: 15.98 kB / 405.4 MB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006252/0.6589, allocations: 27.97 kB / 405.5 MB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/0.659, allocations: 27.91 kB / 405.5 MB, free: 9.992 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.593e-05/0.659, allocations: 16 kB / 405.5 MB, free: 9.977 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001203/0.6603, allocations: 0.5264 MB / 406 MB, free: 9.457 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.6603, allocations: 0 / 406 MB, free: 9.457 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001278/0.6616, allocations: 227.9 kB / 406.3 MB, free: 9.234 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.phi,dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e) * 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 (35): * Single equations (assignments): 34 * 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.0006323/0.6622, allocations: 289.5 kB / 406.5 MB, free: 8.941 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001688/0.6639, allocations: 0.5317 MB / 407.1 MB, free: 8.398 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/0.664, allocations: 0 / 407.1 MB, free: 8.398 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007366/0.6647, allocations: 278.9 kB / 407.3 MB, free: 8.113 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001764/0.6665, allocations: 195.2 kB / 407.5 MB, free: 7.918 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004952/0.6715, allocations: 2.129 MB / 409.7 MB, free: 5.73 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009356/0.6725, allocations: 1.012 MB / 410.7 MB, free: 4.691 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003222/0.6728, allocations: 59.44 kB / 410.7 MB, free: 4.633 MB / 330.7 MB Notification: Performance of SimCode: time 1.453e-06/0.6728, allocations: 0 / 410.7 MB, free: 4.633 MB / 330.7 MB Notification: Performance of Templates: time 0.03569/0.7085, allocations: 16.06 MB / 426.8 MB, free: 4.582 MB / 346.7 MB