Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.991/1.991, allocations: 194.9 MB / 211.1 MB, free: 7.578 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004996/0.0004997, allocations: 8 kB / 264.1 MB, free: 2.492 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2844/0.2849, allocations: 44.5 MB / 308.6 MB, free: 12.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier): time 0.02384/0.3088, allocations: 13.58 MB / 322.1 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01898/0.3279, allocations: 7.686 MB / 329.8 MB, free: 7.305 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003352/0.3313, allocations: 87.62 kB / 329.9 MB, free: 7.219 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004459/0.3358, allocations: 0.9211 MB / 330.8 MB, free: 6.293 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006573/0.3424, allocations: 1.468 MB / 332.3 MB, free: 4.82 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008076/0.3505, allocations: 1.725 MB / 334 MB, free: 3.094 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.008796/0.3593, allocations: 3.431 MB / 337.5 MB, free: 15.66 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00477/0.3641, allocations: 2.242 MB / 339.7 MB, free: 13.37 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003363/0.3675, allocations: 1.506 MB / 341.2 MB, free: 11.86 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004131/0.3717, allocations: 1.743 MB / 343 MB, free: 10.11 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001078/0.3728, allocations: 236 kB / 343.2 MB, free: 9.875 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002478/0.3753, allocations: 0.4995 MB / 343.7 MB, free: 9.375 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001318/0.3767, allocations: 0.8291 MB / 344.5 MB, free: 8.543 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00171/0.3784, allocations: 0.8512 MB / 345.4 MB, free: 7.684 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009907/0.3883, allocations: 6.034 MB / 351.4 MB, free: 1.633 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3884, allocations: 0 / 351.4 MB, free: 1.633 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.476e-06/0.3884, allocations: 0 / 351.4 MB, free: 1.633 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001843/0.3886, allocations: 0 / 351.4 MB, free: 1.633 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: 949 * Number of variables: 949 Notification: Performance of Generate backend data structure: time 0.01761/0.4062, allocations: 4.39 MB / 355.8 MB, free: 13.17 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.242e-05/0.4063, allocations: 12.03 kB / 355.8 MB, free: 13.16 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001821/0.4081, allocations: 0.4983 MB / 356.3 MB, free: 12.65 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008484/0.4166, allocations: 0.9863 MB / 357.3 MB, free: 11.66 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008407/0.4251, allocations: 2.516 MB / 359.8 MB, free: 9.094 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003081/0.4254, allocations: 271.3 kB / 360.1 MB, free: 8.828 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001018/0.4265, allocations: 363.9 kB / 360.4 MB, free: 8.473 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01347/0.4399, allocations: 4.624 MB / 365 MB, free: 3.781 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001116/0.4401, allocations: 0 / 365 MB, free: 3.781 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005485/0.4407, allocations: 152 kB / 365.2 MB, free: 3.633 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002247/0.4409, allocations: 163.1 kB / 365.4 MB, free: 3.473 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01207/0.453, allocations: 3.959 MB / 369.3 MB, free: 15.51 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05215/0.5052, allocations: 15.75 MB / 385.1 MB, free: 15.34 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01648/0.5217, allocations: 7.857 MB / 392.9 MB, free: 6.617 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01523/0.537, allocations: 4.344 MB / 397.3 MB, free: 2.117 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.255e-05/0.5371, allocations: 56.56 kB / 397.3 MB, free: 2.055 MB / 330.7 MB Notification: Performance of pre-optimization done (n=188): time 4.569e-06/0.5371, allocations: 0 / 397.3 MB, free: 2.055 MB / 330.7 MB Notification: Performance of matching and sorting (n=192): time 0.02444/0.5616, allocations: 7.416 MB / 404.7 MB, free: 10.45 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001268/0.5617, allocations: 180.2 kB / 404.9 MB, free: 10.24 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004835/0.5666, allocations: 2.172 MB / 407.1 MB, free: 8.039 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003115/0.5669, allocations: 65.7 kB / 407.2 MB, free: 7.969 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001719/0.5687, allocations: 1.636 MB / 408.8 MB, free: 6.309 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008555/0.5695, allocations: 0.643 MB / 409.4 MB, free: 5.656 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001881/0.5697, allocations: 51.98 kB / 409.5 MB, free: 5.605 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000249/0.57, allocations: 390.5 kB / 409.9 MB, free: 5.219 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002482/0.5725, allocations: 0.8907 MB / 410.8 MB, free: 4.324 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00302/0.5755, allocations: 1.494 MB / 412.2 MB, free: 2.555 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002936/0.5785, allocations: 1.13 MB / 413.4 MB, free: 1.43 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.51e-05/0.5785, allocations: 4 kB / 413.4 MB, free: 1.426 MB / 346.7 MB Notification: Performance of matching and sorting (n=293) (initialization): time 0.3007/0.8792, allocations: 3.196 MB / 416.6 MB, free: 88.03 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004286/0.8797, allocations: 0.616 MB / 417.2 MB, free: 87.3 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.453e-05/0.8798, allocations: 20.3 kB / 417.2 MB, free: 87.3 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00171/0.8815, allocations: 478.2 kB / 417.7 MB, free: 87.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003584/0.8851, allocations: 0.4895 MB / 418.2 MB, free: 87.27 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009578/0.8947, allocations: 8.169 MB / 426.3 MB, free: 80.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0027/0.8974, allocations: 94.27 kB / 426.4 MB, free: 80.72 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002295/0.8977, allocations: 97.31 kB / 426.5 MB, free: 80.7 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.8977, allocations: 3.625 kB / 426.5 MB, free: 80.7 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006694/0.9044, allocations: 2.925 MB / 429.5 MB, free: 79.45 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.937e-05/0.9045, allocations: 20.41 kB / 429.5 MB, free: 79.45 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001529/0.906, allocations: 468.8 kB / 429.9 MB, free: 79.29 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004063/0.9101, allocations: 496.9 kB / 430.4 MB, free: 79.25 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009811/0.9199, allocations: 8.181 MB / 438.6 MB, free: 72.69 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003602/0.9236, allocations: 91.53 kB / 438.7 MB, free: 72.65 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003313/0.9239, allocations: 92.7 kB / 438.8 MB, free: 72.63 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 80 * 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 (261): * Single equations (assignments): 254 * 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 {(1,100.0%) 5} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.003483/0.9274, allocations: 1.149 MB / 439.9 MB, free: 71.95 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008451/0.9283, allocations: 250.3 kB / 440.2 MB, free: 71.95 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009018/0.9373, allocations: 2.841 MB / 443 MB, free: 69.77 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-05/0.9374, allocations: 24 kB / 443 MB, free: 69.75 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.627e-05/0.9375, allocations: 4 kB / 443 MB, free: 69.74 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.473e-05/0.9375, allocations: 7.969 kB / 443 MB, free: 69.73 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01916/0.9567, allocations: 6.281 MB / 449.3 MB, free: 63.36 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-05/0.9567, allocations: 0 / 449.3 MB, free: 63.36 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003084/0.9598, allocations: 267.7 kB / 449.6 MB, free: 63.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003372/0.9632, allocations: 0.6563 MB / 450.2 MB, free: 62.42 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002552/0.9635, allocations: 51.94 kB / 450.3 MB, free: 62.37 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02145/0.985, allocations: 12.8 MB / 463.1 MB, free: 48.9 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.239e-06/0.985, allocations: 0 / 463.1 MB, free: 48.9 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01246/0.9975, allocations: 4.116 MB / 467.2 MB, free: 44.69 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00215/0.9997, allocations: 0.529 MB / 467.7 MB, free: 44.14 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007897/1.001, allocations: 40 kB / 467.8 MB, free: 44.1 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002945/1.004, allocations: 91.94 kB / 467.9 MB, free: 44.01 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006206/1.004, allocations: 149.7 kB / 468 MB, free: 43.86 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002104/1.004, allocations: 48 kB / 468.1 MB, free: 43.82 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0037/1.008, allocations: 1.481 MB / 469.5 MB, free: 42.32 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.72e-07/1.008, allocations: 0 / 469.5 MB, free: 42.32 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.006314/1.014, allocations: 1.281 MB / 470.8 MB, free: 41.05 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 12 (smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smee.excitation.electroMagneticConverter.Phi.re,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 (139): * Single equations (assignments): 133 * 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 {(1,100.0%) 5,(1,100.0%) 8,(2,100.0%) 15} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.01001/1.025, allocations: 4.783 MB / 475.6 MB, free: 36.17 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.009783/1.034, allocations: 4.906 MB / 480.5 MB, free: 31.12 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.036e-05/1.034, allocations: 3.719 kB / 480.5 MB, free: 31.12 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004271/1.039, allocations: 2.042 MB / 482.6 MB, free: 29 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004378/1.043, allocations: 0.6177 MB / 483.2 MB, free: 28.39 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02092/1.064, allocations: 10.4 MB / 493.6 MB, free: 17.57 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003089/1.067, allocations: 2.569 MB / 496.1 MB, free: 14.97 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.003902/1.071, allocations: 0.6101 MB / 496.8 MB, free: 14.35 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002495/1.074, allocations: 1.366 MB / 498.1 MB, free: 12.98 MB / 346.7 MB Notification: Performance of SimCode: time 1.422e-06/1.074, allocations: 0 / 498.1 MB, free: 12.98 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1669/1.241, allocations: 65.96 MB / 0.5509 GB, free: 10.93 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000333/1.241, allocations: 240.8 kB / 0.5511 GB, free: 10.68 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.006/6.247, allocations: 3.938 kB / 0.5511 GB, free: 10.68 MB / 410.7 MB