Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Rectifier12pulseFFT.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.Rectifier12pulseFFT,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Rectifier12pulseFFT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Rectifier12pulseFFT,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Rectifier12pulseFFT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002041/0.002041, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.542/1.542, allocations: 225.4 MB / 240.1 MB, free: 15.06 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008943/0.0008941, allocations: 88.88 kB / 292.1 MB, free: 6 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.916e-05/2.918e-05, allocations: 4 kB / 350.6 MB, free: 2.465 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1208, allocations: 51.49 MB / 402.1 MB, free: 14.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.419/0.5399, allocations: 96.36 MB / 498.5 MB, free: 9.223 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002455/0.5402, allocations: 69.97 kB / 498.5 MB, free: 9.191 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.1/1.641, allocations: 167.6 MB / 0.6506 GB, free: 61.95 MB / 442.8 MB Notification: Performance of FrontEnd: time 4.389e-06/1.641, allocations: 2.312 kB / 0.6506 GB, free: 61.95 MB / 442.8 MB Notification: Performance of Transformations before backend: time 0.001145/1.642, allocations: 264.1 kB / 0.6508 GB, free: 61.92 MB / 442.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5853 * Number of variables: 5853 Notification: Performance of Generate backend data structure: time 0.03776/1.68, allocations: 15.88 MB / 0.6663 GB, free: 55.14 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.42e-05/1.68, allocations: 9.969 kB / 0.6663 GB, free: 55.14 MB / 442.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01009/1.69, allocations: 2.288 MB / 0.6686 GB, free: 54.12 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007896/1.698, allocations: 1.768 MB / 0.6703 GB, free: 53.12 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02266/1.72, allocations: 8.825 MB / 0.6789 GB, free: 49.4 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003468/1.721, allocations: 294.3 kB / 0.6792 GB, free: 49.27 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002981/1.724, allocations: 391.9 kB / 0.6796 GB, free: 49.14 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04495/1.769, allocations: 27.72 MB / 0.7066 GB, free: 26.83 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.289e-05/1.769, allocations: 3.938 kB / 0.7067 GB, free: 26.83 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008604/1.77, allocations: 174.7 kB / 0.7068 GB, free: 26.66 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001574/1.77, allocations: 204 kB / 0.707 GB, free: 26.46 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03254/1.803, allocations: 24.01 MB / 0.7305 GB, free: 2.434 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3616/2.164, allocations: 28.71 MB / 0.7585 GB, free: 68.75 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.06286/2.227, allocations: 83.48 MB / 0.84 GB, free: 10.82 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.09844/2.326, allocations: 80.31 MB / 0.9184 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006298/2.326, allocations: 148.4 kB / 0.9186 GB, free: 14.92 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.04794/2.374, allocations: 28.96 MB / 0.9469 GB, free: 1.82 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=5058): time 8.676e-06/2.374, allocations: 0 / 0.9469 GB, free: 1.82 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5065): time 10.3/12.67, allocations: 2.19 GB / 3.137 GB, free: 174.8 MB / 1.917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002763/12.68, allocations: 7.356 MB / 3.144 GB, free: 167.7 MB / 1.917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002911/12.68, allocations: 2.335 MB / 3.146 GB, free: 165.3 MB / 1.917 GB Notification: Performance of collectPreVariables (initialization): time 0.003559/12.68, allocations: 3.955 MB / 3.15 GB, free: 161.3 MB / 1.917 GB Notification: Performance of collectInitialEqns (initialization): time 0.001118/12.68, allocations: 1.746 MB / 3.152 GB, free: 159.6 MB / 1.917 GB Notification: Performance of collectInitialBindings (initialization): time 0.01265/12.7, allocations: 21.64 MB / 3.173 GB, free: 138 MB / 1.917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003193/12.7, allocations: 1.515 MB / 3.174 GB, free: 136.5 MB / 1.917 GB Notification: Performance of setup shared object (initialization): time 0.002325/12.7, allocations: 3.499 MB / 3.178 GB, free: 133 MB / 1.917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0318/12.73, allocations: 26.27 MB / 3.203 GB, free: 106.7 MB / 1.917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04498/12.78, allocations: 57.87 MB / 3.26 GB, free: 35.43 MB / 1.917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.045/12.82, allocations: 38.21 MB / 3.297 GB, free: 13.77 MB / 1.932 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.001104/12.82, allocations: 300 kB / 3.297 GB, free: 13.47 MB / 1.932 GB Notification: Performance of matching and sorting (n=9915) (initialization): time 0.148/12.97, allocations: 86.56 MB / 3.382 GB, free: 6.801 MB / 2.011 GB Notification: Performance of prepare postOptimizeDAE: time 0.001785/12.97, allocations: 486.5 kB / 3.382 GB, free: 6.32 MB / 2.011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002277/12.98, allocations: 1.031 MB / 3.383 GB, free: 5.289 MB / 2.011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005489/12.98, allocations: 3.02 MB / 3.386 GB, free: 2.25 MB / 2.011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03384/13.02, allocations: 10.72 MB / 3.397 GB, free: 7.504 MB / 2.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02347/13.04, allocations: 25.53 MB / 3.422 GB, free: 12.7 MB / 2.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02797/13.07, allocations: 2.49 MB / 3.424 GB, free: 10.21 MB / 2.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008638/13.08, allocations: 3.602 MB / 3.428 GB, free: 6.605 MB / 2.057 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4832 * Number of states: 0 () * Number of discrete variables: 24 ($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,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9809): * Single equations (assignments): 9798 * 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: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 9,(1,100.0%) 9,(1,100.0%) 9,(2,100.0%) 29} * Non-linear torn systems: 6 {2 7,2 7,2 7,2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.02056/13.1, allocations: 11.04 MB / 3.439 GB, free: 11.5 MB / 2.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005293/13.1, allocations: 2.346 MB / 3.441 GB, free: 9.137 MB / 2.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.983/19.09, allocations: 8.84 GB / 12.28 GB, free: 1.33 GB / 2.745 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-05/19.09, allocations: 24 kB / 12.28 GB, free: 1.33 GB / 2.745 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/19.09, allocations: 9.719 kB / 12.28 GB, free: 1.33 GB / 2.745 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-05/19.09, allocations: 11.95 kB / 12.28 GB, free: 1.33 GB / 2.745 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.186/25.27, allocations: 8.864 GB / 21.14 GB, free: 1.935 GB / 2.745 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-05/25.27, allocations: 0 / 21.14 GB, free: 1.935 GB / 2.745 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001144/25.27, allocations: 301.9 kB / 21.14 GB, free: 1.935 GB / 2.745 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002626/25.28, allocations: 1.369 MB / 21.15 GB, free: 1.934 GB / 2.745 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00354/25.28, allocations: 0.7985 MB / 21.15 GB, free: 1.933 GB / 2.745 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01552/25.29, allocations: 23.17 MB / 21.17 GB, free: 1.909 GB / 2.745 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/25.29, allocations: 0 / 21.17 GB, free: 1.909 GB / 2.745 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.643/30.94, allocations: 8.891 GB / 30.06 GB, free: 130.6 MB / 2.745 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01451/30.95, allocations: 6.333 MB / 30.07 GB, free: 125.1 MB / 2.745 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003699/30.96, allocations: 0.6509 MB / 30.07 GB, free: 124.4 MB / 2.745 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007599/30.96, allocations: 0.7232 MB / 30.07 GB, free: 123.7 MB / 2.745 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002772/30.97, allocations: 0.6551 MB / 30.07 GB, free: 123.1 MB / 2.745 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002133/30.97, allocations: 1.246 MB / 30.07 GB, free: 121.8 MB / 2.745 GB Notification: Performance of sorting global known variables: time 0.002402/30.97, allocations: 1.824 MB / 30.07 GB, free: 120 MB / 2.745 GB Notification: Performance of sort global known variables: time 3.4e-07/30.97, allocations: 0 / 30.07 GB, free: 120 MB / 2.745 GB Notification: Performance of remove unused functions: time 0.03678/31.01, allocations: 9.99 MB / 30.08 GB, free: 110 MB / 2.745 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i,transformer2.l2sigma.inductor[1].i,transformer2.l2sigma.inductor[2].i,transformer2.l2sigma.inductor[3].i) * Number of discrete variables: 20 (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,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (155): * Single equations (assignments): 143 * 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: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 29,(1,100.0%) 9,(1,100.0%) 9,(1,100.0%) 9} * Non-linear torn systems: 6 {2 7,2 7,2 7,2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 5.988/37, allocations: 8.898 GB / 38.98 GB, free: 0.6863 GB / 2.745 GB Notification: Performance of simCode: created initialization part: time 0.08223/37.08, allocations: 83.38 MB / 39.06 GB, free: 0.606 GB / 2.745 GB Notification: Performance of simCode: created event and clocks part: time 1.033e-05/37.08, allocations: 0 / 39.06 GB, free: 0.606 GB / 2.745 GB Notification: Performance of simCode: created simulation system equations: time 35.57/72.65, allocations: 28.62 GB / 67.68 GB, free: 1.482 GB / 2.933 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007856/72.66, allocations: 1.492 MB / 67.68 GB, free: 1.481 GB / 2.933 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07897/72.74, allocations: 59.61 MB / 67.74 GB, free: 1.423 GB / 2.933 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00716/72.75, allocations: 10.27 MB / 67.75 GB, free: 1.413 GB / 2.933 GB Notification: Performance of simCode: alias equations: time 0.007473/72.75, allocations: 4.36 MB / 67.75 GB, free: 1.409 GB / 2.933 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008605/72.76, allocations: 8.029 MB / 67.76 GB, free: 1.401 GB / 2.933 GB Notification: Performance of SimCode: time 6.32e-07/72.76, allocations: 3.062 kB / 67.76 GB, free: 1.401 GB / 2.933 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4629/73.23, allocations: 452.9 MB / 68.2 GB, free: 0.9604 GB / 2.933 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001165/73.23, allocations: 219.7 kB / 68.2 GB, free: 0.9602 GB / 2.933 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.81/99.04, allocations: 3.375 kB / 68.2 GB, free: 0.9602 GB / 2.933 GB (rm -f Modelica_trunk_Modelica.Blocks.Examples.Rectifier12pulseFFT.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Rectifier12pulseFFT.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Rectifier12pulseFFT.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Rectifier12pulseFFT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.Rectifier12pulseFFT_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_Rectifier12pulseFFT_fmu --startTime=0 --stopTime=0.25 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_Rectifier12pulseFFT.fmu > Modelica_trunk_Modelica.Blocks.Examples.Rectifier12pulseFFT.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Blocks.Examples.Rectifier12pulseFFT_res.mat does not exist to compare? outputFormat=mat