Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMEE_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMEE_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00163/0.00163, allocations: 180.7 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 223.2 MB / 240.3 MB, free: 10.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000891/0.0008909, allocations: 93.45 kB / 291.5 MB, free: 10.7 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002456/0.0002454, allocations: 4 kB / 351.2 MB, free: 14.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2093/0.2095, allocations: 50.4 MB / 401.6 MB, free: 32.55 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3333/0.5429, allocations: 126.2 MB / 0.5154 GB, free: 98.49 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002704/0.5432, allocations: 88.78 kB / 0.5155 GB, free: 98.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1302/0.6734, allocations: 55.57 MB / 0.5698 GB, free: 43.96 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.6734, allocations: 4 kB / 0.5698 GB, free: 43.96 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002576/0.6737, allocations: 67.92 kB / 0.5699 GB, free: 43.89 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 617 * Number of variables: 617 Notification: Performance of Generate backend data structure: time 0.006961/0.6807, allocations: 2.965 MB / 0.5728 GB, free: 40.86 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.6807, allocations: 8.031 kB / 0.5728 GB, free: 40.85 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000865/0.6816, allocations: 345.6 kB / 0.5731 GB, free: 40.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001797/0.6834, allocations: 432 kB / 0.5735 GB, free: 40.08 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003986/0.6874, allocations: 1.758 MB / 0.5752 GB, free: 38.27 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001139/0.6875, allocations: 176.8 kB / 0.5754 GB, free: 38.09 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005246/0.6881, allocations: 247.8 kB / 0.5756 GB, free: 37.85 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004387/0.6925, allocations: 3.015 MB / 0.5786 GB, free: 34.67 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-05/0.6926, allocations: 11.92 kB / 0.5786 GB, free: 34.66 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002194/0.6928, allocations: 100 kB / 0.5787 GB, free: 34.56 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.428e-05/0.6929, allocations: 100.6 kB / 0.5788 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003641/0.6965, allocations: 2.434 MB / 0.5812 GB, free: 32.01 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01299/0.7095, allocations: 10.3 MB / 0.5912 GB, free: 21.4 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0037/0.7133, allocations: 2.773 MB / 0.5939 GB, free: 18.46 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003846/0.7137, allocations: 142.4 kB / 0.5941 GB, free: 18.3 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.078e-05/0.7138, allocations: 47.88 kB / 0.5941 GB, free: 18.25 MB / 378.7 MB Notification: Performance of pre-optimization done (n=152): time 5.991e-06/0.7138, allocations: 4 kB / 0.5941 GB, free: 18.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=175): time 0.03103/0.7448, allocations: 9.113 MB / 0.603 GB, free: 8.969 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.258e-05/0.7449, allocations: 176.2 kB / 0.6032 GB, free: 8.762 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003549/0.7485, allocations: 1.626 MB / 0.6048 GB, free: 7.098 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002465/0.7487, allocations: 57.7 kB / 0.6048 GB, free: 7.035 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009785/0.7497, allocations: 1.161 MB / 0.6059 GB, free: 5.859 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006574/0.7504, allocations: 0.5892 MB / 0.6065 GB, free: 5.262 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001697/0.7506, allocations: 40 kB / 0.6066 GB, free: 5.223 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.7508, allocations: 385.9 kB / 0.6069 GB, free: 4.84 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002315/0.7531, allocations: 0.9135 MB / 0.6078 GB, free: 3.926 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002629/0.7558, allocations: 1.361 MB / 0.6092 GB, free: 2.387 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002669/0.7584, allocations: 1.103 MB / 0.6102 GB, free: 1.289 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.728e-05/0.7585, allocations: 4 kB / 0.6102 GB, free: 1.285 MB / 378.7 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.009956/0.7685, allocations: 3.33 MB / 0.6135 GB, free: 13.93 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002589/0.7711, allocations: 4.893 MB / 0.6183 GB, free: 8.645 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.893e-05/0.7712, allocations: 12 kB / 0.6183 GB, free: 8.633 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004664/0.7759, allocations: 0.9718 MB / 0.6192 GB, free: 7.645 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002753/0.7786, allocations: 367.5 kB / 0.6196 GB, free: 7.285 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02565/0.8043, allocations: 12.34 MB / 0.6316 GB, free: 10.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003254/0.8076, allocations: 111.9 kB / 0.6317 GB, free: 10.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005173/0.8082, allocations: 76 kB / 0.6318 GB, free: 10.21 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.8082, allocations: 10.75 kB / 0.6318 GB, free: 10.21 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009172/0.8174, allocations: 3.084 MB / 0.6348 GB, free: 7.105 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.8e-05/0.8175, allocations: 12 kB / 0.6348 GB, free: 7.094 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004012/0.8216, allocations: 0.9691 MB / 0.6358 GB, free: 6.109 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002686/0.8243, allocations: 363.5 kB / 0.6361 GB, free: 5.754 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02403/0.8483, allocations: 12.31 MB / 0.6482 GB, free: 8.898 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002866/0.8512, allocations: 107.8 kB / 0.6483 GB, free: 8.793 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004478/0.8517, allocations: 72 kB / 0.6483 GB, free: 8.723 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 7 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off,voltageController.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 185 * 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.002604/0.8544, allocations: 0.813 MB / 0.6491 GB, free: 7.902 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009455/0.8553, allocations: 221.4 kB / 0.6493 GB, free: 7.684 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009244/0.8646, allocations: 2.976 MB / 0.6522 GB, free: 4.676 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.648e-05/0.8647, allocations: 16 kB / 0.6523 GB, free: 4.66 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.991e-05/0.8647, allocations: 8 kB / 0.6523 GB, free: 4.652 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.933e-05/0.8647, allocations: 7.969 kB / 0.6523 GB, free: 4.645 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2239/1.089, allocations: 5.905 MB / 0.658 GB, free: 91.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.749e-05/1.089, allocations: 5.094 kB / 0.658 GB, free: 91.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00116/1.09, allocations: 229.7 kB / 0.6583 GB, free: 91.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00247/1.092, allocations: 1.024 MB / 0.6593 GB, free: 91.78 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001807/1.093, allocations: 46.22 kB / 0.6593 GB, free: 91.78 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01322/1.106, allocations: 14.07 MB / 0.673 GB, free: 85.25 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/1.106, allocations: 11.5 kB / 0.6731 GB, free: 85.25 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006534/1.112, allocations: 4.476 MB / 0.6774 GB, free: 84.72 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001349/1.114, allocations: 0.4899 MB / 0.6779 GB, free: 84.62 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003085/1.114, allocations: 40.41 kB / 0.6779 GB, free: 84.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001154/1.115, allocations: 103.3 kB / 0.678 GB, free: 84.62 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003443/1.116, allocations: 139.3 kB / 0.6782 GB, free: 84.62 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001005/1.116, allocations: 50.2 kB / 0.6782 GB, free: 84.62 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001613/1.117, allocations: 1.249 MB / 0.6794 GB, free: 84.48 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.91e-07/1.117, allocations: 0 / 0.6794 GB, free: 84.48 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003946/1.121, allocations: 1.193 MB / 0.6806 GB, free: 84.48 MB / 426.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 (115): * Single equations (assignments): 110 * 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,72.2%) 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.006622/1.128, allocations: 5.821 MB / 0.6863 GB, free: 82.92 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00731/1.135, allocations: 5.491 MB / 0.6917 GB, free: 81.16 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.095e-05/1.135, allocations: 3.656 kB / 0.6917 GB, free: 81.16 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002893/1.138, allocations: 2.138 MB / 0.6937 GB, free: 80.04 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002481/1.141, allocations: 0.5289 MB / 0.6943 GB, free: 79.9 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01277/1.154, allocations: 16.19 MB / 0.7101 GB, free: 67.38 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001527/1.155, allocations: 2.045 MB / 0.7121 GB, free: 66.46 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001723/1.157, allocations: 0.494 MB / 0.7125 GB, free: 66.41 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001007/1.158, allocations: 0.9816 MB / 0.7135 GB, free: 65.62 MB / 426.7 MB Notification: Performance of SimCode: time 1.343e-06/1.158, allocations: 4 kB / 0.7135 GB, free: 65.61 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08491/1.243, allocations: 65.96 MB / 0.7779 GB, free: 18.98 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001519/1.243, allocations: 235 kB / 0.7781 GB, free: 18.73 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.006/5.249, allocations: 0 / 0.7781 GB, free: 18.73 MB / 426.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMEE_Rectifier_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMEE_Rectifier.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.pipe 2>&1)