Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001558/0.001558, allocations: 181.6 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.047/2.047, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001101/0.001101, allocations: 90.64 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.139e-05/3.156e-05, allocations: 8 kB / 321.6 MB, free: 17.74 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09994/0.1, allocations: 47.57 MB / 369.2 MB, free: 2.102 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4957/0.5958, allocations: 131.3 MB / 0.4888 GB, free: 10.52 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003121/0.5962, allocations: 85.33 kB / 0.4889 GB, free: 10.48 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6677/1.264, allocations: 96.01 MB / 0.5826 GB, free: 89.94 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.134e-06/1.264, allocations: 0 / 0.5826 GB, free: 89.94 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004218/1.264, allocations: 91.12 kB / 0.5827 GB, free: 89.92 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.01524/1.28, allocations: 3.74 MB / 0.5864 GB, free: 88.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.584e-05/1.28, allocations: 10.72 kB / 0.5864 GB, free: 88.07 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002003/1.282, allocations: 0.509 MB / 0.5869 GB, free: 87.78 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007802/1.29, allocations: 0.9075 MB / 0.5878 GB, free: 87.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01396/1.304, allocations: 3.607 MB / 0.5913 GB, free: 85.73 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003797/1.304, allocations: 280.3 kB / 0.5916 GB, free: 85.61 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001614/1.306, allocations: 370 kB / 0.5919 GB, free: 85.48 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01478/1.32, allocations: 4.566 MB / 0.5964 GB, free: 83.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001489/1.321, allocations: 7.938 kB / 0.5964 GB, free: 83.29 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008164/1.321, allocations: 159.6 kB / 0.5965 GB, free: 83.17 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001874/1.322, allocations: 155.1 kB / 0.5967 GB, free: 83.16 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01227/1.334, allocations: 3.71 MB / 0.6003 GB, free: 81.32 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04105/1.375, allocations: 16.03 MB / 0.616 GB, free: 66.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01058/1.386, allocations: 7.791 MB / 0.6236 GB, free: 57.54 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004574/1.39, allocations: 1.722 MB / 0.6253 GB, free: 55.83 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01398/1.404, allocations: 5.063 MB / 0.6302 GB, free: 50.66 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.466e-05/1.404, allocations: 56.55 kB / 0.6303 GB, free: 50.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=174): time 5.371e-06/1.404, allocations: 3.938 kB / 0.6303 GB, free: 50.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=177): time 0.01461/1.419, allocations: 5.079 MB / 0.6352 GB, free: 45.41 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.913e-05/1.419, allocations: 176.2 kB / 0.6354 GB, free: 45.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004844/1.424, allocations: 1.924 MB / 0.6373 GB, free: 43.25 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000415/1.425, allocations: 57.7 kB / 0.6373 GB, free: 43.18 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001332/1.426, allocations: 1.597 MB / 0.6389 GB, free: 41.58 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008798/1.427, allocations: 0.5958 MB / 0.6395 GB, free: 40.99 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002225/1.427, allocations: 44 kB / 0.6395 GB, free: 40.95 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001924/1.427, allocations: 399.2 kB / 0.6399 GB, free: 40.55 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002284/1.43, allocations: 0.8049 MB / 0.6407 GB, free: 39.74 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002901/1.433, allocations: 1.454 MB / 0.6421 GB, free: 38 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00286/1.435, allocations: 1.052 MB / 0.6431 GB, free: 36.95 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.646e-05/1.436, allocations: 8 kB / 0.6431 GB, free: 36.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.007628/1.443, allocations: 2.818 MB / 0.6459 GB, free: 34.09 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001648/1.445, allocations: 7.406 MB / 0.6531 GB, free: 26.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.661e-05/1.445, allocations: 24.06 kB / 0.6531 GB, free: 26.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001826/1.447, allocations: 467.9 kB / 0.6536 GB, free: 25.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003719/1.451, allocations: 483.2 kB / 0.654 GB, free: 25.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009972/1.461, allocations: 8.041 MB / 0.6619 GB, free: 16.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003197/1.464, allocations: 99.86 kB / 0.662 GB, free: 16.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005467/1.464, allocations: 92.09 kB / 0.6621 GB, free: 16.36 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/1.465, allocations: 11.12 kB / 0.6621 GB, free: 16.36 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007343/1.472, allocations: 2.726 MB / 0.6648 GB, free: 13.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001015/1.472, allocations: 23.98 kB / 0.6648 GB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001535/1.474, allocations: 476.5 kB / 0.6652 GB, free: 13.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003544/1.477, allocations: 475.3 kB / 0.6657 GB, free: 12.63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009734/1.487, allocations: 8.099 MB / 0.6736 GB, free: 3.996 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001943/1.489, allocations: 91.83 kB / 0.6737 GB, free: 3.906 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003235/1.489, allocations: 92.08 kB / 0.6738 GB, free: 3.816 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.0006646/1.49, allocations: 249.5 kB / 0.674 GB, free: 3.566 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000804/1.491, allocations: 252.9 kB / 0.6742 GB, free: 3.316 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007116/1.498, allocations: 2.737 MB / 0.6769 GB, free: 0.5156 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-05/1.498, allocations: 16 kB / 0.6769 GB, free: 0.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.267e-05/1.498, allocations: 4 kB / 0.6769 GB, free: 0.4961 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-05/1.498, allocations: 11.97 kB / 0.6769 GB, free: 496 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01771/1.516, allocations: 5.875 MB / 0.6827 GB, free: 10.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-05/1.516, allocations: 4 kB / 0.6827 GB, free: 10.49 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002464/1.518, allocations: 247.9 kB / 0.6829 GB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002904/1.521, allocations: 0.6411 MB / 0.6836 GB, free: 9.59 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003651/1.522, allocations: 44.06 kB / 0.6836 GB, free: 9.547 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3316/1.853, allocations: 12.53 MB / 0.6958 GB, free: 90.82 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.722e-06/1.853, allocations: 2.125 kB / 0.6958 GB, free: 90.82 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01037/1.864, allocations: 3.929 MB / 0.6997 GB, free: 90.17 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001982/1.866, allocations: 0.5038 MB / 0.7002 GB, free: 90.07 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009027/1.867, allocations: 41.36 kB / 0.7002 GB, free: 90.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002743/1.869, allocations: 89.44 kB / 0.7003 GB, free: 90.07 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007443/1.87, allocations: 139.3 kB / 0.7004 GB, free: 90.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001974/1.87, allocations: 46.34 kB / 0.7005 GB, free: 90.07 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004498/1.875, allocations: 1.458 MB / 0.7019 GB, free: 89.91 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.032e-06/1.875, allocations: 0 / 0.7019 GB, free: 89.91 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007814/1.883, allocations: 1.33 MB / 0.7032 GB, free: 89.91 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.0124/1.895, allocations: 5.313 MB / 0.7084 GB, free: 88.28 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01197/1.907, allocations: 4.663 MB / 0.7129 GB, free: 87.05 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.308e-06/1.907, allocations: 2.25 kB / 0.7129 GB, free: 87.05 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004325/1.912, allocations: 1.909 MB / 0.7148 GB, free: 86.35 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005401/1.917, allocations: 0.6464 MB / 0.7154 GB, free: 86.33 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0221/1.939, allocations: 6.408 MB / 0.7217 GB, free: 84.89 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00458/1.944, allocations: 2.539 MB / 0.7242 GB, free: 84.09 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00361/1.948, allocations: 1.385 MB / 0.7255 GB, free: 84.08 MB / 426.7 MB Notification: Performance of SimCode: time 1.823e-06/1.948, allocations: 2.062 kB / 0.7255 GB, free: 84.08 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.763/6.71, allocations: 159.7 MB / 0.8815 GB, free: 109.2 MB / 442.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_Rectifier_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_Rectifier.fmu > Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.pipe 2>&1)