Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_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_cpp_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.024/2.024, allocations: 194.9 MB / 211.7 MB, free: 2.992 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003502/0.0003504, allocations: 12 kB / 264 MB, free: 13.47 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09682/0.09721, allocations: 44.5 MB / 308.5 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5215/0.6187, allocations: 120.8 MB / 429.3 MB, free: 2.918 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004639/0.6192, allocations: 89.83 kB / 429.4 MB, free: 2.871 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2587/0.878, allocations: 54.98 MB / 484.4 MB, free: 3.715 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.046e-06/0.878, allocations: 3.938 kB / 484.4 MB, free: 3.711 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003468/0.8784, allocations: 71.92 kB / 484.5 MB, free: 3.641 MB / 362.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.01187/0.8903, allocations: 2.914 MB / 487.4 MB, free: 0.6602 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.96e-05/0.8903, allocations: 12.03 kB / 487.4 MB, free: 0.6484 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001638/0.892, allocations: 341.5 kB / 487.7 MB, free: 312 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002431/0.8944, allocations: 432.3 kB / 488.2 MB, free: 15.88 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006006/0.9005, allocations: 1.722 MB / 489.9 MB, free: 14.1 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002267/0.9007, allocations: 172.7 kB / 490 MB, free: 13.93 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009197/0.9017, allocations: 243.9 kB / 490.3 MB, free: 13.69 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009243/0.9109, allocations: 2.991 MB / 493.3 MB, free: 10.54 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001102/0.9111, allocations: 7.906 kB / 493.3 MB, free: 10.53 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000403/0.9115, allocations: 100 kB / 493.4 MB, free: 10.43 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001921/0.9117, allocations: 96.55 kB / 493.5 MB, free: 10.34 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00802/0.9197, allocations: 2.426 MB / 495.9 MB, free: 7.895 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02754/0.9473, allocations: 10.08 MB / 0.4941 GB, free: 13.51 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005958/0.9533, allocations: 2.781 MB / 0.4968 GB, free: 10.55 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004783/0.9538, allocations: 146.4 kB / 0.497 GB, free: 10.39 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.323e-05/0.9539, allocations: 55.77 kB / 0.497 GB, free: 10.32 MB / 394.7 MB Notification: Performance of pre-optimization done (n=151): time 4.048e-06/0.9539, allocations: 0 / 0.497 GB, free: 10.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=174): time 0.03595/0.9899, allocations: 9.054 MB / 0.5059 GB, free: 1.109 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001272/0.9901, allocations: 172.2 kB / 0.506 GB, free: 0.9023 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004018/0.9941, allocations: 1.604 MB / 0.5076 GB, free: 15.26 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000451/0.9946, allocations: 57.7 kB / 0.5077 GB, free: 15.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001166/0.9958, allocations: 1.07 MB / 0.5087 GB, free: 14.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009495/0.9967, allocations: 0.5891 MB / 0.5093 GB, free: 13.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001815/0.9969, allocations: 43.94 kB / 0.5093 GB, free: 13.47 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002338/0.9972, allocations: 386.8 kB / 0.5097 GB, free: 13.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002518/0.9997, allocations: 0.9135 MB / 0.5106 GB, free: 12.17 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002951/1.003, allocations: 1.34 MB / 0.5119 GB, free: 10.67 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003219/1.006, allocations: 1.103 MB / 0.513 GB, free: 9.566 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.995e-05/1.006, allocations: 7.953 kB / 0.513 GB, free: 9.559 MB / 410.7 MB Notification: Performance of matching and sorting (n=248) (initialization): time 0.009605/1.016, allocations: 3.163 MB / 0.5161 GB, free: 6.371 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002038/1.018, allocations: 4.539 MB / 0.5205 GB, free: 1.477 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.709e-05/1.018, allocations: 16 kB / 0.5205 GB, free: 1.461 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004447/1.022, allocations: 0.9603 MB / 0.5214 GB, free: 496 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0028/1.025, allocations: 367.4 kB / 0.5218 GB, free: 128 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3027/1.328, allocations: 12.31 MB / 0.5338 GB, free: 93.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002687/1.331, allocations: 112.5 kB / 0.5339 GB, free: 93.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002095/1.331, allocations: 78.08 kB / 0.534 GB, free: 93.13 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/1.331, allocations: 0 / 0.534 GB, free: 93.13 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007978/1.339, allocations: 3.063 MB / 0.537 GB, free: 93.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.435e-05/1.339, allocations: 17.31 kB / 0.537 GB, free: 93.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003704/1.343, allocations: 0.9616 MB / 0.538 GB, free: 93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002666/1.345, allocations: 361.9 kB / 0.5383 GB, free: 93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02126/1.367, allocations: 12.42 MB / 0.5504 GB, free: 87.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00166/1.368, allocations: 106.1 kB / 0.5505 GB, free: 87.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002003/1.369, allocations: 68.75 kB / 0.5506 GB, free: 87.68 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.002164/1.371, allocations: 0.8038 MB / 0.5514 GB, free: 87.49 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006946/1.371, allocations: 216.4 kB / 0.5516 GB, free: 87.49 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007583/1.379, allocations: 2.966 MB / 0.5545 GB, free: 87.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.257e-05/1.379, allocations: 19.12 kB / 0.5545 GB, free: 87.32 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-05/1.379, allocations: 7.875 kB / 0.5545 GB, free: 87.32 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-05/1.379, allocations: 7.5 kB / 0.5545 GB, free: 87.32 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01512/1.394, allocations: 5.892 MB / 0.5603 GB, free: 85.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.478e-05/1.394, allocations: 5.562 kB / 0.5603 GB, free: 85.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001841/1.396, allocations: 219.8 kB / 0.5605 GB, free: 85.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004267/1.4, allocations: 1.03 MB / 0.5615 GB, free: 85 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003313/1.401, allocations: 38.78 kB / 0.5615 GB, free: 84.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02181/1.423, allocations: 14.06 MB / 0.5753 GB, free: 75.34 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/1.423, allocations: 9.922 kB / 0.5753 GB, free: 75.34 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01035/1.433, allocations: 4.437 MB / 0.5796 GB, free: 73.35 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001597/1.435, allocations: 496.3 kB / 0.5801 GB, free: 73.04 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005035/1.435, allocations: 42.58 kB / 0.5801 GB, free: 73.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002006/1.437, allocations: 101.2 kB / 0.5802 GB, free: 73 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000524/1.438, allocations: 141.6 kB / 0.5803 GB, free: 72.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001524/1.438, allocations: 51.7 kB / 0.5804 GB, free: 72.96 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002601/1.441, allocations: 1.234 MB / 0.5816 GB, free: 72.45 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.61e-07/1.441, allocations: 2.781 kB / 0.5816 GB, free: 72.45 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005535/1.446, allocations: 1.179 MB / 0.5827 GB, free: 72.34 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.01131/1.457, allocations: 5.777 MB / 0.5884 GB, free: 69.32 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01249/1.47, allocations: 5.481 MB / 0.5937 GB, free: 66.58 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.093e-05/1.47, allocations: 7.281 kB / 0.5937 GB, free: 66.58 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004983/1.475, allocations: 2.143 MB / 0.5958 GB, free: 65.44 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004083/1.479, allocations: 0.5285 MB / 0.5964 GB, free: 65.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0198/1.499, allocations: 15.81 MB / 0.6118 GB, free: 52.67 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002017/1.501, allocations: 2.014 MB / 0.6138 GB, free: 51.07 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001924/1.503, allocations: 0.9752 MB / 0.6147 GB, free: 50.17 MB / 410.7 MB Notification: Performance of SimCode: time 1.112e-06/1.503, allocations: 0 / 0.6147 GB, free: 50.17 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.47/5.973, allocations: 101.2 MB / 0.7136 GB, free: 91.34 MB / 410.7 MB