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.001167/0.001167, allocations: 196.6 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.398/1.398, allocations: 225.4 MB / 240.1 MB, free: 15.04 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009212/0.0009212, allocations: 92.94 kB / 292.1 MB, free: 5.977 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.28e-05/3.291e-05, allocations: 4 kB / 350.6 MB, free: 2.449 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1081, allocations: 51.49 MB / 402.1 MB, free: 14.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4134/0.5215, allocations: 94.75 MB / 496.9 MB, free: 10.45 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002601/0.5219, allocations: 71.45 kB / 496.9 MB, free: 10.42 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.058/1.58, allocations: 114.6 MB / 0.5972 GB, free: 64.92 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.503e-06/1.58, allocations: 0 / 0.5972 GB, free: 64.92 MB / 442.8 MB Notification: Performance of Transformations before backend: time 0.0007567/1.581, allocations: 212.5 kB / 0.5974 GB, free: 64.91 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: 5386 * Number of variables: 5386 Notification: Performance of Generate backend data structure: time 0.03689/1.618, allocations: 14.3 MB / 0.6114 GB, free: 60.44 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.321e-05/1.618, allocations: 10.16 kB / 0.6114 GB, free: 60.44 MB / 442.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00691/1.625, allocations: 2.059 MB / 0.6134 GB, free: 60.27 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005651/1.63, allocations: 1.52 MB / 0.6149 GB, free: 59.38 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02186/1.652, allocations: 7.659 MB / 0.6224 GB, free: 57.88 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002267/1.652, allocations: 162.4 kB / 0.6225 GB, free: 57.87 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001727/1.654, allocations: 231.6 kB / 0.6227 GB, free: 57.87 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05214/1.706, allocations: 25.19 MB / 0.6473 GB, free: 51.15 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.586e-05/1.707, allocations: 3.531 kB / 0.6473 GB, free: 51.15 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001837/1.708, allocations: 95.53 kB / 0.6474 GB, free: 51.08 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001886/1.709, allocations: 113.3 kB / 0.6475 GB, free: 51.07 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03305/1.742, allocations: 21.95 MB / 0.669 GB, free: 40.11 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04193/1.784, allocations: 21.17 MB / 0.6896 GB, free: 31.41 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3802/2.164, allocations: 81.31 MB / 0.769 GB, free: 50.6 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.06966/2.234, allocations: 78.09 MB / 0.8453 GB, free: 4.938 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003445/2.234, allocations: 136.9 kB / 0.8454 GB, free: 4.844 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05879/2.293, allocations: 29.17 MB / 0.8739 GB, free: 12.1 MB / 474.8 MB Notification: Performance of pre-optimization done (n=4937): time 5.65e-06/2.293, allocations: 0 / 0.8739 GB, free: 12.1 MB / 474.8 MB Notification: Performance of matching and sorting (n=4941): time 10.27/12.56, allocations: 2.187 GB / 3.061 GB, free: 207.8 MB / 1.932 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002725/12.56, allocations: 7.196 MB / 3.068 GB, free: 200.9 MB / 1.932 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001652/12.57, allocations: 1.337 MB / 3.069 GB, free: 199.5 MB / 1.932 GB Notification: Performance of collectPreVariables (initialization): time 0.003379/12.57, allocations: 3.932 MB / 3.073 GB, free: 195.6 MB / 1.932 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006507/12.57, allocations: 1.026 MB / 3.074 GB, free: 194.7 MB / 1.932 GB Notification: Performance of collectInitialBindings (initialization): time 0.01242/12.58, allocations: 21.22 MB / 3.095 GB, free: 173.7 MB / 1.932 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003371/12.59, allocations: 1.499 MB / 3.096 GB, free: 172.2 MB / 1.932 GB Notification: Performance of setup shared object (initialization): time 0.002511/12.59, allocations: 3.458 MB / 3.099 GB, free: 168.7 MB / 1.932 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02868/12.62, allocations: 25.65 MB / 3.124 GB, free: 143 MB / 1.932 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04032/12.66, allocations: 57.05 MB / 3.18 GB, free: 72.56 MB / 1.932 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0426/12.7, allocations: 37.46 MB / 3.217 GB, free: 35.56 MB / 1.932 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0008997/12.7, allocations: 304.8 kB / 3.217 GB, free: 35.27 MB / 1.932 GB Notification: Performance of matching and sorting (n=9771) (initialization): time 0.1313/12.83, allocations: 84.45 MB / 3.299 GB, free: 14.77 MB / 1.995 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006143/12.83, allocations: 485.7 kB / 3.3 GB, free: 14.29 MB / 1.995 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001357/12.83, allocations: 1.031 MB / 3.301 GB, free: 13.25 MB / 1.995 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003327/12.84, allocations: 2.323 MB / 3.303 GB, free: 10.93 MB / 1.995 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03292/12.87, allocations: 10.53 MB / 3.313 GB, free: 376 kB / 1.995 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01287/12.88, allocations: 12.62 MB / 3.326 GB, free: 3.242 MB / 2.011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02655/12.91, allocations: 2.43 MB / 3.328 GB, free: 0.8125 MB / 2.011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007944/12.92, allocations: 3.56 MB / 3.332 GB, free: 13.25 MB / 2.026 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.01723/12.94, allocations: 10.99 MB / 3.342 GB, free: 2.203 MB / 2.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004516/12.94, allocations: 2.215 MB / 3.345 GB, free: 15.96 MB / 2.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.957/18.9, allocations: 8.837 GB / 12.18 GB, free: 1.572 GB / 2.776 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.397e-05/18.9, allocations: 20.45 kB / 12.18 GB, free: 1.572 GB / 2.776 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/18.9, allocations: 4 kB / 12.18 GB, free: 1.572 GB / 2.776 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.222e-05/18.9, allocations: 8.938 kB / 12.18 GB, free: 1.572 GB / 2.776 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.381/25.28, allocations: 8.86 GB / 21.04 GB, free: 2.293 GB / 2.776 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.999e-06/25.28, allocations: 0.5 kB / 21.04 GB, free: 2.293 GB / 2.776 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006541/25.28, allocations: 161.7 kB / 21.04 GB, free: 2.293 GB / 2.776 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001315/25.28, allocations: 0.6913 MB / 21.04 GB, free: 2.293 GB / 2.776 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003313/25.28, allocations: 0.7747 MB / 21.04 GB, free: 2.293 GB / 2.776 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00743/25.29, allocations: 10.36 MB / 21.05 GB, free: 2.286 GB / 2.776 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/25.29, allocations: 7.328 kB / 21.05 GB, free: 2.286 GB / 2.776 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.563/30.85, allocations: 8.888 GB / 29.94 GB, free: 0.6995 GB / 2.776 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01324/30.87, allocations: 6.047 MB / 29.95 GB, free: 0.6943 GB / 2.776 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003107/30.87, allocations: 0.622 MB / 29.95 GB, free: 0.6937 GB / 2.776 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005991/30.88, allocations: 0.6663 MB / 29.95 GB, free: 0.6931 GB / 2.776 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002244/30.88, allocations: 0.5564 MB / 29.95 GB, free: 0.6925 GB / 2.776 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001814/30.88, allocations: 1.212 MB / 29.95 GB, free: 0.6913 GB / 2.776 GB Notification: Performance of sorting global known variables: time 0.001278/30.88, allocations: 1.048 MB / 29.95 GB, free: 0.6903 GB / 2.776 GB Notification: Performance of sort global known variables: time 1.6e-07/30.88, allocations: 0 / 29.95 GB, free: 0.6903 GB / 2.776 GB Notification: Performance of remove unused functions: time 0.03384/30.91, allocations: 9.546 MB / 29.96 GB, free: 0.681 GB / 2.776 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 5.937/36.85, allocations: 8.895 GB / 38.86 GB, free: 1.439 GB / 2.776 GB Notification: Performance of simCode: created initialization part: time 0.0785/36.93, allocations: 80.94 MB / 38.94 GB, free: 1.361 GB / 2.776 GB Notification: Performance of simCode: created event and clocks part: time 1.041e-05/36.93, allocations: 7.938 kB / 38.94 GB, free: 1.36 GB / 2.776 GB Notification: Performance of simCode: created simulation system equations: time 33.96/70.89, allocations: 28.62 GB / 67.55 GB, free: 1.744 GB / 2.979 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007778/70.9, allocations: 1.065 MB / 67.55 GB, free: 1.743 GB / 2.979 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09534/70.99, allocations: 55.81 MB / 67.61 GB, free: 1.689 GB / 2.979 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007381/71, allocations: 9.126 MB / 67.62 GB, free: 1.68 GB / 2.979 GB Notification: Performance of simCode: alias equations: time 0.007062/71.01, allocations: 4.087 MB / 67.62 GB, free: 1.676 GB / 2.979 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00901/71.02, allocations: 7.051 MB / 67.63 GB, free: 1.669 GB / 2.979 GB Notification: Performance of SimCode: time 8.82e-07/71.02, allocations: 0.5625 kB / 67.63 GB, free: 1.669 GB / 2.979 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4506/71.47, allocations: 412 MB / 68.03 GB, free: 1.269 GB / 2.979 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001302/71.47, allocations: 246.3 kB / 68.03 GB, free: 1.268 GB / 2.979 GB Notification: Performance of buildModelFMU: Generate platform static: time 15/86.47, allocations: 0 / 68.03 GB, free: 1.268 GB / 2.979 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