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.001174/0.001174, allocations: 196.9 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.369/1.369, allocations: 225.4 MB / 240.1 MB, free: 15.05 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001192/0.001193, allocations: 89.11 kB / 292.1 MB, free: 5.961 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.644e-05/3.66e-05, allocations: 4 kB / 350.7 MB, free: 2.414 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1347, allocations: 51.48 MB / 402.1 MB, free: 14.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4163/0.5511, allocations: 127 MB / 0.5167 GB, free: 11.26 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002636/0.5514, allocations: 80.64 kB / 0.5168 GB, free: 11.22 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1543/0.7057, allocations: 55.71 MB / 0.5712 GB, free: 4.148 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.7058, allocations: 0 / 0.5712 GB, free: 4.148 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002754/0.7061, allocations: 63.94 kB / 0.5712 GB, free: 4.086 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.006575/0.7126, allocations: 2.601 MB / 0.5738 GB, free: 1.43 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.7127, allocations: 8.031 kB / 0.5738 GB, free: 1.422 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008388/0.7135, allocations: 341.7 kB / 0.5741 GB, free: 1.078 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001794/0.7154, allocations: 428 kB / 0.5745 GB, free: 0.6562 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2452/0.9605, allocations: 1.739 MB / 0.5762 GB, free: 82.3 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001496/0.9607, allocations: 176.1 kB / 0.5764 GB, free: 82.29 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006862/0.9614, allocations: 245.9 kB / 0.5766 GB, free: 82.29 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005647/0.9671, allocations: 2.954 MB / 0.5795 GB, free: 81.86 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.972e-05/0.9672, allocations: 16.34 kB / 0.5795 GB, free: 81.86 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002273/0.9674, allocations: 97.56 kB / 0.5796 GB, free: 81.86 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.951e-05/0.9675, allocations: 102.7 kB / 0.5797 GB, free: 81.85 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004243/0.9718, allocations: 2.362 MB / 0.582 GB, free: 81.82 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0198/0.9916, allocations: 10.3 MB / 0.5921 GB, free: 78.97 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00317/0.9948, allocations: 2.717 MB / 0.5947 GB, free: 77.98 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001471/0.9963, allocations: 1.111 MB / 0.5958 GB, free: 77.96 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003573/0.9967, allocations: 143.8 kB / 0.596 GB, free: 77.86 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.507e-05/0.9968, allocations: 58.2 kB / 0.596 GB, free: 77.82 MB / 442.7 MB Notification: Performance of pre-optimization done (n=152): time 4.809e-06/0.9968, allocations: 0 / 0.596 GB, free: 77.82 MB / 442.7 MB Notification: Performance of matching and sorting (n=175): time 0.01724/1.014, allocations: 7.342 MB / 0.6032 GB, free: 76.93 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.858e-05/1.014, allocations: 175.8 kB / 0.6034 GB, free: 76.74 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00278/1.017, allocations: 1.608 MB / 0.6049 GB, free: 76.51 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000172/1.017, allocations: 54.45 kB / 0.605 GB, free: 76.48 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008621/1.018, allocations: 1.166 MB / 0.6061 GB, free: 75.99 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005157/1.019, allocations: 0.5886 MB / 0.6067 GB, free: 75.62 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.896e-05/1.019, allocations: 41.5 kB / 0.6067 GB, free: 75.62 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001514/1.019, allocations: 381 kB / 0.6071 GB, free: 75.31 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001619/1.02, allocations: 0.8881 MB / 0.608 GB, free: 75.31 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001816/1.022, allocations: 1.33 MB / 0.6093 GB, free: 74.84 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001966/1.024, allocations: 1.089 MB / 0.6103 GB, free: 74.56 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.367e-05/1.024, allocations: 3.844 kB / 0.6103 GB, free: 74.56 MB / 442.7 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.007341/1.032, allocations: 3.264 MB / 0.6135 GB, free: 73.43 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001402/1.033, allocations: 4.894 MB / 0.6183 GB, free: 68.24 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-05/1.033, allocations: 14.39 kB / 0.6183 GB, free: 68.24 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003203/1.036, allocations: 0.958 MB / 0.6192 GB, free: 67.98 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001679/1.038, allocations: 368.9 kB / 0.6196 GB, free: 67.97 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01514/1.053, allocations: 11.99 MB / 0.6313 GB, free: 59.92 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002379/1.056, allocations: 112.7 kB / 0.6314 GB, free: 59.89 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003722/1.056, allocations: 72.58 kB / 0.6315 GB, free: 59.88 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/1.056, allocations: 2.75 kB / 0.6315 GB, free: 59.88 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006563/1.063, allocations: 3.052 MB / 0.6345 GB, free: 58.77 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-05/1.063, allocations: 13.12 kB / 0.6345 GB, free: 58.77 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002424/1.065, allocations: 0.9682 MB / 0.6354 GB, free: 58.49 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001537/1.067, allocations: 363.9 kB / 0.6358 GB, free: 58.46 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.012/1.079, allocations: 11.96 MB / 0.6474 GB, free: 50.35 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002229/1.081, allocations: 110.5 kB / 0.6475 GB, free: 50.31 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002835/1.081, allocations: 78.11 kB / 0.6476 GB, free: 50.3 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.0005769/1.082, allocations: 214.7 kB / 0.6478 GB, free: 50.11 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005518/1.082, allocations: 217.9 kB / 0.648 GB, free: 50 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00468/1.087, allocations: 2.939 MB / 0.6509 GB, free: 48.83 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.652e-05/1.087, allocations: 18 kB / 0.6509 GB, free: 48.83 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.178e-05/1.087, allocations: 7.094 kB / 0.6509 GB, free: 48.83 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.991e-05/1.087, allocations: 9.234 kB / 0.6509 GB, free: 48.83 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01003/1.097, allocations: 5.859 MB / 0.6567 GB, free: 46.48 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.049e-05/1.097, allocations: 7.75 kB / 0.6567 GB, free: 46.48 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001005/1.098, allocations: 221.6 kB / 0.6569 GB, free: 46.46 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002506/1.101, allocations: 1.017 MB / 0.6579 GB, free: 46.17 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001423/1.101, allocations: 44.14 kB / 0.6579 GB, free: 46.15 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01279/1.114, allocations: 13.67 MB / 0.6713 GB, free: 36.6 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/1.114, allocations: 11.47 kB / 0.6713 GB, free: 36.59 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00659/1.12, allocations: 4.4 MB / 0.6756 GB, free: 34.6 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00198/1.123, allocations: 493.4 kB / 0.676 GB, free: 34.29 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003436/1.123, allocations: 41.84 kB / 0.6761 GB, free: 34.26 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001205/1.124, allocations: 102.8 kB / 0.6762 GB, free: 34.23 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000415/1.125, allocations: 140.4 kB / 0.6763 GB, free: 34.21 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001029/1.125, allocations: 50.45 kB / 0.6764 GB, free: 34.2 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001842/1.126, allocations: 1.236 MB / 0.6776 GB, free: 33.67 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.61e-07/1.127, allocations: 0 / 0.6776 GB, free: 33.67 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005174/1.132, allocations: 1.199 MB / 0.6787 GB, free: 33.55 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.006536/1.138, allocations: 5.742 MB / 0.6843 GB, free: 30.49 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007474/1.146, allocations: 5.443 MB / 0.6897 GB, free: 27.7 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.235e-06/1.146, allocations: 0 / 0.6897 GB, free: 27.7 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002927/1.149, allocations: 2.094 MB / 0.6917 GB, free: 26.56 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002563/1.151, allocations: 0.5373 MB / 0.6922 GB, free: 26.41 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008766/1.16, allocations: 5.403 MB / 0.6975 GB, free: 21.72 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001302/1.161, allocations: 2.048 MB / 0.6995 GB, free: 20.1 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002191/1.164, allocations: 0.6999 MB / 0.7002 GB, free: 19.65 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009237/1.165, allocations: 0.9606 MB / 0.7011 GB, free: 18.76 MB / 442.7 MB Notification: Performance of SimCode: time 1.343e-06/1.165, allocations: 2.25 kB / 0.7011 GB, free: 18.76 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3517/1.516, allocations: 69.78 MB / 0.7693 GB, free: 86.49 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001543/1.517, allocations: 207.7 kB / 0.7695 GB, free: 86.27 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.529/6.045, allocations: 2.812 kB / 0.7695 GB, free: 86.27 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)