Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001182/0.001182, allocations: 177.9 kB / 8.696 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.632/1.632, allocations: 205.3 MB / 214.4 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009108/0.000911, allocations: 84.11 kB / 262.4 MB, free: 1.688 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.857e-05/1.84e-05, allocations: 4 kB / 315.6 MB, free: 22.62 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08517/0.08521, allocations: 47.59 MB / 363.2 MB, free: 6.977 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3497/0.4349, allocations: 130.9 MB / 494.1 MB, free: 13.43 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002567/0.4352, allocations: 85.89 kB / 494.2 MB, free: 13.39 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4128/0.8481, allocations: 94.8 MB / 0.5752 GB, free: 92.54 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.8481, allocations: 0 / 0.5752 GB, free: 92.54 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000321/0.8484, allocations: 99.16 kB / 0.5753 GB, free: 92.52 MB / 410.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.009991/0.8585, allocations: 3.736 MB / 0.5789 GB, free: 90.67 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.8585, allocations: 14.84 kB / 0.5789 GB, free: 90.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005423/0.8639, allocations: 0.9118 MB / 0.5798 GB, free: 90.36 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009291/0.8733, allocations: 3.609 MB / 0.5834 GB, free: 88.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001182/0.8734, allocations: 120.4 kB / 0.5835 GB, free: 88.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007441/0.8742, allocations: 222.4 kB / 0.5837 GB, free: 88.59 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006323/0.8805, allocations: 3.487 MB / 0.5871 GB, free: 87.09 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007985/0.8885, allocations: 4.039 MB / 0.591 GB, free: 85.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001029/0.8887, allocations: 7.844 kB / 0.591 GB, free: 85.25 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004119/0.8891, allocations: 3.969 kB / 0.591 GB, free: 85.25 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001247/0.8892, allocations: 155.7 kB / 0.5912 GB, free: 85.23 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02471/0.9139, allocations: 15.32 MB / 0.6062 GB, free: 76.59 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005815/0.9198, allocations: 7.677 MB / 0.6137 GB, free: 68.46 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00236/0.9222, allocations: 1.649 MB / 0.6153 GB, free: 66.96 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008266/0.9305, allocations: 4.921 MB / 0.6201 GB, free: 62.73 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.216e-05/0.9306, allocations: 60.17 kB / 0.6201 GB, free: 62.66 MB / 410.7 MB Notification: Performance of pre-optimization done (n=174): time 5.32e-06/0.9306, allocations: 0 / 0.6201 GB, free: 62.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=177): time 0.009754/0.9403, allocations: 5.232 MB / 0.6252 GB, free: 57.96 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.575e-05/0.9404, allocations: 180.2 kB / 0.6254 GB, free: 57.74 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002569/0.943, allocations: 1.572 MB / 0.6269 GB, free: 56.21 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002062/0.9432, allocations: 25.7 kB / 0.627 GB, free: 56.18 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008294/0.9441, allocations: 1.712 MB / 0.6286 GB, free: 54.44 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004206/0.9445, allocations: 0.5734 MB / 0.6292 GB, free: 53.86 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.929e-05/0.9446, allocations: 4 kB / 0.6292 GB, free: 53.86 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.9447, allocations: 390.4 kB / 0.6296 GB, free: 53.47 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000997/0.9457, allocations: 0.7697 MB / 0.6303 GB, free: 52.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001239/0.947, allocations: 1.39 MB / 0.6317 GB, free: 51.02 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001736/0.9487, allocations: 1.149 MB / 0.6328 GB, free: 49.87 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.127e-05/0.9488, allocations: 8 kB / 0.6328 GB, free: 49.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.00436/0.9531, allocations: 2.883 MB / 0.6356 GB, free: 46.94 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001234/0.9544, allocations: 7.726 MB / 0.6432 GB, free: 38.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.046e-05/0.9544, allocations: 23.95 kB / 0.6432 GB, free: 38.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001031/0.9555, allocations: 463.8 kB / 0.6436 GB, free: 38.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001845/0.9573, allocations: 479.2 kB / 0.6441 GB, free: 37.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005427/0.9628, allocations: 7.763 MB / 0.6517 GB, free: 29.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002192/0.965, allocations: 55.95 kB / 0.6517 GB, free: 29.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002611/0.9653, allocations: 96 kB / 0.6518 GB, free: 29.29 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.427e-06/0.9653, allocations: 4 kB / 0.6518 GB, free: 29.29 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004078/0.9694, allocations: 2.606 MB / 0.6544 GB, free: 26.65 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.102e-05/0.9695, allocations: 20 kB / 0.6544 GB, free: 26.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008194/0.9703, allocations: 472.3 kB / 0.6548 GB, free: 26.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001587/0.9719, allocations: 475.2 kB / 0.6553 GB, free: 25.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005251/0.9772, allocations: 7.774 MB / 0.6629 GB, free: 17.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00191/0.9791, allocations: 47.86 kB / 0.6629 GB, free: 17.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000217/0.9793, allocations: 88 kB / 0.663 GB, free: 17.32 MB / 410.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.0004948/0.9798, allocations: 177.5 kB / 0.6632 GB, free: 17.14 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00407/0.9839, allocations: 2.56 MB / 0.6657 GB, free: 14.52 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004766/0.9844, allocations: 233.1 kB / 0.6659 GB, free: 14.29 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004272/0.9887, allocations: 2.676 MB / 0.6685 GB, free: 11.55 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.378e-05/0.9887, allocations: 20 kB / 0.6685 GB, free: 11.53 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.976e-06/0.9888, allocations: 8 kB / 0.6685 GB, free: 11.52 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.701e-05/0.9888, allocations: 11.95 kB / 0.6686 GB, free: 11.51 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008955/0.9977, allocations: 5.376 MB / 0.6738 GB, free: 6.039 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.9978, allocations: 0 / 0.6738 GB, free: 6.039 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00105/0.9988, allocations: 243.7 kB / 0.674 GB, free: 5.801 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001319/1, allocations: 0.6331 MB / 0.6747 GB, free: 5.152 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001292/1, allocations: 31.86 kB / 0.6747 GB, free: 5.121 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01064/1.011, allocations: 12.09 MB / 0.6865 GB, free: 8.344 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.859e-06/1.011, allocations: 4.031 kB / 0.6865 GB, free: 8.34 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006953/1.018, allocations: 3.867 MB / 0.6903 GB, free: 4.328 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001468/1.019, allocations: 490.1 kB / 0.6907 GB, free: 3.828 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003838/1.02, allocations: 8 kB / 0.6907 GB, free: 3.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001143/1.021, allocations: 63.92 kB / 0.6908 GB, free: 3.758 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000337/1.021, allocations: 133.8 kB / 0.6909 GB, free: 3.625 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001019/1.021, allocations: 43.98 kB / 0.691 GB, free: 3.582 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002067/1.024, allocations: 1.173 MB / 0.6921 GB, free: 2.391 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/1.024, allocations: 4 kB / 0.6921 GB, free: 2.387 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005472/1.029, allocations: 1.172 MB / 0.6933 GB, free: 1.215 MB / 426.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.2944/1.323, allocations: 5.186 MB / 0.6983 GB, free: 96.31 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01083/1.334, allocations: 4.464 MB / 0.7027 GB, free: 95.15 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.434e-05/1.334, allocations: 0.9062 kB / 0.7027 GB, free: 95.15 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004137/1.339, allocations: 1.831 MB / 0.7045 GB, free: 94.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004632/1.343, allocations: 0.4919 MB / 0.705 GB, free: 94.48 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02466/1.368, allocations: 6.289 MB / 0.7111 GB, free: 93.11 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003486/1.371, allocations: 2.585 MB / 0.7136 GB, free: 92.31 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.006156/1.378, allocations: 0.7698 MB / 0.7144 GB, free: 92.21 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002733/1.38, allocations: 1.349 MB / 0.7157 GB, free: 92.2 MB / 426.7 MB Notification: Performance of SimCode: time 1.092e-06/1.38, allocations: 0 / 0.7157 GB, free: 92.2 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1067/1.487, allocations: 63.24 MB / 0.7775 GB, free: 65.77 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001436/1.487, allocations: 167.4 kB / 0.7776 GB, free: 65.57 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.329/5.817, allocations: 4 kB / 0.7776 GB, free: 65.57 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_Rectifier_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_Rectifier.fmu > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.pipe 2>&1)