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.SynchronousInductionMachines.SMEE_Rectifier.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.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.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier") Notification: Performance of loadModel(Modelica): time 1.695/1.695, allocations: 171.1 MB / 186.7 MB, free: 1.137 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005131/0.0005133, allocations: 15.98 kB / 233.9 MB, free: 2.387 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1034, allocations: 38.77 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier): time 0.02336/0.1268, allocations: 9.698 MB / 282.3 MB, free: 1.789 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0208/0.1477, allocations: 6.284 MB / 288.6 MB, free: 11.49 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002736/0.1505, allocations: 51.75 kB / 288.7 MB, free: 11.44 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004397/0.1549, allocations: 0.692 MB / 289.4 MB, free: 10.75 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005291/0.1603, allocations: 0.8646 MB / 290.2 MB, free: 9.879 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008772/0.1691, allocations: 1.401 MB / 291.6 MB, free: 8.477 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.007425/0.1765, allocations: 2.243 MB / 293.9 MB, free: 6.23 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003847/0.1804, allocations: 1.36 MB / 295.2 MB, free: 4.84 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003232/0.1837, allocations: 1.078 MB / 296.3 MB, free: 3.758 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003805/0.1876, allocations: 1.241 MB / 297.6 MB, free: 2.512 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001065/0.1887, allocations: 152 kB / 297.7 MB, free: 2.363 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002271/0.191, allocations: 339.7 kB / 298 MB, free: 2.031 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001743/0.1928, allocations: 0.7009 MB / 298.7 MB, free: 1.328 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001635/0.1944, allocations: 0.5782 MB / 299.3 MB, free: 0.7422 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2384/0.4329, allocations: 3.67 MB / 303 MB, free: 13.34 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.433, allocations: 0 / 303 MB, free: 13.34 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.855e-06/0.433, allocations: 1.25 kB / 303 MB, free: 13.34 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.000165/0.4332, allocations: 0 / 303 MB, free: 13.34 MB / 250.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.0108/0.444, allocations: 2.922 MB / 305.9 MB, free: 12.02 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/0.4441, allocations: 8.344 kB / 305.9 MB, free: 12.02 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00455/0.4486, allocations: 425.2 kB / 306.3 MB, free: 11.85 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007807/0.4565, allocations: 1.581 MB / 307.9 MB, free: 11.43 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004221/0.457, allocations: 180.3 kB / 308.1 MB, free: 11.41 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001593/0.4586, allocations: 243.5 kB / 308.3 MB, free: 11.41 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01413/0.4727, allocations: 2.978 MB / 311.3 MB, free: 10.95 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001577/0.473, allocations: 3.375 kB / 311.3 MB, free: 10.95 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006724/0.4737, allocations: 98.44 kB / 311.4 MB, free: 10.95 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002256/0.4739, allocations: 105.2 kB / 311.5 MB, free: 10.93 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01057/0.4845, allocations: 2.505 MB / 314 MB, free: 10.52 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02678/0.5113, allocations: 10.08 MB / 324.1 MB, free: 5.836 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004855/0.5162, allocations: 2.722 MB / 326.8 MB, free: 4.387 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004034/0.5167, allocations: 126.1 kB / 326.9 MB, free: 4.281 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.81e-05/0.5167, allocations: 50.97 kB / 327 MB, free: 4.23 MB / 250.7 MB Notification: Performance of pre-optimization done (n=148): time 5e-06/0.5167, allocations: 0 / 327 MB, free: 4.23 MB / 250.7 MB Notification: Performance of matching and sorting (n=165): time 0.0332/0.55, allocations: 8.146 MB / 335.1 MB, free: 12.96 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001487/0.5502, allocations: 175.5 kB / 335.3 MB, free: 12.76 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005929/0.5561, allocations: 1.804 MB / 337.1 MB, free: 10.91 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000498/0.5567, allocations: 53.7 kB / 337.2 MB, free: 10.85 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001627/0.5583, allocations: 1.138 MB / 338.3 MB, free: 9.703 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001114/0.5594, allocations: 0.5632 MB / 338.9 MB, free: 9.148 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002345/0.5597, allocations: 36 kB / 338.9 MB, free: 9.113 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002931/0.56, allocations: 381.9 kB / 339.3 MB, free: 8.734 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003404/0.5634, allocations: 0.855 MB / 340.1 MB, free: 7.879 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004049/0.5675, allocations: 1.292 MB / 341.4 MB, free: 6.422 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003906/0.5714, allocations: 1.034 MB / 342.4 MB, free: 5.398 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.447e-05/0.5715, allocations: 4 kB / 342.4 MB, free: 5.395 MB / 266.7 MB Notification: Performance of matching and sorting (n=239) (initialization): time 0.01253/0.584, allocations: 3.104 MB / 345.6 MB, free: 2.328 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.755e-05/0.5841, allocations: 8 kB / 345.6 MB, free: 2.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.949e-05/0.5842, allocations: 16 kB / 345.6 MB, free: 2.305 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004322/0.5885, allocations: 0.7648 MB / 346.3 MB, free: 1.535 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003649/0.5922, allocations: 368.1 kB / 346.7 MB, free: 1.195 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02749/0.6197, allocations: 11.88 MB / 358.6 MB, free: 4.719 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002833/0.6226, allocations: 99.91 kB / 358.7 MB, free: 4.621 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002685/0.6229, allocations: 72 kB / 358.8 MB, free: 4.551 MB / 282.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.002147/0.6251, allocations: 0.7212 MB / 359.5 MB, free: 3.84 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007326/0.6258, allocations: 209.5 kB / 359.7 MB, free: 3.633 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008161/0.634, allocations: 2.81 MB / 362.5 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-05/0.6341, allocations: 7.969 kB / 362.5 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.6341, allocations: 0 / 362.5 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001878/0.636, allocations: 486.4 kB / 363 MB, free: 308 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006955/0.6367, allocations: 32 kB / 363 MB, free: 276 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002113/0.6388, allocations: 103.9 kB / 363.1 MB, free: 172 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004386/0.6393, allocations: 129 kB / 363.2 MB, free: 40 kB / 282.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01151/0.6508, allocations: 2.977 MB / 366.2 MB, free: 13.08 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.008684/0.6595, allocations: 3.289 MB / 369.5 MB, free: 9.77 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002499/0.6621, allocations: 0.9464 MB / 370.4 MB, free: 8.824 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.003348/0.6655, allocations: 1.233 MB / 371.7 MB, free: 7.566 MB / 298.7 MB Notification: Performance of Backend: time 7.72e-07/0.6655, allocations: 8 kB / 371.7 MB, free: 7.559 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.007431/0.673, allocations: 2.39 MB / 374.1 MB, free: 5.125 MB / 298.7 MB Notification: Performance of SimCode: time 0.01625/0.6892, allocations: 6.74 MB / 380.8 MB, free: 14.35 MB / 314.7 MB Notification: Performance of Templates: time 0.1032/0.7925, allocations: 33.86 MB / 414.7 MB, free: 12.59 MB / 346.7 MB