Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMEE_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001778/0.001778, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.407/1.407, allocations: 225.6 MB / 234.8 MB, free: 3.223 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008707/0.0008707, allocations: 95.98 kB / 286.7 MB, free: 5.312 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.007e-05/1.998e-05, allocations: 4.219 kB / 343.8 MB, free: 8.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1143, allocations: 51.49 MB / 395.3 MB, free: 4.633 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3818/0.4962, allocations: 126.3 MB / 0.5094 GB, free: 15.34 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002364/0.4965, allocations: 87.75 kB / 0.5094 GB, free: 15.3 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1432/0.6397, allocations: 55 MB / 0.5631 GB, free: 12.68 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.6397, allocations: 4 kB / 0.5632 GB, free: 12.67 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002415/0.64, allocations: 75.86 kB / 0.5632 GB, free: 12.6 MB / 442.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.006445/0.6464, allocations: 2.597 MB / 0.5658 GB, free: 9.941 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.156e-05/0.6465, allocations: 12.03 kB / 0.5658 GB, free: 9.93 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001851/0.6484, allocations: 432 kB / 0.5662 GB, free: 9.504 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003988/0.6524, allocations: 1.739 MB / 0.5679 GB, free: 7.711 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.665e-05/0.6525, allocations: 76 kB / 0.568 GB, free: 7.637 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003893/0.6529, allocations: 148 kB / 0.5681 GB, free: 7.492 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004035/0.6569, allocations: 2.22 MB / 0.5703 GB, free: 5.266 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004546/0.6615, allocations: 2.623 MB / 0.5728 GB, free: 2.484 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.464e-05/0.6616, allocations: 3.906 kB / 0.5728 GB, free: 2.48 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001982/0.6618, allocations: 4 kB / 0.5728 GB, free: 2.477 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001509/0.662, allocations: 100.6 kB / 0.5729 GB, free: 2.375 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.26/0.922, allocations: 9.835 MB / 0.5825 GB, free: 80.12 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002514/0.9245, allocations: 2.634 MB / 0.5851 GB, free: 79.14 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00124/0.9258, allocations: 1.092 MB / 0.5862 GB, free: 79.12 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002768/0.9261, allocations: 141.1 kB / 0.5863 GB, free: 79.03 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/0.9261, allocations: 48.88 kB / 0.5864 GB, free: 78.99 MB / 442.7 MB Notification: Performance of pre-optimization done (n=152): time 3.967e-06/0.9261, allocations: 0 / 0.5864 GB, free: 78.99 MB / 442.7 MB Notification: Performance of matching and sorting (n=175): time 0.009871/0.936, allocations: 5.773 MB / 0.592 GB, free: 78.16 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.105e-05/0.9361, allocations: 172.6 kB / 0.5922 GB, free: 77.97 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001958/0.9381, allocations: 1.326 MB / 0.5935 GB, free: 77.81 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001368/0.9383, allocations: 28.92 kB / 0.5935 GB, free: 77.78 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005985/0.9389, allocations: 1.167 MB / 0.5946 GB, free: 77.39 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003841/0.9393, allocations: 0.5649 MB / 0.5952 GB, free: 77.09 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.657e-05/0.9393, allocations: 0 / 0.5952 GB, free: 77.09 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.809e-05/0.9395, allocations: 385.7 kB / 0.5955 GB, free: 76.79 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009744/0.9404, allocations: 0.8472 MB / 0.5964 GB, free: 76.78 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001196/0.9416, allocations: 1.284 MB / 0.5976 GB, free: 76.31 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001253/0.9429, allocations: 1.036 MB / 0.5986 GB, free: 76.29 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.716e-06/0.9429, allocations: 6.031 kB / 0.5986 GB, free: 76.29 MB / 442.7 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.004578/0.9475, allocations: 3.049 MB / 0.6016 GB, free: 76.05 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007607/0.9483, allocations: 4.844 MB / 0.6063 GB, free: 70.95 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.292e-05/0.9483, allocations: 16.27 kB / 0.6064 GB, free: 70.95 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00209/0.9504, allocations: 0.9466 MB / 0.6073 GB, free: 70.9 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001342/0.9518, allocations: 377.9 kB / 0.6076 GB, free: 70.9 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01035/0.9621, allocations: 11.55 MB / 0.6189 GB, free: 65.21 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001755/0.9639, allocations: 68.02 kB / 0.619 GB, free: 65.21 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002296/0.9642, allocations: 79.22 kB / 0.6191 GB, free: 65.19 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.227e-06/0.9642, allocations: 3.156 kB / 0.6191 GB, free: 65.19 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004522/0.9687, allocations: 2.813 MB / 0.6218 GB, free: 64.29 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.946e-05/0.9688, allocations: 15.06 kB / 0.6218 GB, free: 64.29 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002162/0.971, allocations: 0.946 MB / 0.6227 GB, free: 64.03 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001397/0.9724, allocations: 367.2 kB / 0.6231 GB, free: 64.02 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01158/0.984, allocations: 11.55 MB / 0.6344 GB, free: 56.25 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002015/0.986, allocations: 60.84 kB / 0.6344 GB, free: 56.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002341/0.9863, allocations: 79 kB / 0.6345 GB, free: 56.23 MB / 442.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 () * 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.0004864/0.9868, allocations: 150 kB / 0.6347 GB, free: 56.09 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004776/0.9916, allocations: 2.6 MB / 0.6372 GB, free: 55.12 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006487/0.9922, allocations: 200.8 kB / 0.6374 GB, free: 55.02 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00512/0.9974, allocations: 2.759 MB / 0.6401 GB, free: 53.97 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.623e-05/0.9974, allocations: 16.47 kB / 0.6401 GB, free: 53.97 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.68e-05/0.9975, allocations: 6.656 kB / 0.6401 GB, free: 53.97 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.647e-05/0.9975, allocations: 8.25 kB / 0.6401 GB, free: 53.97 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0101/1.008, allocations: 5.402 MB / 0.6454 GB, free: 51.84 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.678e-06/1.008, allocations: 2.328 kB / 0.6454 GB, free: 51.84 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009766/1.009, allocations: 223.7 kB / 0.6456 GB, free: 51.82 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00245/1.011, allocations: 1.014 MB / 0.6466 GB, free: 51.54 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001337/1.011, allocations: 15.95 kB / 0.6466 GB, free: 51.53 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0117/1.023, allocations: 13.22 MB / 0.6595 GB, free: 42.36 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.554e-06/1.023, allocations: 2.25 kB / 0.6595 GB, free: 42.36 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005693/1.029, allocations: 4.219 MB / 0.6636 GB, free: 40.47 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001165/1.03, allocations: 471.7 kB / 0.6641 GB, free: 40.17 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002701/1.03, allocations: 17.05 kB / 0.6641 GB, free: 40.17 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00107/1.031, allocations: 73.66 kB / 0.6642 GB, free: 40.16 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003341/1.032, allocations: 138 kB / 0.6643 GB, free: 40.14 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.855e-05/1.032, allocations: 50.41 kB / 0.6644 GB, free: 40.13 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001318/1.033, allocations: 0.9963 MB / 0.6653 GB, free: 39.71 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.91e-07/1.033, allocations: 0 / 0.6653 GB, free: 39.71 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003672/1.037, allocations: 1.038 MB / 0.6663 GB, free: 39.69 MB / 442.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 () * 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.005934/1.043, allocations: 5.569 MB / 0.6718 GB, free: 36.73 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006809/1.05, allocations: 5.185 MB / 0.6768 GB, free: 34.06 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.154e-06/1.05, allocations: 0 / 0.6768 GB, free: 34.06 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002691/1.052, allocations: 2.004 MB / 0.6788 GB, free: 32.98 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002587/1.055, allocations: 428.2 kB / 0.6792 GB, free: 32.88 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009844/1.065, allocations: 5.19 MB / 0.6843 GB, free: 30.77 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001419/1.066, allocations: 2.051 MB / 0.6863 GB, free: 29.84 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002227/1.068, allocations: 0.6422 MB / 0.6869 GB, free: 29.79 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001065/1.07, allocations: 0.9772 MB / 0.6879 GB, free: 28.96 MB / 442.7 MB Notification: Performance of SimCode: time 9.51e-07/1.07, allocations: 0 / 0.6879 GB, free: 28.96 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1001/1.17, allocations: 59.93 MB / 0.7464 GB, free: 3.066 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001804/1.17, allocations: 172.9 kB / 0.7465 GB, free: 2.871 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.236/5.406, allocations: 0 / 0.7465 GB, free: 2.871 MB / 458.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMEE_Rectifier_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMEE_Rectifier.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.pipe 2>&1)