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.954/1.954, allocations: 194.9 MB / 211.1 MB, free: 8.566 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003703/0.0003705, allocations: 8 kB / 264.1 MB, free: 3.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.289/0.2894, allocations: 44.49 MB / 308.6 MB, free: 12.68 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4852/0.7746, allocations: 120.8 MB / 429.4 MB, free: 47.99 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003005/0.775, allocations: 91.27 kB / 429.4 MB, free: 47.99 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2157/0.9907, allocations: 54.99 MB / 484.4 MB, free: 30.08 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.286e-06/0.9908, allocations: 3.938 kB / 484.4 MB, free: 30.07 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.000308/0.9911, allocations: 67.94 kB / 484.5 MB, free: 30.01 MB / 346.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.01067/1.002, allocations: 2.916 MB / 487.4 MB, free: 27.22 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.346e-05/1.002, allocations: 12.03 kB / 487.4 MB, free: 27.21 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001336/1.003, allocations: 342 kB / 487.8 MB, free: 27.02 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002126/1.005, allocations: 436.3 kB / 488.2 MB, free: 26.59 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005495/1.011, allocations: 1.715 MB / 489.9 MB, free: 25.24 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002026/1.011, allocations: 176.7 kB / 490.1 MB, free: 25.14 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009717/1.012, allocations: 238.5 kB / 490.3 MB, free: 24.98 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008654/1.021, allocations: 2.986 MB / 493.3 MB, free: 22.84 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001171/1.021, allocations: 15.83 kB / 493.3 MB, free: 22.82 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000392/1.021, allocations: 99 kB / 493.4 MB, free: 22.8 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001171/1.021, allocations: 100.5 kB / 493.5 MB, free: 22.7 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007553/1.029, allocations: 2.426 MB / 495.9 MB, free: 20.25 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02369/1.053, allocations: 10.08 MB / 0.4942 GB, free: 9.863 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004996/1.058, allocations: 2.777 MB / 0.4969 GB, free: 6.906 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004739/1.058, allocations: 146.3 kB / 0.497 GB, free: 6.746 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.492e-05/1.058, allocations: 51.83 kB / 0.4971 GB, free: 6.688 MB / 346.7 MB Notification: Performance of pre-optimization done (n=151): time 4.718e-06/1.058, allocations: 4 kB / 0.4971 GB, free: 6.684 MB / 346.7 MB Notification: Performance of matching and sorting (n=174): time 0.03391/1.092, allocations: 9.048 MB / 0.5059 GB, free: 13.47 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001288/1.093, allocations: 176.2 kB / 0.5061 GB, free: 13.26 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004113/1.097, allocations: 1.604 MB / 0.5076 GB, free: 11.61 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004612/1.097, allocations: 57.7 kB / 0.5077 GB, free: 11.55 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001357/1.099, allocations: 1.141 MB / 0.5088 GB, free: 10.4 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001035/1.1, allocations: 0.5891 MB / 0.5094 GB, free: 9.801 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00019/1.1, allocations: 39.94 kB / 0.5094 GB, free: 9.762 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002211/1.1, allocations: 385.9 kB / 0.5098 GB, free: 9.379 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002581/1.103, allocations: 0.9057 MB / 0.5107 GB, free: 8.473 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003099/1.106, allocations: 1.351 MB / 0.512 GB, free: 6.957 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003055/1.109, allocations: 1.095 MB / 0.5131 GB, free: 5.863 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.74e-05/1.109, allocations: 7.953 kB / 0.5131 GB, free: 5.855 MB / 362.7 MB Notification: Performance of matching and sorting (n=248) (initialization): time 0.01298/1.122, allocations: 3.294 MB / 0.5163 GB, free: 2.535 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002879/1.125, allocations: 4.715 MB / 0.5209 GB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.264e-05/1.125, allocations: 16 kB / 0.5209 GB, free: 13.42 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005768/1.131, allocations: 0.9603 MB / 0.5218 GB, free: 12.44 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003666/1.135, allocations: 371.4 kB / 0.5222 GB, free: 12.08 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03302/1.168, allocations: 12.32 MB / 0.5342 GB, free: 15.21 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003748/1.171, allocations: 111.9 kB / 0.5343 GB, free: 15.1 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005581/1.172, allocations: 72 kB / 0.5344 GB, free: 15.03 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/1.172, allocations: 7.938 kB / 0.5344 GB, free: 15.02 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0125/1.185, allocations: 3.061 MB / 0.5374 GB, free: 11.94 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001003/1.185, allocations: 15.95 kB / 0.5374 GB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005795/1.191, allocations: 0.9731 MB / 0.5384 GB, free: 10.94 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003293/1.194, allocations: 359.4 kB / 0.5387 GB, free: 10.59 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02417/1.218, allocations: 12.32 MB / 0.5507 GB, free: 13.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002684/1.221, allocations: 107.8 kB / 0.5508 GB, free: 13.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004361/1.221, allocations: 79.89 kB / 0.5509 GB, free: 13.55 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.002498/1.224, allocations: 0.805 MB / 0.5517 GB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008429/1.225, allocations: 209.5 kB / 0.5519 GB, free: 12.53 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009432/1.234, allocations: 2.968 MB / 0.5548 GB, free: 9.531 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.724e-05/1.234, allocations: 16 kB / 0.5548 GB, free: 9.516 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.634e-05/1.234, allocations: 12 kB / 0.5548 GB, free: 9.504 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.492e-05/1.234, allocations: 7.969 kB / 0.5548 GB, free: 9.496 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01789/1.252, allocations: 5.876 MB / 0.5606 GB, free: 3.512 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-05/1.252, allocations: 0 / 0.5606 GB, free: 3.512 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002/1.254, allocations: 223.9 kB / 0.5608 GB, free: 3.293 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004843/1.259, allocations: 1.035 MB / 0.5618 GB, free: 2.242 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003834/1.26, allocations: 39.98 kB / 0.5618 GB, free: 2.203 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.295/1.555, allocations: 14.05 MB / 0.5755 GB, free: 98.46 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/1.555, allocations: 6.531 kB / 0.5756 GB, free: 98.46 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01053/1.565, allocations: 4.444 MB / 0.5799 GB, free: 97.96 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001687/1.567, allocations: 487 kB / 0.5804 GB, free: 97.87 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005756/1.568, allocations: 40.12 kB / 0.5804 GB, free: 97.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00211/1.57, allocations: 102.4 kB / 0.5805 GB, free: 97.87 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000504/1.57, allocations: 137.7 kB / 0.5806 GB, free: 97.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001615/1.57, allocations: 50.11 kB / 0.5807 GB, free: 97.87 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002762/1.573, allocations: 1.237 MB / 0.5819 GB, free: 97.72 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.333e-06/1.573, allocations: 0 / 0.5819 GB, free: 97.72 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006006/1.579, allocations: 1.189 MB / 0.583 GB, free: 97.72 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.0118/1.591, allocations: 5.779 MB / 0.5887 GB, free: 96.19 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01303/1.604, allocations: 5.467 MB / 0.594 GB, free: 94.86 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.014e-05/1.604, allocations: 3.25 kB / 0.594 GB, free: 94.86 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005219/1.609, allocations: 2.139 MB / 0.5961 GB, free: 94.21 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004179/1.614, allocations: 0.5171 MB / 0.5966 GB, free: 94.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02056/1.634, allocations: 15.79 MB / 0.612 GB, free: 82.44 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002263/1.637, allocations: 2.033 MB / 0.614 GB, free: 81.52 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002891/1.639, allocations: 0.4954 MB / 0.6145 GB, free: 81.47 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002147/1.642, allocations: 0.9665 MB / 0.6155 GB, free: 80.69 MB / 410.7 MB Notification: Performance of SimCode: time 1.522e-06/1.642, allocations: 0 / 0.6155 GB, free: 80.69 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1514/1.793, allocations: 65.5 MB / 0.6794 GB, free: 35.45 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001989/1.793, allocations: 259.6 kB / 0.6797 GB, free: 35.11 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.447/7.241, allocations: 0 / 0.6797 GB, free: 35.11 MB / 410.7 MB