Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Rectifier6pulseFFT.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.Blocks.Examples.Rectifier6pulseFFT,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Rectifier6pulseFFT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Rectifier6pulseFFT,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Rectifier6pulseFFT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009421/0.0009422, allocations: 197.8 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.199/1.199, allocations: 227.2 MB / 245 MB, free: 7.582 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008752/0.0008752, allocations: 108.9 kB / 297.3 MB, free: 6.207 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002054/0.0002055, allocations: 4 kB / 358 MB, free: 9.473 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.1715, allocations: 51.48 MB / 409.5 MB, free: 26.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09803/0.2696, allocations: 94.81 MB / 0.4925 GB, free: 11.69 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000184/0.2698, allocations: 80.67 kB / 0.4926 GB, free: 11.61 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5699/0.8397, allocations: 114.5 MB / 0.6044 GB, free: 4.93 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.8398, allocations: 0 / 0.6044 GB, free: 4.93 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002447/0.84, allocations: 215.9 kB / 0.6046 GB, free: 4.719 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: 5386 * Number of variables: 5386 Notification: Performance of Generate backend data structure: time 0.01557/0.8556, allocations: 14.55 MB / 0.6188 GB, free: 6.051 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.8557, allocations: 8.031 kB / 0.6188 GB, free: 6.043 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002269/0.8579, allocations: 2.071 MB / 0.6208 GB, free: 3.961 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002578/0.8605, allocations: 1.518 MB / 0.6223 GB, free: 2.422 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01692/0.8774, allocations: 7.685 MB / 0.6298 GB, free: 10.65 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001126/0.8776, allocations: 160.4 kB / 0.6299 GB, free: 10.49 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005916/0.8782, allocations: 227.9 kB / 0.6302 GB, free: 10.27 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02654/0.9047, allocations: 25.32 MB / 0.6549 GB, free: 0.8008 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.389e-05/0.9048, allocations: 7.938 kB / 0.6549 GB, free: 0.793 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004711/0.9053, allocations: 99.97 kB / 0.655 GB, free: 0.6953 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001004/0.9054, allocations: 112.5 kB / 0.6551 GB, free: 0.582 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1875/1.093, allocations: 22.09 MB / 0.6767 GB, free: 78.05 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03367/1.127, allocations: 21.16 MB / 0.6973 GB, free: 75.47 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03705/1.164, allocations: 80.19 MB / 0.7756 GB, free: 19.55 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002666/1.164, allocations: 139.5 kB / 0.7758 GB, free: 19.46 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02205/1.186, allocations: 28.28 MB / 0.8034 GB, free: 2.617 MB / 442.7 MB Notification: Performance of pre-optimization done (n=4937): time 3.486e-06/1.186, allocations: 0 / 0.8034 GB, free: 2.617 MB / 442.7 MB Notification: Performance of matching and sorting (n=4941): time 9.983/11.17, allocations: 2.908 GB / 3.711 GB, free: 25.3 MB / 1.807 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002877/11.17, allocations: 7.197 MB / 3.718 GB, free: 18.38 MB / 1.807 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00175/11.17, allocations: 1.355 MB / 3.72 GB, free: 17.02 MB / 1.807 GB Notification: Performance of collectPreVariables (initialization): time 0.003599/11.18, allocations: 3.928 MB / 3.724 GB, free: 13.07 MB / 1.807 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007401/11.18, allocations: 1.031 MB / 3.725 GB, free: 12.14 MB / 1.807 GB Notification: Performance of collectInitialBindings (initialization): time 0.01777/11.2, allocations: 21.23 MB / 3.745 GB, free: 7.086 MB / 1.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004758/11.2, allocations: 1.488 MB / 3.747 GB, free: 5.598 MB / 1.823 GB Notification: Performance of setup shared object (initialization): time 0.00443/11.21, allocations: 3.46 MB / 3.75 GB, free: 2.129 MB / 1.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04374/11.25, allocations: 26.21 MB / 3.776 GB, free: 7.898 MB / 1.854 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.06455/11.31, allocations: 57.6 MB / 3.832 GB, free: 0.9102 MB / 1.917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05227/11.37, allocations: 37.72 MB / 3.869 GB, free: 11.65 MB / 1.964 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.001062/11.37, allocations: 300 kB / 3.869 GB, free: 11.36 MB / 1.964 GB Notification: Performance of matching and sorting (n=9771) (initialization): time 0.1547/11.52, allocations: 85.56 MB / 3.953 GB, free: 5.75 MB / 2.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.001243/11.52, allocations: 489.7 kB / 3.953 GB, free: 5.266 MB / 2.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001799/11.52, allocations: 1.031 MB / 3.954 GB, free: 4.238 MB / 2.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004496/11.53, allocations: 2.312 MB / 3.956 GB, free: 1.918 MB / 2.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03673/11.57, allocations: 10.54 MB / 3.967 GB, free: 7.348 MB / 2.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01501/11.58, allocations: 12.86 MB / 3.979 GB, free: 9.961 MB / 2.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03039/11.61, allocations: 2.429 MB / 3.982 GB, free: 7.535 MB / 2.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.009715/11.62, allocations: 3.562 MB / 3.985 GB, free: 3.973 MB / 2.073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4821 * Number of states: 0 () * Number of discrete variables: 18 ($PRE.realFFT.firstTrigger,realFFT.firstTrigger,$PRE.realFFT.info,realFFT.info,$PRE.realFFT.buf[4000],realFFT.buf[4000],$PRE.realFFT.iTick,realFFT.iTick,$whenCondition3,$whenCondition1,$whenCondition2,realFFT.sampleTrigger,diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9716): * Single equations (assignments): 9711 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 29} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.03257/11.65, allocations: 14.48 MB / 3.999 GB, free: 5.422 MB / 2.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006372/11.66, allocations: 2.215 MB / 4.001 GB, free: 3.188 MB / 2.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.793/18.45, allocations: 8.838 GB / 12.84 GB, free: 0.5711 GB / 2.589 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.416e-05/18.45, allocations: 12.94 kB / 12.84 GB, free: 0.5711 GB / 2.589 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/18.45, allocations: 5.875 kB / 12.84 GB, free: 0.5711 GB / 2.589 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.929e-05/18.45, allocations: 3.984 kB / 12.84 GB, free: 0.5711 GB / 2.589 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.25/24.7, allocations: 8.861 GB / 21.7 GB, free: 0.6043 GB / 2.589 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.455e-05/24.7, allocations: 3.094 kB / 21.7 GB, free: 0.6043 GB / 2.589 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007431/24.7, allocations: 159.9 kB / 21.7 GB, free: 0.6041 GB / 2.589 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001518/24.71, allocations: 0.6945 MB / 21.7 GB, free: 0.6035 GB / 2.589 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003861/24.71, allocations: 0.7656 MB / 21.7 GB, free: 0.6027 GB / 2.589 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008436/24.72, allocations: 10.62 MB / 21.71 GB, free: 0.592 GB / 2.589 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/24.72, allocations: 0 / 21.71 GB, free: 0.592 GB / 2.589 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.265/30.98, allocations: 8.889 GB / 30.6 GB, free: 0.5983 GB / 2.589 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01949/31, allocations: 6.054 MB / 30.61 GB, free: 0.5932 GB / 2.589 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00516/31.01, allocations: 0.6172 MB / 30.61 GB, free: 0.5926 GB / 2.589 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00824/31.02, allocations: 0.67 MB / 30.61 GB, free: 0.5919 GB / 2.589 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004518/31.02, allocations: 0.5519 MB / 30.61 GB, free: 0.5914 GB / 2.589 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004659/31.02, allocations: 1.214 MB / 30.61 GB, free: 0.5902 GB / 2.589 GB Notification: Performance of sorting global known variables: time 0.001747/31.03, allocations: 1.068 MB / 30.61 GB, free: 0.5892 GB / 2.589 GB Notification: Performance of sort global known variables: time 2.6e-07/31.03, allocations: 0 / 30.61 GB, free: 0.5892 GB / 2.589 GB Notification: Performance of remove unused functions: time 0.04174/31.07, allocations: 9.549 MB / 30.62 GB, free: 0.5799 GB / 2.589 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i) * Number of discrete variables: 14 (realFFT.sampleTrigger,$whenCondition3,$whenCondition1,$whenCondition2,diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off,realFFT.firstTrigger,realFFT.info,realFFT.buf[4000],realFFT.iTick) * Number of discrete states: 5 (realFFT.info,$whenCondition2,realFFT.buf[4000],realFFT.iTick,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 29} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 6.626/37.69, allocations: 8.896 GB / 39.52 GB, free: 0.5761 GB / 2.589 GB Notification: Performance of simCode: created initialization part: time 0.09374/37.79, allocations: 81.78 MB / 39.6 GB, free: 0.4972 GB / 2.589 GB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/37.79, allocations: 0 / 39.6 GB, free: 0.4972 GB / 2.589 GB Notification: Performance of simCode: created simulation system equations: time 40.06/77.85, allocations: 28.61 GB / 68.21 GB, free: 387.1 MB / 3.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008315/77.86, allocations: 1.058 MB / 68.21 GB, free: 386.1 MB / 3.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7882/78.65, allocations: 1.103 GB / 69.31 GB, free: 2.078 GB / 3.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008144/78.65, allocations: 9.127 MB / 69.32 GB, free: 2.073 GB / 3.214 GB Notification: Performance of simCode: alias equations: time 0.009499/78.66, allocations: 4.078 MB / 69.33 GB, free: 2.07 GB / 3.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01067/78.67, allocations: 7.049 MB / 69.33 GB, free: 2.063 GB / 3.214 GB Notification: Performance of SimCode: time 1.433e-06/78.67, allocations: 0 / 69.33 GB, free: 2.063 GB / 3.214 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4695/79.14, allocations: 407.9 MB / 69.73 GB, free: 1.672 GB / 3.214 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001557/79.14, allocations: 263.8 kB / 69.73 GB, free: 1.672 GB / 3.214 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.82/95.96, allocations: 0 / 69.73 GB, free: 1.672 GB / 3.214 GB (rm -f Modelica_trunk_Modelica.Blocks.Examples.Rectifier6pulseFFT.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Rectifier6pulseFFT.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Rectifier6pulseFFT.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Rectifier6pulseFFT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.Rectifier6pulseFFT_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_Rectifier6pulseFFT_fmu --startTime=0 --stopTime=0.25 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_Rectifier6pulseFFT.fmu > Modelica_trunk_Modelica.Blocks.Examples.Rectifier6pulseFFT.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Blocks.Examples.Rectifier6pulseFFT_res.mat does not exist to compare? outputFormat=mat