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.0009353/0.0009353, allocations: 172.3 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.33/1.33, allocations: 205.2 MB / 219.8 MB, free: 14.2 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007829/0.0007829, allocations: 74.72 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.844e-05/2.846e-05, allocations: 4 kB / 322.6 MB, free: 17.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09409/0.09414, allocations: 47.57 MB / 370.1 MB, free: 1.609 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3439/0.4381, allocations: 131.3 MB / 0.4897 GB, free: 10.91 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002382/0.4384, allocations: 81.77 kB / 0.4898 GB, free: 10.88 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.419/0.8573, allocations: 96.02 MB / 0.5836 GB, free: 90.15 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.113e-06/0.8574, allocations: 0 / 0.5836 GB, free: 90.15 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002088/0.8576, allocations: 95.33 kB / 0.5836 GB, free: 90.14 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.007085/0.8647, allocations: 3.743 MB / 0.5873 GB, free: 88.29 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.8647, allocations: 14.62 kB / 0.5873 GB, free: 88.28 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006884/0.8654, allocations: 0.4985 MB / 0.5878 GB, free: 87.99 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004134/0.8696, allocations: 0.9063 MB / 0.5887 GB, free: 87.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007196/0.8768, allocations: 3.619 MB / 0.5922 GB, free: 85.93 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001266/0.8769, allocations: 275.2 kB / 0.5925 GB, free: 85.81 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004577/0.8774, allocations: 367.6 kB / 0.5928 GB, free: 85.69 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006212/0.8836, allocations: 4.575 MB / 0.5973 GB, free: 83.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-05/0.8837, allocations: 6.875 kB / 0.5973 GB, free: 83.49 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003103/0.884, allocations: 154.7 kB / 0.5975 GB, free: 83.38 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001119/0.8841, allocations: 152.3 kB / 0.5976 GB, free: 83.36 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005142/0.8893, allocations: 3.712 MB / 0.6012 GB, free: 81.43 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01875/0.9081, allocations: 16.02 MB / 0.6169 GB, free: 66.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005255/0.9133, allocations: 7.791 MB / 0.6245 GB, free: 57.45 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002088/0.9155, allocations: 1.73 MB / 0.6262 GB, free: 55.72 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006762/0.9222, allocations: 5.063 MB / 0.6311 GB, free: 50.55 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.9223, allocations: 56.5 kB / 0.6312 GB, free: 50.49 MB / 410.7 MB Notification: Performance of pre-optimization done (n=174): time 3.396e-06/0.9223, allocations: 0 / 0.6312 GB, free: 50.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=177): time 0.006996/0.9293, allocations: 5.083 MB / 0.6361 GB, free: 45.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.985e-05/0.9294, allocations: 176.2 kB / 0.6363 GB, free: 45.09 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00245/0.9318, allocations: 1.916 MB / 0.6382 GB, free: 43.15 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001027/0.9319, allocations: 61.38 kB / 0.6382 GB, free: 43.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007223/0.9327, allocations: 1.69 MB / 0.6399 GB, free: 41.38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002828/0.933, allocations: 0.6044 MB / 0.6405 GB, free: 40.78 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.889e-05/0.9331, allocations: 40 kB / 0.6405 GB, free: 40.74 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.813e-05/0.9332, allocations: 394.9 kB / 0.6409 GB, free: 40.35 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001018/0.9342, allocations: 0.8127 MB / 0.6417 GB, free: 39.53 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001269/0.9355, allocations: 1.442 MB / 0.6431 GB, free: 37.81 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001246/0.9367, allocations: 1.063 MB / 0.6441 GB, free: 36.75 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.175e-06/0.9367, allocations: 8 kB / 0.6441 GB, free: 36.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.003678/0.9404, allocations: 2.976 MB / 0.647 GB, free: 33.73 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001406/0.9418, allocations: 7.829 MB / 0.6547 GB, free: 25.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.368e-05/0.9419, allocations: 23.98 kB / 0.6547 GB, free: 25.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008878/0.9428, allocations: 471.8 kB / 0.6552 GB, free: 24.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001578/0.9444, allocations: 487.2 kB / 0.6556 GB, free: 24.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005557/0.9499, allocations: 8.046 MB / 0.6635 GB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00188/0.9518, allocations: 107.9 kB / 0.6636 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001552/0.952, allocations: 92 kB / 0.6637 GB, free: 15.32 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.606e-06/0.952, allocations: 4 kB / 0.6637 GB, free: 15.32 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003567/0.9556, allocations: 2.719 MB / 0.6663 GB, free: 12.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.086e-05/0.9556, allocations: 20 kB / 0.6663 GB, free: 12.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008048/0.9564, allocations: 476.2 kB / 0.6668 GB, free: 12.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001557/0.958, allocations: 479.2 kB / 0.6673 GB, free: 11.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005846/0.9639, allocations: 8.051 MB / 0.6751 GB, free: 3.016 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002321/0.9662, allocations: 91.91 kB / 0.6752 GB, free: 2.926 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002066/0.9665, allocations: 91.98 kB / 0.6753 GB, free: 2.836 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.0005465/0.967, allocations: 249.5 kB / 0.6755 GB, free: 2.586 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004506/0.9675, allocations: 257.1 kB / 0.6758 GB, free: 2.332 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004304/0.9718, allocations: 2.725 MB / 0.6784 GB, free: 15.54 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.568e-05/0.9718, allocations: 20 kB / 0.6785 GB, free: 15.52 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/0.9718, allocations: 8 kB / 0.6785 GB, free: 15.51 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.608e-05/0.9719, allocations: 11.97 kB / 0.6785 GB, free: 15.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01009/0.9819, allocations: 5.876 MB / 0.6842 GB, free: 9.512 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-05/0.982, allocations: 4.219 kB / 0.6842 GB, free: 9.508 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001089/0.9831, allocations: 247.7 kB / 0.6845 GB, free: 9.266 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001513/0.9846, allocations: 0.6449 MB / 0.6851 GB, free: 8.605 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001173/0.9848, allocations: 47.89 kB / 0.6851 GB, free: 8.559 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2384/1.223, allocations: 12.53 MB / 0.6974 GB, free: 90.02 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/1.223, allocations: 5.219 kB / 0.6974 GB, free: 90.02 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005981/1.229, allocations: 3.922 MB / 0.7012 GB, free: 89.37 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001317/1.23, allocations: 0.5081 MB / 0.7017 GB, free: 89.28 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002989/1.231, allocations: 44.12 kB / 0.7017 GB, free: 89.28 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001095/1.232, allocations: 85.09 kB / 0.7018 GB, free: 89.28 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003984/1.232, allocations: 135.6 kB / 0.702 GB, free: 89.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001039/1.232, allocations: 45.47 kB / 0.702 GB, free: 89.27 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002313/1.235, allocations: 1.46 MB / 0.7034 GB, free: 89.11 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.31e-07/1.235, allocations: 1.125 kB / 0.7034 GB, free: 89.11 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00406/1.239, allocations: 1.334 MB / 0.7047 GB, free: 89.11 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.006256/1.245, allocations: 5.322 MB / 0.7099 GB, free: 87.47 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006474/1.252, allocations: 4.738 MB / 0.7145 GB, free: 86.23 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/1.252, allocations: 0 / 0.7145 GB, free: 86.23 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002433/1.254, allocations: 1.91 MB / 0.7164 GB, free: 85.53 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003441/1.258, allocations: 0.6447 MB / 0.717 GB, free: 85.51 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01495/1.272, allocations: 6.512 MB / 0.7234 GB, free: 84.05 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002774/1.275, allocations: 2.585 MB / 0.7259 GB, free: 83.24 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00376/1.279, allocations: 0.8446 MB / 0.7268 GB, free: 83.14 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001752/1.281, allocations: 1.347 MB / 0.7281 GB, free: 83.13 MB / 426.7 MB Notification: Performance of SimCode: time 9.42e-07/1.281, allocations: 2.625 kB / 0.7281 GB, free: 83.13 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1112/1.392, allocations: 74.91 MB / 0.8012 GB, free: 38.59 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000134/1.392, allocations: 200.9 kB / 0.8014 GB, free: 38.36 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.175/5.567, allocations: 0 / 0.8014 GB, free: 38.36 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)