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.DCEE_Start.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.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") Notification: Performance of loadModel(Modelica): time 2.044/2.044, allocations: 194.9 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003581/0.0003582, allocations: 8 kB / 264.5 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1015, allocations: 44.51 MB / 309.1 MB, free: 364 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4684/0.5699, allocations: 92.77 MB / 401.8 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002984/0.5703, allocations: 89.08 kB / 401.9 MB, free: 14.96 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1021/0.6724, allocations: 26.17 MB / 428.1 MB, free: 5.402 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.906e-06/0.6725, allocations: 0 / 428.1 MB, free: 5.402 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.000102/0.6726, allocations: 19.06 kB / 428.1 MB, free: 5.402 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.003521/0.6762, allocations: 1.243 MB / 429.3 MB, free: 4.535 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.6762, allocations: 11.62 kB / 429.4 MB, free: 4.535 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008902/0.6771, allocations: 178.3 kB / 429.5 MB, free: 4.449 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002095/0.6792, allocations: 0.7792 MB / 430.3 MB, free: 4.008 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.324e-05/0.6793, allocations: 72.69 kB / 430.4 MB, free: 4.004 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000184/0.6795, allocations: 93.81 kB / 430.5 MB, free: 4.004 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002313/0.6819, allocations: 0.9149 MB / 431.4 MB, free: 3.742 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.062e-05/0.682, allocations: 3.984 kB / 431.4 MB, free: 3.738 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001182/0.6821, allocations: 44.92 kB / 431.4 MB, free: 3.734 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.368e-05/0.6821, allocations: 23.25 kB / 431.5 MB, free: 3.734 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001927/0.6841, allocations: 0.6321 MB / 432.1 MB, free: 3.586 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007113/0.6912, allocations: 3.952 MB / 436 MB, free: 252 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008659/0.6921, allocations: 355.4 kB / 436.4 MB, free: 15.96 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.589e-05/0.6922, allocations: 4.281 kB / 436.4 MB, free: 15.96 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.776e-05/0.6922, allocations: 38.84 kB / 436.4 MB, free: 15.91 MB / 330.7 MB Notification: Performance of pre-optimization done (n=33): time 3.296e-06/0.6923, allocations: 0 / 436.4 MB, free: 15.91 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.003842/0.6961, allocations: 1.242 MB / 437.7 MB, free: 14.8 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.331e-05/0.6962, allocations: 81.11 kB / 437.7 MB, free: 14.71 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001605/0.6978, allocations: 0.7885 MB / 438.5 MB, free: 14.12 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.374e-05/0.6979, allocations: 29.52 kB / 438.6 MB, free: 14.09 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005436/0.6985, allocations: 0.5615 MB / 439.1 MB, free: 13.67 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001632/0.6987, allocations: 140.9 kB / 439.3 MB, free: 13.55 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.603e-05/0.6987, allocations: 11.94 kB / 439.3 MB, free: 13.55 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.6989, allocations: 335.6 kB / 439.6 MB, free: 13.23 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005728/0.6995, allocations: 156.6 kB / 439.8 MB, free: 13.12 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007952/0.7003, allocations: 465 kB / 440.2 MB, free: 12.59 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006893/0.701, allocations: 234.4 kB / 440.4 MB, free: 12.45 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/0.701, allocations: 0 / 440.4 MB, free: 12.45 MB / 330.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002049/0.7031, allocations: 0.7098 MB / 441.2 MB, free: 11.88 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.784e-05/0.7031, allocations: 8 kB / 441.2 MB, free: 11.87 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.928e-05/0.7032, allocations: 8 kB / 441.2 MB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002184/0.7034, allocations: 36.53 kB / 441.2 MB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001009/0.7044, allocations: 167.5 kB / 441.4 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001389/0.7058, allocations: 1.286 MB / 442.7 MB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009659/0.7068, allocations: 44.73 kB / 442.7 MB, free: 10.26 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.436e-05/0.7069, allocations: 34.75 kB / 442.7 MB, free: 10.23 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.0006462/0.7076, allocations: 263.8 kB / 443 MB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001849/0.7078, allocations: 86.97 kB / 443.1 MB, free: 9.953 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001205/0.709, allocations: 392.3 kB / 443.5 MB, free: 9.668 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/0.709, allocations: 4 kB / 443.5 MB, free: 9.664 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.709, allocations: 4 kB / 443.5 MB, free: 9.66 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/0.709, allocations: 3.984 kB / 443.5 MB, free: 9.656 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002991/0.712, allocations: 1.267 MB / 444.7 MB, free: 8.641 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.127e-05/0.7121, allocations: 4 kB / 444.7 MB, free: 8.637 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006324/0.7127, allocations: 76.06 kB / 444.8 MB, free: 8.562 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00014/0.7129, allocations: 23.59 kB / 444.8 MB, free: 8.539 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.444e-05/0.7129, allocations: 10.5 kB / 444.8 MB, free: 8.535 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001309/0.7143, allocations: 1.281 MB / 446.1 MB, free: 7.164 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.018e-05/0.7143, allocations: 3.938 kB / 446.1 MB, free: 7.16 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001827/0.7161, allocations: 0.6667 MB / 446.8 MB, free: 6.586 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004394/0.7166, allocations: 182.9 kB / 447 MB, free: 6.414 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001859/0.7168, allocations: 6.875 kB / 447 MB, free: 6.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008528/0.7177, allocations: 34.41 kB / 447 MB, free: 6.383 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.7178, allocations: 23.66 kB / 447 MB, free: 6.363 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.412e-05/0.7178, allocations: 15.39 kB / 447.1 MB, free: 6.352 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001145/0.719, allocations: 0.5247 MB / 447.6 MB, free: 5.973 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.719, allocations: 0 / 447.6 MB, free: 5.973 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001344/0.7204, allocations: 233.5 kB / 447.8 MB, free: 5.766 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.0006039/0.721, allocations: 296.3 kB / 448.1 MB, free: 5.5 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00168/0.7227, allocations: 0.5249 MB / 448.6 MB, free: 5.059 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.7227, allocations: 0 / 448.6 MB, free: 5.059 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006626/0.7234, allocations: 272.2 kB / 448.9 MB, free: 4.82 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001618/0.725, allocations: 198.6 kB / 449.1 MB, free: 4.672 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004824/0.7299, allocations: 2.101 MB / 451.2 MB, free: 2.633 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008492/0.7308, allocations: 1.016 MB / 452.2 MB, free: 1.586 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007865/0.7316, allocations: 103 kB / 452.3 MB, free: 1.48 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000193/0.7318, allocations: 51.44 kB / 452.3 MB, free: 1.434 MB / 330.7 MB Notification: Performance of SimCode: time 1.523e-06/0.7318, allocations: 8 kB / 452.4 MB, free: 1.426 MB / 330.7 MB Notification: Performance of Templates: time 0.03607/0.7679, allocations: 10.81 MB / 463.2 MB, free: 6.684 MB / 346.7 MB