Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_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.001276/0.001276, allocations: 197.2 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.394/1.394, allocations: 225.4 MB / 240.1 MB, free: 15.12 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009425/0.0009425, allocations: 86.86 kB / 292.1 MB, free: 5.949 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.698e-05/4.707e-05, allocations: 4 kB / 350.7 MB, free: 2.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1195, allocations: 51.48 MB / 402.1 MB, free: 14.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4195/0.539, allocations: 133.5 MB / 0.5231 GB, free: 4.902 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002635/0.5394, allocations: 99.44 kB / 0.5232 GB, free: 4.852 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5272/1.067, allocations: 99.73 MB / 0.6206 GB, free: 80.95 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.836e-06/1.067, allocations: 5.375 kB / 0.6206 GB, free: 80.95 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0006915/1.067, allocations: 103 kB / 0.6207 GB, free: 80.93 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: 958 * Number of variables: 958 Notification: Performance of Generate backend data structure: time 0.0158/1.083, allocations: 3.783 MB / 0.6244 GB, free: 79.4 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.053e-05/1.083, allocations: 9.5 kB / 0.6244 GB, free: 79.4 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002816/1.086, allocations: 0.5108 MB / 0.6249 GB, free: 79.34 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00717/1.093, allocations: 0.8996 MB / 0.6258 GB, free: 79.11 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01417/1.108, allocations: 3.637 MB / 0.6293 GB, free: 77.35 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000593/1.108, allocations: 279.6 kB / 0.6296 GB, free: 77.23 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001938/1.11, allocations: 365.7 kB / 0.63 GB, free: 77.11 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01705/1.127, allocations: 4.57 MB / 0.6344 GB, free: 74.91 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002777/1.128, allocations: 11.88 kB / 0.6344 GB, free: 74.9 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001635/1.129, allocations: 157.9 kB / 0.6346 GB, free: 74.79 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000213/1.129, allocations: 161.4 kB / 0.6347 GB, free: 74.77 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009899/1.139, allocations: 3.716 MB / 0.6384 GB, free: 73.23 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03301/1.172, allocations: 16.09 MB / 0.6541 GB, free: 64.12 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006623/1.179, allocations: 8.046 MB / 0.6619 GB, free: 57.14 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002668/1.182, allocations: 1.728 MB / 0.6636 GB, free: 56.51 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009458/1.191, allocations: 5.658 MB / 0.6691 GB, free: 52.96 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.769e-05/1.191, allocations: 55.88 kB / 0.6692 GB, free: 52.91 MB / 442.7 MB Notification: Performance of pre-optimization done (n=174): time 4.238e-06/1.191, allocations: 4 kB / 0.6692 GB, free: 52.9 MB / 442.7 MB Notification: Performance of matching and sorting (n=177): time 0.009789/1.201, allocations: 5.082 MB / 0.6742 GB, free: 50.29 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.96e-05/1.201, allocations: 174.9 kB / 0.6743 GB, free: 50.09 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003436/1.205, allocations: 1.929 MB / 0.6762 GB, free: 49.31 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003294/1.205, allocations: 59.17 kB / 0.6763 GB, free: 49.25 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001024/1.206, allocations: 1.7 MB / 0.6779 GB, free: 47.95 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004766/1.207, allocations: 0.602 MB / 0.6785 GB, free: 47.48 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.653e-05/1.207, allocations: 45.31 kB / 0.6786 GB, free: 47.45 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001305/1.207, allocations: 394.1 kB / 0.6789 GB, free: 47.11 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001173/1.208, allocations: 0.8059 MB / 0.6797 GB, free: 46.79 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001372/1.209, allocations: 1.438 MB / 0.6811 GB, free: 45.66 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001385/1.211, allocations: 1.07 MB / 0.6822 GB, free: 45.21 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.215e-05/1.211, allocations: 6.562 kB / 0.6822 GB, free: 45.21 MB / 442.7 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.004728/1.216, allocations: 2.973 MB / 0.6851 GB, free: 43.94 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001619/1.217, allocations: 7.836 MB / 0.6927 GB, free: 35.35 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.16e-05/1.217, allocations: 26.56 kB / 0.6928 GB, free: 35.35 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009975/1.218, allocations: 462.2 kB / 0.6932 GB, free: 35.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001801/1.22, allocations: 479.5 kB / 0.6937 GB, free: 35.14 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005939/1.226, allocations: 8.06 MB / 0.7015 GB, free: 28.56 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002782/1.229, allocations: 100.7 kB / 0.7016 GB, free: 28.52 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004195/1.229, allocations: 97.41 kB / 0.7017 GB, free: 28.5 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/1.229, allocations: 3.906 kB / 0.7017 GB, free: 28.5 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004163/1.233, allocations: 2.726 MB / 0.7044 GB, free: 26.92 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.416e-05/1.234, allocations: 28.08 kB / 0.7044 GB, free: 26.89 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009105/1.234, allocations: 474.3 kB / 0.7049 GB, free: 26.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001593/1.236, allocations: 475.3 kB / 0.7053 GB, free: 26.09 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005717/1.242, allocations: 8.03 MB / 0.7132 GB, free: 18.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002262/1.244, allocations: 86.78 kB / 0.7132 GB, free: 18.03 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001968/1.244, allocations: 99.89 kB / 0.7133 GB, free: 17.93 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 85 * 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 (252): * Single equations (assignments): 245 * 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 {(1,100.0%) 5} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0005403/1.245, allocations: 241.2 kB / 0.7136 GB, free: 17.69 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004316/1.245, allocations: 265 kB / 0.7138 GB, free: 17.43 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004181/1.249, allocations: 2.733 MB / 0.7165 GB, free: 15.03 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/1.249, allocations: 16 kB / 0.7165 GB, free: 15.02 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/1.25, allocations: 4.188 kB / 0.7165 GB, free: 15.01 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.599e-05/1.25, allocations: 10.5 kB / 0.7165 GB, free: 15.01 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009009/1.259, allocations: 5.875 MB / 0.7223 GB, free: 10.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/1.259, allocations: 4 kB / 0.7223 GB, free: 10.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009961/1.26, allocations: 248.6 kB / 0.7225 GB, free: 9.875 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001303/1.261, allocations: 0.6429 MB / 0.7231 GB, free: 9.336 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001058/1.261, allocations: 47.77 kB / 0.7232 GB, free: 9.293 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01042/1.271, allocations: 12.57 MB / 0.7354 GB, free: 12.69 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/1.271, allocations: 4 kB / 0.7354 GB, free: 12.68 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0064/1.278, allocations: 3.935 MB / 0.7393 GB, free: 8.609 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001724/1.28, allocations: 0.5057 MB / 0.7398 GB, free: 8.082 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004758/1.28, allocations: 43.98 kB / 0.7398 GB, free: 8.039 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001182/1.281, allocations: 79.94 kB / 0.7399 GB, free: 7.961 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003496/1.282, allocations: 149.7 kB / 0.74 GB, free: 7.816 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.984e-05/1.282, allocations: 44 kB / 0.7401 GB, free: 7.773 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002542/1.284, allocations: 1.463 MB / 0.7415 GB, free: 6.293 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.7e-07/1.284, allocations: 0 / 0.7415 GB, free: 6.293 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007173/1.292, allocations: 1.362 MB / 0.7428 GB, free: 4.934 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 12 (smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.excitation.electroMagneticConverter.Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,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 (124): * Single equations (assignments): 118 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 8,(2,100.0%) 15} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.3203/1.612, allocations: 5.356 MB / 0.7481 GB, free: 86.84 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007836/1.62, allocations: 4.739 MB / 0.7527 GB, free: 85.62 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.066e-05/1.62, allocations: 1.281 kB / 0.7527 GB, free: 85.62 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002873/1.623, allocations: 1.905 MB / 0.7546 GB, free: 84.92 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003975/1.627, allocations: 0.6403 MB / 0.7552 GB, free: 84.91 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01556/1.642, allocations: 6.533 MB / 0.7616 GB, free: 83.54 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002411/1.645, allocations: 2.589 MB / 0.7641 GB, free: 82.73 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003861/1.649, allocations: 0.8542 MB / 0.7649 GB, free: 82.62 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001879/1.651, allocations: 1.36 MB / 0.7663 GB, free: 82.62 MB / 458.7 MB Notification: Performance of SimCode: time 1.202e-06/1.651, allocations: 2.938 kB / 0.7663 GB, free: 82.62 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1474/1.798, allocations: 75.59 MB / 0.8401 GB, free: 64.64 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002874/1.798, allocations: 235.5 kB / 0.8403 GB, free: 64.35 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.821/6.619, allocations: 4 kB / 0.8403 GB, free: 64.34 MB / 458.7 MB (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Rectifier_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Rectifier.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier.pipe 2>&1)