Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.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.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_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.001514/0.001514, allocations: 185.7 kB / 16.4 MB, free: 5.746 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.946/1.946, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.00115/0.00115, allocations: 97.97 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003983/0.0003984, allocations: 8 kB / 327.1 MB, free: 96 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3511/0.3516, allocations: 47.56 MB / 374.6 MB, free: 45.29 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2419/0.5935, allocations: 126 MB / 0.4889 GB, free: 2.543 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003683/0.5939, allocations: 91.95 kB / 0.489 GB, free: 2.453 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4876/1.081, allocations: 55.48 MB / 0.5432 GB, free: 74.79 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.686e-06/1.082, allocations: 0 / 0.5432 GB, free: 74.79 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002718/1.082, allocations: 71.81 kB / 0.5432 GB, free: 74.72 MB / 378.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.009928/1.092, allocations: 2.953 MB / 0.5461 GB, free: 71.7 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/1.092, allocations: 11.97 kB / 0.5461 GB, free: 71.69 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009731/1.093, allocations: 345.7 kB / 0.5465 GB, free: 71.34 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001935/1.095, allocations: 432 kB / 0.5469 GB, free: 70.92 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004517/1.099, allocations: 1.746 MB / 0.5486 GB, free: 69.12 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001245/1.099, allocations: 176.8 kB / 0.5488 GB, free: 68.94 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004899/1.1, allocations: 243.9 kB / 0.549 GB, free: 68.7 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006554/1.107, allocations: 3.016 MB / 0.5519 GB, free: 65.52 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001001/1.107, allocations: 19.78 kB / 0.552 GB, free: 65.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003356/1.107, allocations: 104 kB / 0.5521 GB, free: 65.4 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001085/1.107, allocations: 92.59 kB / 0.5521 GB, free: 65.31 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005901/1.113, allocations: 2.446 MB / 0.5545 GB, free: 62.85 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02299/1.136, allocations: 10.3 MB / 0.5646 GB, free: 52.23 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008636/1.145, allocations: 2.768 MB / 0.5673 GB, free: 49.29 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006511/1.145, allocations: 138.4 kB / 0.5674 GB, free: 49.13 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.249e-05/1.146, allocations: 63.77 kB / 0.5675 GB, free: 49.06 MB / 378.7 MB Notification: Performance of pre-optimization done (n=152): time 7.875e-06/1.146, allocations: 0 / 0.5675 GB, free: 49.06 MB / 378.7 MB Notification: Performance of matching and sorting (n=175): time 0.05572/1.201, allocations: 9.081 MB / 0.5764 GB, free: 39.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.764e-05/1.201, allocations: 176.2 kB / 0.5765 GB, free: 39.62 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003467/1.205, allocations: 1.63 MB / 0.5781 GB, free: 37.95 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004117/1.205, allocations: 57.7 kB / 0.5782 GB, free: 37.89 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007816/1.206, allocations: 1.094 MB / 0.5792 GB, free: 36.78 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006287/1.207, allocations: 0.5853 MB / 0.5798 GB, free: 36.19 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001986/1.207, allocations: 40 kB / 0.5798 GB, free: 36.15 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001432/1.207, allocations: 386.8 kB / 0.5802 GB, free: 35.76 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002155/1.209, allocations: 0.9135 MB / 0.5811 GB, free: 34.85 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002387/1.212, allocations: 1.365 MB / 0.5824 GB, free: 33.3 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002508/1.214, allocations: 1.107 MB / 0.5835 GB, free: 32.2 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.126e-05/1.214, allocations: 7.953 kB / 0.5835 GB, free: 32.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.007971/1.222, allocations: 3.191 MB / 0.5866 GB, free: 28.98 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000917/1.223, allocations: 4.714 MB / 0.5912 GB, free: 23.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.427e-05/1.223, allocations: 16 kB / 0.5913 GB, free: 23.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00399/1.227, allocations: 0.9681 MB / 0.5922 GB, free: 22.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002717/1.23, allocations: 367.4 kB / 0.5926 GB, free: 22.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02004/1.25, allocations: 12.33 MB / 0.6046 GB, free: 9.656 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002823/1.253, allocations: 104.5 kB / 0.6047 GB, free: 9.555 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003266/1.253, allocations: 76 kB / 0.6048 GB, free: 9.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/1.253, allocations: 4 kB / 0.6048 GB, free: 9.477 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007748/1.261, allocations: 3.084 MB / 0.6078 GB, free: 6.375 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.779e-05/1.261, allocations: 12 kB / 0.6078 GB, free: 6.363 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003394/1.265, allocations: 0.9651 MB / 0.6087 GB, free: 5.383 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002626/1.267, allocations: 359.5 kB / 0.6091 GB, free: 5.031 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02306/1.29, allocations: 12.45 MB / 0.6212 GB, free: 8.047 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001824/1.292, allocations: 107.9 kB / 0.6213 GB, free: 7.941 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003185/1.293, allocations: 72 kB / 0.6214 GB, free: 7.871 MB / 394.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 () * Number of clocked 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.002786/1.295, allocations: 0.8115 MB / 0.6222 GB, free: 7.051 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009004/1.296, allocations: 221.4 kB / 0.6224 GB, free: 6.832 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009649/1.306, allocations: 2.983 MB / 0.6253 GB, free: 3.816 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.788e-05/1.306, allocations: 16 kB / 0.6254 GB, free: 3.801 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.722e-05/1.306, allocations: 4 kB / 0.6254 GB, free: 3.797 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.982e-05/1.306, allocations: 7.969 kB / 0.6254 GB, free: 3.789 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01871/1.325, allocations: 5.928 MB / 0.6312 GB, free: 13.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.57e-05/1.325, allocations: 7.984 kB / 0.6312 GB, free: 13.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002068/1.327, allocations: 223.9 kB / 0.6314 GB, free: 13.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004926/1.332, allocations: 1.031 MB / 0.6324 GB, free: 12.48 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003664/1.332, allocations: 39.98 kB / 0.6324 GB, free: 12.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3161/1.648, allocations: 14.06 MB / 0.6462 GB, free: 95.57 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/1.648, allocations: 0 / 0.6462 GB, free: 95.57 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01106/1.66, allocations: 4.482 MB / 0.6505 GB, free: 95.08 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001754/1.661, allocations: 0.4884 MB / 0.651 GB, free: 94.99 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007516/1.662, allocations: 38.97 kB / 0.651 GB, free: 94.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002378/1.665, allocations: 104.6 kB / 0.6511 GB, free: 94.99 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005715/1.665, allocations: 141.1 kB / 0.6513 GB, free: 94.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001671/1.665, allocations: 50.91 kB / 0.6513 GB, free: 94.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002963/1.668, allocations: 1.254 MB / 0.6525 GB, free: 94.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.42e-07/1.668, allocations: 0 / 0.6525 GB, free: 94.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005836/1.674, allocations: 1.182 MB / 0.6537 GB, free: 94.84 MB / 410.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 () * Number of clocked 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.01209/1.686, allocations: 5.823 MB / 0.6594 GB, free: 93.33 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01531/1.702, allocations: 5.508 MB / 0.6648 GB, free: 92.02 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.161e-05/1.702, allocations: 1.031 kB / 0.6648 GB, free: 92.02 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006046/1.708, allocations: 2.141 MB / 0.6669 GB, free: 91.39 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004546/1.712, allocations: 0.5323 MB / 0.6674 GB, free: 91.38 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02297/1.735, allocations: 16.25 MB / 0.6832 GB, free: 79.84 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002789/1.738, allocations: 2.028 MB / 0.6852 GB, free: 79.07 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002089/1.74, allocations: 0.9975 MB / 0.6862 GB, free: 78.95 MB / 410.7 MB Notification: Performance of SimCode: time 1.944e-06/1.74, allocations: 0 / 0.6862 GB, free: 78.95 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.09/5.831, allocations: 102.5 MB / 0.7863 GB, free: 10.69 MB / 426.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Rectifier_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Rectifier.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier_res.mat does not exist to compare? outputFormat=mat