Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Rectifier6pulseFFT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Rectifier6pulseFFT,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Rectifier6pulseFFT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Rectifier6pulseFFT,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Rectifier6pulseFFT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 174.8 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 221.3 MB / 235.5 MB, free: 2.961 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008497/0.0008497, allocations: 97.84 kB / 286.5 MB, free: 244 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.11e-05/3.114e-05, allocations: 0 / 343.9 MB, free: 4.238 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1078, allocations: 50.41 MB / 394.3 MB, free: 1.781 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3968/0.5047, allocations: 93.95 MB / 488.3 MB, free: 9.52 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002545/0.505, allocations: 71.97 kB / 488.4 MB, free: 9.449 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.912/1.417, allocations: 114.6 MB / 0.5888 GB, free: 87.37 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.383e-06/1.417, allocations: 0 / 0.5888 GB, free: 87.37 MB / 426.8 MB Notification: Performance of Transformations before backend: time 0.0007152/1.418, allocations: 220.2 kB / 0.589 GB, free: 87.36 MB / 426.8 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.02124/1.439, allocations: 14.3 MB / 0.603 GB, free: 82.15 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/1.439, allocations: 7.406 kB / 0.603 GB, free: 82.15 MB / 426.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00453/1.444, allocations: 2.058 MB / 0.605 GB, free: 81.26 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004714/1.448, allocations: 1.483 MB / 0.6064 GB, free: 80.37 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01843/1.467, allocations: 7.652 MB / 0.6139 GB, free: 77.23 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002138/1.467, allocations: 163.8 kB / 0.6141 GB, free: 77.15 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002281/1.469, allocations: 223.2 kB / 0.6143 GB, free: 77.08 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0378/1.507, allocations: 25.21 MB / 0.6389 GB, free: 59.32 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.697e-05/1.507, allocations: 7.984 kB / 0.6389 GB, free: 59.31 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000547/1.508, allocations: 92 kB / 0.639 GB, free: 59.22 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001237/1.508, allocations: 116 kB / 0.6391 GB, free: 59.11 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02644/1.534, allocations: 21.93 MB / 0.6605 GB, free: 37.15 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0388/1.573, allocations: 21.17 MB / 0.6812 GB, free: 15.94 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.32/1.893, allocations: 80.09 MB / 0.7594 GB, free: 63.77 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.05376/1.947, allocations: 78.09 MB / 0.8357 GB, free: 0.8594 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003192/1.948, allocations: 145.1 kB / 0.8358 GB, free: 0.7617 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03351/1.981, allocations: 28.17 MB / 0.8633 GB, free: 4.008 MB / 458.8 MB Notification: Performance of pre-optimization done (n=4937): time 4.408e-06/1.981, allocations: 0 / 0.8633 GB, free: 4.008 MB / 458.8 MB Notification: Performance of matching and sorting (n=4941): time 13.07/15.05, allocations: 2.184 GB / 3.047 GB, free: 41.74 MB / 1.807 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003234/15.06, allocations: 7.197 MB / 3.055 GB, free: 34.81 MB / 1.807 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002056/15.06, allocations: 1.333 MB / 3.056 GB, free: 33.47 MB / 1.807 GB Notification: Performance of collectPreVariables (initialization): time 0.004093/15.06, allocations: 3.928 MB / 3.06 GB, free: 29.52 MB / 1.807 GB Notification: Performance of collectInitialEqns (initialization): time 0.001108/15.07, allocations: 1.039 MB / 3.061 GB, free: 28.54 MB / 1.807 GB Notification: Performance of collectInitialBindings (initialization): time 0.02223/15.09, allocations: 21.23 MB / 3.081 GB, free: 7.406 MB / 1.807 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006602/15.09, allocations: 1.492 MB / 3.083 GB, free: 5.914 MB / 1.807 GB Notification: Performance of setup shared object (initialization): time 0.00724/15.1, allocations: 3.45 MB / 3.086 GB, free: 2.453 MB / 1.807 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.05252/15.15, allocations: 25.66 MB / 3.111 GB, free: 8.777 MB / 1.839 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.07529/15.23, allocations: 57.04 MB / 3.167 GB, free: 2.262 MB / 1.901 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0601/15.29, allocations: 37.46 MB / 3.204 GB, free: 13.15 MB / 1.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.001652/15.29, allocations: 307.6 kB / 3.204 GB, free: 12.85 MB / 1.948 GB Notification: Performance of matching and sorting (n=9771) (initialization): time 0.1944/15.49, allocations: 84.44 MB / 3.286 GB, free: 8.352 MB / 2.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.001759/15.49, allocations: 494.6 kB / 3.287 GB, free: 7.863 MB / 2.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002628/15.49, allocations: 1.027 MB / 3.288 GB, free: 6.836 MB / 2.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005624/15.5, allocations: 2.314 MB / 3.29 GB, free: 4.512 MB / 2.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04668/15.54, allocations: 10.55 MB / 3.3 GB, free: 9.941 MB / 2.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01528/15.56, allocations: 12.62 MB / 3.313 GB, free: 12.81 MB / 2.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03595/15.59, allocations: 2.418 MB / 3.315 GB, free: 10.39 MB / 2.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01269/15.61, allocations: 3.562 MB / 3.319 GB, free: 6.832 MB / 2.057 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 () * 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.03005/15.64, allocations: 10.99 MB / 3.329 GB, free: 11.79 MB / 2.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007565/15.64, allocations: 2.219 MB / 3.331 GB, free: 9.551 MB / 2.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.188/22.83, allocations: 8.837 GB / 12.17 GB, free: 0.7058 GB / 2.604 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-05/22.83, allocations: 16 kB / 12.17 GB, free: 0.7058 GB / 2.604 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/22.83, allocations: 4.844 kB / 12.17 GB, free: 0.7058 GB / 2.604 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.113e-05/22.83, allocations: 7.969 kB / 12.17 GB, free: 0.7058 GB / 2.604 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.077/29.91, allocations: 8.86 GB / 21.03 GB, free: 0.8347 GB / 2.604 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.237e-05/29.91, allocations: 0 / 21.03 GB, free: 0.8347 GB / 2.604 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000774/29.91, allocations: 161.1 kB / 21.03 GB, free: 0.8345 GB / 2.604 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001569/29.91, allocations: 0.6858 MB / 21.03 GB, free: 0.8339 GB / 2.604 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004775/29.92, allocations: 0.7772 MB / 21.03 GB, free: 0.8331 GB / 2.604 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008652/29.92, allocations: 10.37 MB / 21.04 GB, free: 0.8227 GB / 2.604 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/29.92, allocations: 7.406 kB / 21.04 GB, free: 0.8227 GB / 2.604 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.461/37.39, allocations: 8.888 GB / 29.93 GB, free: 0.9275 GB / 2.604 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02565/37.41, allocations: 6.056 MB / 29.93 GB, free: 0.9223 GB / 2.604 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008471/37.42, allocations: 0.618 MB / 29.94 GB, free: 0.9217 GB / 2.604 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01441/37.43, allocations: 0.6703 MB / 29.94 GB, free: 0.9211 GB / 2.604 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.007385/37.44, allocations: 0.5563 MB / 29.94 GB, free: 0.9205 GB / 2.604 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.006403/37.45, allocations: 1.211 MB / 29.94 GB, free: 0.9194 GB / 2.604 GB Notification: Performance of sorting global known variables: time 0.001726/37.45, allocations: 1.051 MB / 29.94 GB, free: 0.9183 GB / 2.604 GB Notification: Performance of sort global known variables: time 2.3e-07/37.45, allocations: 0 / 29.94 GB, free: 0.9183 GB / 2.604 GB Notification: Performance of remove unused functions: time 0.04793/37.5, allocations: 9.548 MB / 29.95 GB, free: 0.909 GB / 2.604 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 77 * 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 7.181/44.68, allocations: 8.895 GB / 38.84 GB, free: 1.009 GB / 2.604 GB Notification: Performance of simCode: created initialization part: time 0.1069/44.79, allocations: 80.95 MB / 38.92 GB, free: 0.9306 GB / 2.604 GB Notification: Performance of simCode: created event and clocks part: time 8.146e-06/44.79, allocations: 0.9844 kB / 38.92 GB, free: 0.9306 GB / 2.604 GB Notification: Performance of simCode: created simulation system equations: time 54.08/98.87, allocations: 28.61 GB / 67.53 GB, free: 46.41 MB / 3.136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0134/98.89, allocations: 1.066 MB / 67.53 GB, free: 45.41 MB / 3.136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6715/99.56, allocations: 55.8 MB / 67.58 GB, free: 2.683 GB / 3.136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01117/99.57, allocations: 9.134 MB / 67.59 GB, free: 2.682 GB / 3.136 GB Notification: Performance of simCode: alias equations: time 0.01238/99.58, allocations: 4.083 MB / 67.6 GB, free: 2.682 GB / 3.136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01808/99.6, allocations: 7.052 MB / 67.6 GB, free: 2.682 GB / 3.136 GB Notification: Performance of SimCode: time 2.324e-06/99.6, allocations: 0 / 67.6 GB, free: 2.682 GB / 3.136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.626/100.2, allocations: 412 MB / 68.01 GB, free: 2.342 GB / 3.136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002434/100.2, allocations: 232.6 kB / 68.01 GB, free: 2.342 GB / 3.136 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.82/126, allocations: 0 / 68.01 GB, free: 2.342 GB / 3.136 GB (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Rectifier6pulseFFT.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Rectifier6pulseFFT.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Rectifier6pulseFFT.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Rectifier6pulseFFT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.Rectifier6pulseFFT_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_Rectifier6pulseFFT_fmu --startTime=0 --stopTime=0.25 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_Rectifier6pulseFFT.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Rectifier6pulseFFT.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Blocks.Examples.Rectifier6pulseFFT_res.mat does not exist to compare? outputFormat=mat