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.SynchronousInductionMachines.SMEE_Rectifier.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.SynchronousInductionMachines.SMEE_Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=22000,variableFilter="time|capacitor1.v|capacitor2.v|filter.x.1.|filter.x.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.lesigma.i|speed.phi|speed.w|voltageController.I.y",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier") Notification: Performance of loadModel(Modelica): time 2.075/2.075, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004866/0.0004867, allocations: 15.94 kB / 264.5 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09479/0.09532, allocations: 44.51 MB / 309.1 MB, free: 372 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5224/0.6178, allocations: 120.8 MB / 429.8 MB, free: 2.523 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003757/0.6182, allocations: 93.77 kB / 429.9 MB, free: 2.473 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3293/0.9475, allocations: 54.99 MB / 484.9 MB, free: 3.234 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.657e-06/0.9476, allocations: 0 / 484.9 MB, free: 3.234 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0004454/0.9481, allocations: 67.94 kB / 485 MB, free: 3.168 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 610 * Number of variables: 610 Notification: Performance of Generate backend data structure: time 0.01743/0.9655, allocations: 2.906 MB / 487.9 MB, free: 200 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.718e-05/0.9656, allocations: 8.031 kB / 487.9 MB, free: 192 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004602/0.9702, allocations: 436.3 kB / 488.3 MB, free: 15.76 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009759/0.9801, allocations: 1.722 MB / 490 MB, free: 13.98 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003984/0.9805, allocations: 180.7 kB / 490.2 MB, free: 13.8 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001519/0.9821, allocations: 239.9 kB / 490.4 MB, free: 13.57 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01602/0.9981, allocations: 2.983 MB / 493.4 MB, free: 10.42 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000194/0.9984, allocations: 11.84 kB / 493.4 MB, free: 10.41 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000832/0.9993, allocations: 100 kB / 493.5 MB, free: 10.31 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000239/0.9995, allocations: 100.5 kB / 493.6 MB, free: 10.21 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01289/1.012, allocations: 2.419 MB / 496.1 MB, free: 7.777 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03545/1.048, allocations: 10.09 MB / 0.4943 GB, free: 13.38 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006119/1.054, allocations: 2.772 MB / 0.497 GB, free: 10.43 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005013/1.055, allocations: 142.4 kB / 0.4971 GB, free: 10.28 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.719e-05/1.055, allocations: 55.83 kB / 0.4972 GB, free: 10.21 MB / 394.7 MB Notification: Performance of pre-optimization done (n=151): time 6.752e-06/1.055, allocations: 0 / 0.4972 GB, free: 10.21 MB / 394.7 MB Notification: Performance of matching and sorting (n=174): time 0.03673/1.092, allocations: 9.055 MB / 0.506 GB, free: 0.9922 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001322/1.092, allocations: 176.2 kB / 0.5062 GB, free: 0.7852 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004422/1.096, allocations: 1.801 MB / 0.508 GB, free: 14.94 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004681/1.097, allocations: 57.7 kB / 0.508 GB, free: 14.88 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001445/1.098, allocations: 1.145 MB / 0.5091 GB, free: 13.71 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001145/1.099, allocations: 0.5892 MB / 0.5097 GB, free: 13.12 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002149/1.1, allocations: 36 kB / 0.5097 GB, free: 13.08 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002532/1.1, allocations: 381.9 kB / 0.5101 GB, free: 12.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002778/1.103, allocations: 0.9096 MB / 0.511 GB, free: 11.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003372/1.106, allocations: 1.343 MB / 0.5123 GB, free: 10.28 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003223/1.109, allocations: 1.099 MB / 0.5134 GB, free: 9.184 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.666e-05/1.109, allocations: 7.953 kB / 0.5134 GB, free: 9.176 MB / 410.7 MB Notification: Performance of matching and sorting (n=248) (initialization): time 0.01071/1.12, allocations: 3.306 MB / 0.5166 GB, free: 5.844 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004407/1.121, allocations: 444.9 kB / 0.517 GB, free: 5.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-05/1.121, allocations: 23.92 kB / 0.5171 GB, free: 5.227 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004502/1.125, allocations: 0.9565 MB / 0.518 GB, free: 4.254 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002823/1.128, allocations: 371.4 kB / 0.5183 GB, free: 3.891 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3677/1.496, allocations: 12.32 MB / 0.5304 GB, free: 94.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004197/1.5, allocations: 107.8 kB / 0.5305 GB, free: 94.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007155/1.501, allocations: 79.95 kB / 0.5306 GB, free: 94.28 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/1.501, allocations: 7.562 kB / 0.5306 GB, free: 94.28 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01296/1.514, allocations: 3.057 MB / 0.5335 GB, free: 94.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.562e-05/1.514, allocations: 19.05 kB / 0.5336 GB, free: 94.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005815/1.52, allocations: 0.9709 MB / 0.5345 GB, free: 94.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004463/1.524, allocations: 354.9 kB / 0.5349 GB, free: 94.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02556/1.55, allocations: 12.32 MB / 0.5469 GB, free: 88.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002806/1.553, allocations: 100.9 kB / 0.547 GB, free: 88.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004591/1.553, allocations: 80.48 kB / 0.5471 GB, free: 88.81 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (189): * Single equations (assignments): 182 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,72.2%) 27} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.002332/1.556, allocations: 0.8006 MB / 0.5478 GB, free: 88.62 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007041/1.556, allocations: 213.3 kB / 0.548 GB, free: 88.62 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008288/1.565, allocations: 2.969 MB / 0.5509 GB, free: 88.46 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.49e-05/1.565, allocations: 19.19 kB / 0.551 GB, free: 88.46 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.076e-05/1.565, allocations: 13.97 kB / 0.551 GB, free: 88.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.265e-05/1.565, allocations: 10.97 kB / 0.551 GB, free: 88.46 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01609/1.581, allocations: 5.885 MB / 0.5567 GB, free: 86.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.626e-05/1.581, allocations: 0 / 0.5567 GB, free: 86.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001967/1.583, allocations: 223.5 kB / 0.5569 GB, free: 86.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004541/1.588, allocations: 1.016 MB / 0.5579 GB, free: 86.72 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003798/1.588, allocations: 49.95 kB / 0.558 GB, free: 86.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02241/1.61, allocations: 14.05 MB / 0.5717 GB, free: 77.08 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/1.611, allocations: 4.906 kB / 0.5717 GB, free: 77.08 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01087/1.621, allocations: 4.306 MB / 0.5759 GB, free: 75.29 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001974/1.623, allocations: 499.9 kB / 0.5764 GB, free: 74.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008381/1.624, allocations: 39.78 kB / 0.5764 GB, free: 74.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002424/1.627, allocations: 99.91 kB / 0.5765 GB, free: 74.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006794/1.627, allocations: 140.1 kB / 0.5767 GB, free: 74.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001993/1.628, allocations: 48.31 kB / 0.5767 GB, free: 74.9 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00323/1.631, allocations: 1.236 MB / 0.5779 GB, free: 74.39 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.62e-07/1.631, allocations: 0 / 0.5779 GB, free: 74.39 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006783/1.638, allocations: 1.188 MB / 0.5791 GB, free: 74.29 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 12 (smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],speed.phi,speed.w,voltageController.I.y,capacitor1.v,capacitor2.v,filter.x[1],filter.x[2]) * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 109 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,75.0%) 27,(2,100.0%) 4} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001229/1.639, allocations: 374 kB / 0.5794 GB, free: 74.17 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01383/1.653, allocations: 5.469 MB / 0.5848 GB, free: 71.48 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.332e-05/1.653, allocations: 7.906 kB / 0.5848 GB, free: 71.48 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005539/1.659, allocations: 2.136 MB / 0.5869 GB, free: 70.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004411/1.663, allocations: 0.518 MB / 0.5874 GB, free: 70.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01678/1.68, allocations: 6.619 MB / 0.5938 GB, free: 66.78 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003071/1.683, allocations: 2.033 MB / 0.5958 GB, free: 65.86 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002947/1.686, allocations: 498.9 kB / 0.5963 GB, free: 65.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006667/1.687, allocations: 117.4 kB / 0.5964 GB, free: 65.81 MB / 410.7 MB Notification: Performance of SimCode: time 1.603e-06/1.687, allocations: 4 kB / 0.5964 GB, free: 65.81 MB / 410.7 MB Notification: Performance of Templates: time 0.111/1.798, allocations: 45.86 MB / 0.6412 GB, free: 32.87 MB / 410.7 MB