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.000992/0.0009918, allocations: 198.9 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.178/1.178, allocations: 227.2 MB / 245 MB, free: 5.953 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008323/0.0008323, allocations: 102 kB / 297.2 MB, free: 5.98 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001961/0.0001961, allocations: 8 kB / 358 MB, free: 9.234 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1762/0.1764, allocations: 51.48 MB / 409.5 MB, free: 26.58 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09682/0.2733, allocations: 96.42 MB / 0.4941 GB, free: 10.02 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002349/0.2736, allocations: 75.95 kB / 0.4941 GB, free: 9.945 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6689/0.9425, allocations: 167.3 MB / 0.6575 GB, free: 14.24 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.9426, allocations: 0 / 0.6575 GB, free: 14.24 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000423/0.943, allocations: 259.9 kB / 0.6578 GB, free: 13.99 MB / 442.7 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.3737/1.317, allocations: 16.31 MB / 0.6737 GB, free: 38.16 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/1.317, allocations: 10.03 kB / 0.6737 GB, free: 38.16 MB / 442.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00395/1.321, allocations: 2.301 MB / 0.676 GB, free: 37.97 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004271/1.325, allocations: 1.768 MB / 0.6777 GB, free: 36.97 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01889/1.344, allocations: 8.867 MB / 0.6864 GB, free: 36.59 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002112/1.344, allocations: 299.6 kB / 0.6866 GB, free: 36.58 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001489/1.346, allocations: 384.5 kB / 0.687 GB, free: 36.58 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03325/1.379, allocations: 27.88 MB / 0.7142 GB, free: 35.65 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.841e-05/1.379, allocations: 0 / 0.7142 GB, free: 35.65 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000741/1.38, allocations: 177.2 kB / 0.7144 GB, free: 35.65 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001585/1.38, allocations: 204 kB / 0.7146 GB, free: 35.64 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0287/1.409, allocations: 24.21 MB / 0.7382 GB, free: 24.58 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04122/1.45, allocations: 28.71 MB / 0.7663 GB, free: 12.8 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.07387/1.524, allocations: 85.07 MB / 0.8494 GB, free: 5.844 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003271/1.524, allocations: 153.2 kB / 0.8495 GB, free: 5.691 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2243/1.749, allocations: 29.37 MB / 0.8782 GB, free: 107.3 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=5058): time 5.5e-06/1.749, allocations: 1.25 kB / 0.8782 GB, free: 107.3 MB / 0.4949 GB Notification: Performance of matching and sorting (n=5065): time 9.382/11.13, allocations: 2.92 GB / 3.798 GB, free: 12 kB / 1.854 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004393/11.13, allocations: 7.363 MB / 3.806 GB, free: 8.887 MB / 1.87 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003553/11.14, allocations: 2.364 MB / 3.808 GB, free: 6.512 MB / 1.87 GB Notification: Performance of collectPreVariables (initialization): time 0.00462/11.14, allocations: 3.952 MB / 3.812 GB, free: 2.543 MB / 1.87 GB Notification: Performance of collectInitialEqns (initialization): time 0.001478/11.14, allocations: 1.74 MB / 3.813 GB, free: 0.9844 MB / 1.87 GB Notification: Performance of collectInitialBindings (initialization): time 0.01871/11.16, allocations: 21.64 MB / 3.835 GB, free: 11.62 MB / 1.901 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004259/11.17, allocations: 1.508 MB / 3.836 GB, free: 10.12 MB / 1.901 GB Notification: Performance of setup shared object (initialization): time 0.003205/11.17, allocations: 3.509 MB / 3.839 GB, free: 6.602 MB / 1.901 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03714/11.21, allocations: 26.85 MB / 3.866 GB, free: 11.73 MB / 1.932 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.05733/11.26, allocations: 58.43 MB / 3.923 GB, free: 3.875 MB / 1.995 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05235/11.32, allocations: 38.49 MB / 3.96 GB, free: 14.55 MB / 2.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.001098/11.32, allocations: 304 kB / 3.961 GB, free: 14.26 MB / 2.042 GB Notification: Performance of matching and sorting (n=9915) (initialization): time 0.143/11.46, allocations: 87.69 MB / 4.046 GB, free: 6.449 MB / 2.12 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007463/11.46, allocations: 481.7 kB / 4.047 GB, free: 5.973 MB / 2.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001591/11.46, allocations: 1.037 MB / 4.048 GB, free: 4.938 MB / 2.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005624/11.47, allocations: 3.018 MB / 4.051 GB, free: 1.898 MB / 2.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03988/11.51, allocations: 10.73 MB / 4.061 GB, free: 7.145 MB / 2.136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02757/11.54, allocations: 26.02 MB / 4.087 GB, free: 11.86 MB / 2.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03725/11.57, allocations: 2.496 MB / 4.089 GB, free: 9.367 MB / 2.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01133/11.59, allocations: 3.594 MB / 4.093 GB, free: 5.773 MB / 2.167 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 () * Number of clocked 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.03899/11.62, allocations: 15.08 MB / 4.107 GB, free: 6.629 MB / 2.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007567/11.63, allocations: 2.346 MB / 4.11 GB, free: 4.262 MB / 2.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.851/18.48, allocations: 8.84 GB / 12.95 GB, free: 1.682 GB / 2.432 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.965e-05/18.48, allocations: 24 kB / 12.95 GB, free: 1.682 GB / 2.432 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/18.48, allocations: 8 kB / 12.95 GB, free: 1.682 GB / 2.432 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.67e-05/18.48, allocations: 11.95 kB / 12.95 GB, free: 1.682 GB / 2.432 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.23/24.71, allocations: 8.865 GB / 21.81 GB, free: 1.016 GB / 2.432 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/24.71, allocations: 0 / 21.81 GB, free: 1.016 GB / 2.432 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001207/24.71, allocations: 296.8 kB / 21.81 GB, free: 1.016 GB / 2.432 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002753/24.72, allocations: 1.391 MB / 21.82 GB, free: 1.015 GB / 2.432 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004022/24.72, allocations: 0.7982 MB / 21.82 GB, free: 1.014 GB / 2.432 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0169/24.74, allocations: 23.64 MB / 21.84 GB, free: 0.9902 GB / 2.432 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/24.74, allocations: 4 kB / 21.84 GB, free: 0.9902 GB / 2.432 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.433/31.17, allocations: 8.892 GB / 30.73 GB, free: 310.9 MB / 2.432 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0162/31.19, allocations: 6.335 MB / 30.74 GB, free: 305.4 MB / 2.432 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002616/31.19, allocations: 0.6484 MB / 30.74 GB, free: 304.7 MB / 2.432 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005923/31.2, allocations: 0.7219 MB / 30.74 GB, free: 304 MB / 2.432 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001617/31.2, allocations: 0.6568 MB / 30.74 GB, free: 303.4 MB / 2.432 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001603/31.2, allocations: 1.247 MB / 30.74 GB, free: 302.1 MB / 2.432 GB Notification: Performance of sorting global known variables: time 0.002201/31.2, allocations: 1.845 MB / 30.74 GB, free: 300.3 MB / 2.432 GB Notification: Performance of sort global known variables: time 1.6e-07/31.2, allocations: 4 kB / 30.74 GB, free: 300.3 MB / 2.432 GB Notification: Performance of remove unused functions: time 0.03856/31.24, allocations: 9.989 MB / 30.75 GB, free: 290.3 MB / 2.432 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) * Number of clocked states: 0 () * 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 6.913/38.15, allocations: 8.899 GB / 39.65 GB, free: 1.632 GB / 2.433 GB Notification: Performance of simCode: created initialization part: time 0.09075/38.24, allocations: 84.26 MB / 39.73 GB, free: 1.551 GB / 2.433 GB Notification: Performance of simCode: created event and clocks part: time 9.818e-06/38.24, allocations: 4 kB / 39.73 GB, free: 1.551 GB / 2.433 GB Notification: Performance of simCode: created simulation system equations: time 39.4/77.64, allocations: 28.63 GB / 68.37 GB, free: 1.949 GB / 2.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01148/77.65, allocations: 1.473 MB / 68.37 GB, free: 1.948 GB / 2.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4835/78.13, allocations: 1.148 GB / 69.52 GB, free: 0.7727 GB / 2.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008964/78.14, allocations: 10.28 MB / 69.53 GB, free: 0.7626 GB / 2.948 GB Notification: Performance of simCode: alias equations: time 0.007583/78.15, allocations: 4.356 MB / 69.53 GB, free: 0.7584 GB / 2.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008419/78.16, allocations: 8.029 MB / 69.54 GB, free: 0.7505 GB / 2.948 GB Notification: Performance of SimCode: time 1.012e-06/78.16, allocations: 0 / 69.54 GB, free: 0.7505 GB / 2.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5061/78.66, allocations: 448.8 MB / 69.98 GB, free: 322 MB / 2.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000161/78.66, allocations: 254.4 kB / 69.98 GB, free: 321.6 MB / 2.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 37.42/116.1, allocations: 7.938 kB / 69.98 GB, free: 321.6 MB / 2.948 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