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.128/2.128, allocations: 194.9 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005388/0.000539, allocations: 12 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1035, allocations: 44.51 MB / 309.1 MB, free: 352 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier): time 0.01653/0.1201, allocations: 9.711 MB / 318.8 MB, free: 6.594 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01514/0.1353, allocations: 6.273 MB / 325.1 MB, free: 316 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00197/0.1373, allocations: 51.75 kB / 325.1 MB, free: 264 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003186/0.1406, allocations: 0.6959 MB / 325.8 MB, free: 15.56 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003892/0.1445, allocations: 0.8607 MB / 326.7 MB, free: 14.7 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006116/0.1506, allocations: 1.33 MB / 328 MB, free: 13.36 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.005491/0.1562, allocations: 2.216 MB / 330.2 MB, free: 11.14 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003017/0.1592, allocations: 1.364 MB / 331.6 MB, free: 9.75 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002434/0.1617, allocations: 1.062 MB / 332.6 MB, free: 8.684 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002883/0.1646, allocations: 1.233 MB / 333.9 MB, free: 7.445 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001329/0.166, allocations: 152 kB / 334 MB, free: 7.297 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002889/0.169, allocations: 335.7 kB / 334.3 MB, free: 6.969 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00248/0.1715, allocations: 0.7009 MB / 335 MB, free: 6.266 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002214/0.1738, allocations: 0.5705 MB / 335.6 MB, free: 5.688 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008648/0.1825, allocations: 3.681 MB / 339.3 MB, free: 1.996 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1826, allocations: 0 / 339.3 MB, free: 1.996 MB / 282.7 MB Notification: Performance of FrontEnd: time 5e-06/0.1826, allocations: 4 kB / 339.3 MB, free: 1.992 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001658/0.1828, allocations: 7.938 kB / 339.3 MB, free: 1.984 MB / 282.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.01002/0.1928, allocations: 2.902 MB / 342.2 MB, free: 15.02 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.223e-05/0.1929, allocations: 12.02 kB / 342.2 MB, free: 15 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002455/0.1953, allocations: 420.1 kB / 342.6 MB, free: 14.59 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005052/0.2004, allocations: 1.59 MB / 344.2 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002268/0.2007, allocations: 172.7 kB / 344.4 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000821/0.2015, allocations: 239.9 kB / 344.6 MB, free: 12.54 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009261/0.2108, allocations: 2.984 MB / 347.6 MB, free: 9.441 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001064/0.211, allocations: 11.84 kB / 347.6 MB, free: 9.43 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003801/0.2114, allocations: 99.98 kB / 347.7 MB, free: 9.332 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001804/0.2116, allocations: 116.4 kB / 347.8 MB, free: 9.215 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008224/0.2198, allocations: 2.504 MB / 350.3 MB, free: 6.695 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0282/0.248, allocations: 10.08 MB / 360.4 MB, free: 12.3 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005915/0.254, allocations: 2.72 MB / 363.1 MB, free: 9.402 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004708/0.2545, allocations: 126.3 kB / 363.3 MB, free: 9.262 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.788e-05/0.2546, allocations: 51.86 kB / 363.3 MB, free: 9.203 MB / 314.7 MB Notification: Performance of pre-optimization done (n=148): time 5.371e-06/0.2546, allocations: 0 / 363.3 MB, free: 9.203 MB / 314.7 MB Notification: Performance of matching and sorting (n=165): time 0.03217/0.2868, allocations: 8.146 MB / 371.5 MB, free: 0.8672 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001216/0.287, allocations: 171.5 kB / 371.6 MB, free: 0.6641 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2492/0.5362, allocations: 1.801 MB / 373.4 MB, free: 60.5 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004309/0.5367, allocations: 58.55 kB / 373.5 MB, free: 60.46 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001244/0.538, allocations: 1.129 MB / 374.6 MB, free: 60.01 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007732/0.5388, allocations: 0.5638 MB / 375.2 MB, free: 59.61 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001923/0.539, allocations: 39.78 kB / 375.2 MB, free: 59.58 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001924/0.5392, allocations: 377.7 kB / 375.6 MB, free: 59.25 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002686/0.5419, allocations: 0.8594 MB / 376.5 MB, free: 58.94 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003031/0.545, allocations: 1.298 MB / 377.7 MB, free: 58.14 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003133/0.5482, allocations: 1.037 MB / 378.8 MB, free: 57.72 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.549e-05/0.5483, allocations: 4.406 kB / 378.8 MB, free: 57.72 MB / 314.7 MB Notification: Performance of matching and sorting (n=239) (initialization): time 0.009878/0.5582, allocations: 3.099 MB / 381.9 MB, free: 56.44 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002829/0.5585, allocations: 448.3 kB / 382.3 MB, free: 55.89 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.472e-05/0.5585, allocations: 13.34 kB / 382.3 MB, free: 55.89 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0033/0.5619, allocations: 0.7681 MB / 383.1 MB, free: 55.66 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002722/0.5646, allocations: 368.9 kB / 383.5 MB, free: 55.62 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01733/0.582, allocations: 11.88 MB / 395.3 MB, free: 46.69 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00254/0.5846, allocations: 107.1 kB / 395.4 MB, free: 46.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003423/0.585, allocations: 71.31 kB / 395.5 MB, free: 46.64 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.585, allocations: 3.938 kB / 395.5 MB, free: 46.64 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007173/0.5922, allocations: 2.861 MB / 398.4 MB, free: 45.14 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.782e-05/0.5923, allocations: 15.8 kB / 398.4 MB, free: 45.14 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002895/0.5952, allocations: 0.7707 MB / 399.2 MB, free: 44.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002529/0.5978, allocations: 361.8 kB / 399.5 MB, free: 44.65 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01739/0.6152, allocations: 11.85 MB / 411.4 MB, free: 32.22 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002558/0.6178, allocations: 99.91 kB / 411.5 MB, free: 32.12 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003181/0.6182, allocations: 72 kB / 411.5 MB, free: 32.05 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (191): * Single equations (assignments): 183 * 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: 5 * 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: 2 {(3,100.0%) 16,(1,100.0%) 3} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.001947/0.6201, allocations: 0.8054 MB / 412.3 MB, free: 31.24 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006501/0.6208, allocations: 215.6 kB / 412.6 MB, free: 31.03 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007349/0.6282, allocations: 2.802 MB / 415.4 MB, free: 28.18 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.524e-05/0.6282, allocations: 11.92 kB / 415.4 MB, free: 28.16 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.193e-06/0.6283, allocations: 0 / 415.4 MB, free: 28.16 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001568/0.6298, allocations: 478.3 kB / 415.8 MB, free: 27.68 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006967/0.6306, allocations: 39.98 kB / 415.9 MB, free: 27.64 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002063/0.6327, allocations: 103.9 kB / 416 MB, free: 27.54 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003817/0.6331, allocations: 121.1 kB / 416.1 MB, free: 27.42 MB / 314.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009731/0.6428, allocations: 2.968 MB / 419.1 MB, free: 24.46 MB / 314.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.006881/0.6497, allocations: 3.292 MB / 422.4 MB, free: 21.15 MB / 314.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002019/0.6518, allocations: 0.9432 MB / 423.3 MB, free: 20.21 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002589/0.6544, allocations: 1.233 MB / 424.5 MB, free: 18.95 MB / 314.7 MB Notification: Performance of Backend: time 1.112e-06/0.6545, allocations: 0 / 424.5 MB, free: 18.95 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.01087/0.6653, allocations: 4.598 MB / 429.1 MB, free: 14.2 MB / 314.7 MB Notification: Performance of SimCode: time 0.01283/0.6782, allocations: 6.779 MB / 435.9 MB, free: 7.363 MB / 314.7 MB Notification: Performance of Templates: time 0.1158/0.7941, allocations: 42.49 MB / 478.4 MB, free: 12.88 MB / 362.7 MB