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: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.961/1.961, allocations: 194.9 MB / 211.1 MB, free: 7.57 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003456/0.000346, allocations: 8 kB / 264.1 MB, free: 2.492 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2888/0.2892, allocations: 44.5 MB / 308.6 MB, free: 12.66 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier): time 0.01642/0.3056, allocations: 9.719 MB / 318.3 MB, free: 2.902 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01517/0.3209, allocations: 6.285 MB / 324.6 MB, free: 12.6 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002221/0.3232, allocations: 51.75 kB / 324.6 MB, free: 12.55 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003183/0.3264, allocations: 0.6958 MB / 325.3 MB, free: 11.85 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003956/0.3304, allocations: 0.8529 MB / 326.2 MB, free: 11 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005988/0.3364, allocations: 1.328 MB / 327.5 MB, free: 9.668 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005571/0.342, allocations: 2.22 MB / 329.7 MB, free: 7.441 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002849/0.3449, allocations: 1.36 MB / 331.1 MB, free: 6.055 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002362/0.3473, allocations: 1.059 MB / 332.1 MB, free: 4.992 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002787/0.3501, allocations: 1.241 MB / 333.4 MB, free: 3.746 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006882/0.3509, allocations: 156 kB / 333.5 MB, free: 3.594 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001458/0.3523, allocations: 323.7 kB / 333.8 MB, free: 3.277 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001082/0.3534, allocations: 0.7048 MB / 334.5 MB, free: 2.57 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001065/0.3545, allocations: 0.5704 MB / 335.1 MB, free: 1.992 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006089/0.3606, allocations: 3.674 MB / 338.8 MB, free: 14.31 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.3607, allocations: 0 / 338.8 MB, free: 14.31 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.424e-06/0.3607, allocations: 0 / 338.8 MB, free: 14.31 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001347/0.3608, allocations: 3.938 kB / 338.8 MB, free: 14.3 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.01001/0.3709, allocations: 2.922 MB / 341.7 MB, free: 11.32 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.711e-05/0.3709, allocations: 16.03 kB / 341.7 MB, free: 11.3 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001286/0.3722, allocations: 349.5 kB / 342.1 MB, free: 10.95 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002218/0.3745, allocations: 416.2 kB / 342.5 MB, free: 10.54 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00503/0.3796, allocations: 1.582 MB / 344.1 MB, free: 8.902 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002002/0.3798, allocations: 176.7 kB / 344.2 MB, free: 8.727 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006818/0.3805, allocations: 239.9 kB / 344.5 MB, free: 8.492 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008465/0.389, allocations: 2.98 MB / 347.4 MB, free: 5.398 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.875e-05/0.3891, allocations: 15.83 kB / 347.5 MB, free: 5.383 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003667/0.3895, allocations: 96 kB / 347.6 MB, free: 5.289 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001925/0.3897, allocations: 104.5 kB / 347.7 MB, free: 5.184 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00797/0.3977, allocations: 2.504 MB / 350.2 MB, free: 2.664 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02658/0.4243, allocations: 10.08 MB / 360.2 MB, free: 8.27 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005592/0.43, allocations: 2.727 MB / 363 MB, free: 5.363 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003889/0.4304, allocations: 134.4 kB / 363.1 MB, free: 5.215 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.303e-05/0.4305, allocations: 48.44 kB / 363.2 MB, free: 5.16 MB / 298.7 MB Notification: Performance of pre-optimization done (n=148): time 7.975e-06/0.4305, allocations: 0 / 363.2 MB, free: 5.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=165): time 0.03049/0.461, allocations: 8.142 MB / 371.3 MB, free: 12.82 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001224/0.4612, allocations: 171.5 kB / 371.5 MB, free: 12.62 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004088/0.4653, allocations: 1.809 MB / 373.3 MB, free: 10.77 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003758/0.4657, allocations: 53.7 kB / 373.3 MB, free: 10.71 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001305/0.467, allocations: 1.137 MB / 374.5 MB, free: 9.559 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008726/0.4679, allocations: 0.5545 MB / 375 MB, free: 8.996 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001753/0.4681, allocations: 43.94 kB / 375.1 MB, free: 8.953 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000229/0.4683, allocations: 381.9 kB / 375.4 MB, free: 8.574 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002349/0.4707, allocations: 0.8589 MB / 376.3 MB, free: 7.715 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002728/0.4734, allocations: 1.29 MB / 377.6 MB, free: 6.246 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002648/0.4761, allocations: 1.04 MB / 378.6 MB, free: 5.211 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-05/0.4761, allocations: 4 kB / 378.6 MB, free: 5.207 MB / 314.7 MB Notification: Performance of matching and sorting (n=239) (initialization): time 0.008459/0.4846, allocations: 3.094 MB / 381.7 MB, free: 2.066 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004016/0.485, allocations: 457.1 kB / 382.2 MB, free: 1.457 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.584e-05/0.4851, allocations: 12 kB / 382.2 MB, free: 1.445 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003205/0.4883, allocations: 0.7661 MB / 382.9 MB, free: 0.6602 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002694/0.491, allocations: 367.4 kB / 383.3 MB, free: 308 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02047/0.5115, allocations: 11.87 MB / 395.2 MB, free: 3.762 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002546/0.5141, allocations: 107.8 kB / 395.3 MB, free: 3.656 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000262/0.5144, allocations: 64 kB / 395.3 MB, free: 3.594 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.5144, allocations: 4 kB / 395.3 MB, free: 3.59 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007887/0.5223, allocations: 2.868 MB / 398.2 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.705e-05/0.5224, allocations: 12 kB / 398.2 MB, free: 0.6719 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003227/0.5257, allocations: 0.7638 MB / 399 MB, free: 15.89 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002725/0.5284, allocations: 367.4 kB / 399.4 MB, free: 15.53 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02012/0.5486, allocations: 11.87 MB / 411.2 MB, free: 2.996 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002426/0.551, allocations: 95.77 kB / 411.3 MB, free: 2.902 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002651/0.5513, allocations: 79.94 kB / 411.4 MB, free: 2.824 MB / 346.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.002015/0.5534, allocations: 0.7933 MB / 412.2 MB, free: 2.02 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006943/0.5541, allocations: 213.4 kB / 412.4 MB, free: 1.809 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2611/0.8152, allocations: 2.799 MB / 415.2 MB, free: 88.75 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.9e-05/0.8153, allocations: 16.97 kB / 415.2 MB, free: 88.75 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.191e-05/0.8153, allocations: 6.5 kB / 415.2 MB, free: 88.75 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.405e-05/0.8153, allocations: 9.547 kB / 415.2 MB, free: 88.75 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01441/0.8298, allocations: 5.631 MB / 420.9 MB, free: 87.61 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-05/0.8298, allocations: 3.906 kB / 420.9 MB, free: 87.61 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001931/0.8318, allocations: 231.2 kB / 421.1 MB, free: 87.59 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003275/0.8351, allocations: 0.8162 MB / 421.9 MB, free: 87.35 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002269/0.8353, allocations: 44.67 kB / 421.9 MB, free: 87.33 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01748/0.8528, allocations: 13.33 MB / 435.3 MB, free: 77.09 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.375e-06/0.8529, allocations: 11.36 kB / 435.3 MB, free: 77.08 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008797/0.8617, allocations: 4.004 MB / 439.3 MB, free: 73.74 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001409/0.8631, allocations: 484.4 kB / 439.8 MB, free: 73.35 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000452/0.8636, allocations: 39.98 kB / 439.8 MB, free: 73.31 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001946/0.8656, allocations: 98.91 kB / 439.9 MB, free: 73.22 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004394/0.866, allocations: 140.5 kB / 440 MB, free: 73.08 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001319/0.8662, allocations: 40 kB / 440.1 MB, free: 73.04 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002394/0.8686, allocations: 1.234 MB / 441.3 MB, free: 71.79 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.8686, allocations: 0 / 441.3 MB, free: 71.79 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.004913/0.8735, allocations: 1.071 MB / 442.4 MB, free: 70.72 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (122): * Single equations (assignments): 116 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 16,(1,100.0%) 3,(2,100.0%) 1} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.009205/0.8828, allocations: 4.668 MB / 447 MB, free: 66.08 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0104/0.8932, allocations: 5.226 MB / 452.3 MB, free: 60.71 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.488e-06/0.8933, allocations: 0 / 452.3 MB, free: 60.71 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004395/0.8977, allocations: 2.073 MB / 454.3 MB, free: 58.57 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003733/0.9015, allocations: 0.5217 MB / 454.9 MB, free: 58.08 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01609/0.9176, allocations: 8.056 MB / 462.9 MB, free: 49.68 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001921/0.9196, allocations: 2.014 MB / 464.9 MB, free: 47.64 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.002634/0.9223, allocations: 0.5049 MB / 465.4 MB, free: 47.13 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001621/0.9239, allocations: 0.9757 MB / 466.4 MB, free: 46.15 MB / 346.7 MB Notification: Performance of SimCode: time 1.162e-06/0.9239, allocations: 0 / 466.4 MB, free: 46.15 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1383/1.062, allocations: 58.37 MB / 0.5125 GB, free: 3.723 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003788/1.063, allocations: 248.4 kB / 0.5127 GB, free: 3.391 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.651/5.714, allocations: 0 / 0.5127 GB, free: 3.391 MB / 362.7 MB