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.001199/0.001199, allocations: 197.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.334/1.334, allocations: 225.6 MB / 234.8 MB, free: 3.25 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00084/0.0008399, allocations: 98.59 kB / 286.7 MB, free: 5.305 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.879e-05/1.881e-05, allocations: 4 kB / 343.8 MB, free: 8.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1138, allocations: 51.48 MB / 395.3 MB, free: 4.645 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.399/0.5128, allocations: 94.08 MB / 489.3 MB, free: 15.23 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002051/0.5131, allocations: 67.59 kB / 489.4 MB, free: 15.2 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9564/1.47, allocations: 113.5 MB / 0.5888 GB, free: 60.64 MB / 442.8 MB Notification: Performance of FrontEnd: time 2.454e-06/1.47, allocations: 0 / 0.5888 GB, free: 60.64 MB / 442.8 MB Notification: Performance of Transformations before backend: time 0.0006596/1.47, allocations: 205.8 kB / 0.589 GB, free: 60.64 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.0277/1.498, allocations: 14.3 MB / 0.603 GB, free: 56.28 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/1.498, allocations: 9.781 kB / 0.603 GB, free: 56.28 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004849/1.503, allocations: 1.516 MB / 0.6044 GB, free: 55.39 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01628/1.519, allocations: 7.646 MB / 0.6119 GB, free: 54.09 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001321/1.519, allocations: 71.72 kB / 0.612 GB, free: 54.09 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001582/1.521, allocations: 134.8 kB / 0.6121 GB, free: 54.09 MB / 442.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0412/1.562, allocations: 21.79 MB / 0.6334 GB, free: 51.84 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04677/1.609, allocations: 24.87 MB / 0.6577 GB, free: 39.74 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.534e-05/1.609, allocations: 0 / 0.6577 GB, free: 39.74 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001487/1.611, allocations: 3.375 kB / 0.6577 GB, free: 39.74 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001404/1.611, allocations: 118.4 kB / 0.6578 GB, free: 39.72 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03866/1.65, allocations: 18.7 MB / 0.6761 GB, free: 31.97 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3577/2.007, allocations: 80.81 MB / 0.755 GB, free: 57.82 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.04987/2.057, allocations: 78 MB / 0.8311 GB, free: 10.79 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003193/2.057, allocations: 139.7 kB / 0.8313 GB, free: 10.7 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.04176/2.099, allocations: 28.38 MB / 0.859 GB, free: 15 MB / 474.8 MB Notification: Performance of pre-optimization done (n=4937): time 4.689e-06/2.099, allocations: 4.312 kB / 0.859 GB, free: 15 MB / 474.8 MB Notification: Performance of matching and sorting (n=4941): time 9.287/11.39, allocations: 2.177 GB / 3.036 GB, free: 0.7891 MB / 1.932 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004473/11.39, allocations: 7.199 MB / 3.043 GB, free: 9.863 MB / 1.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001897/11.39, allocations: 1.068 MB / 3.044 GB, free: 8.789 MB / 1.948 GB Notification: Performance of collectPreVariables (initialization): time 0.00464/11.4, allocations: 3.174 MB / 3.048 GB, free: 5.598 MB / 1.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009261/11.4, allocations: 1.046 MB / 3.049 GB, free: 4.668 MB / 1.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.01862/11.42, allocations: 20.84 MB / 3.069 GB, free: 15.71 MB / 1.979 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003061/11.42, allocations: 4 kB / 3.069 GB, free: 15.71 MB / 1.979 GB Notification: Performance of setup shared object (initialization): time 0.003018/11.42, allocations: 3.454 MB / 3.072 GB, free: 12.24 MB / 1.979 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03195/11.46, allocations: 24.17 MB / 3.096 GB, free: 4.055 MB / 1.995 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.05552/11.51, allocations: 55.11 MB / 3.15 GB, free: 15.57 MB / 2.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2998/11.81, allocations: 35.66 MB / 3.185 GB, free: 1.615 GB / 2.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.001204/11.81, allocations: 301.5 kB / 3.185 GB, free: 1.615 GB / 2.073 GB Notification: Performance of matching and sorting (n=9771) (initialization): time 0.113/11.92, allocations: 75.49 MB / 3.259 GB, free: 1.604 GB / 2.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.00193/11.93, allocations: 483.2 kB / 3.259 GB, free: 1.604 GB / 2.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002273/11.93, allocations: 1.033 MB / 3.26 GB, free: 1.604 GB / 2.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003028/11.93, allocations: 2.307 MB / 3.262 GB, free: 1.603 GB / 2.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03052/11.96, allocations: 10.55 MB / 3.273 GB, free: 1.601 GB / 2.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009484/11.97, allocations: 12.24 MB / 3.285 GB, free: 1.594 GB / 2.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02463/12, allocations: 0.935 MB / 3.285 GB, free: 1.594 GB / 2.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00753/12, allocations: 3.566 MB / 3.289 GB, free: 1.593 GB / 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 () * 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.01811/12.02, allocations: 9.475 MB / 3.298 GB, free: 1.586 GB / 2.073 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.5777/12.6, allocations: 78.26 MB / 3.375 GB, free: 1.518 GB / 2.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005465/12.61, allocations: 2.202 MB / 3.377 GB, free: 1.517 GB / 2.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5848/13.19, allocations: 76.27 MB / 3.451 GB, free: 1.446 GB / 2.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-05/13.19, allocations: 12 kB / 3.451 GB, free: 1.446 GB / 2.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/13.19, allocations: 8 kB / 3.451 GB, free: 1.446 GB / 2.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-05/13.19, allocations: 8.719 kB / 3.451 GB, free: 1.446 GB / 2.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6084/13.8, allocations: 97.32 MB / 3.546 GB, free: 1.35 GB / 2.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.746e-06/13.8, allocations: 2.297 kB / 3.546 GB, free: 1.35 GB / 2.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006534/13.8, allocations: 167.8 kB / 3.546 GB, free: 1.35 GB / 2.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001264/13.8, allocations: 0.6644 MB / 3.547 GB, free: 1.35 GB / 2.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003142/13.8, allocations: 0.7498 MB / 3.548 GB, free: 1.349 GB / 2.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006912/13.81, allocations: 10.05 MB / 3.558 GB, free: 1.339 GB / 2.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/13.81, allocations: 0 / 3.558 GB, free: 1.339 GB / 2.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6481/14.46, allocations: 127.9 MB / 3.683 GB, free: 1.214 GB / 2.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01151/14.47, allocations: 6.025 MB / 3.688 GB, free: 1.209 GB / 2.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002389/14.47, allocations: 0.6015 MB / 3.689 GB, free: 1.209 GB / 2.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005077/14.48, allocations: 0.6445 MB / 3.69 GB, free: 1.208 GB / 2.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001638/14.48, allocations: 0.548 MB / 3.69 GB, free: 1.208 GB / 2.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001411/14.48, allocations: 1.219 MB / 3.691 GB, free: 1.206 GB / 2.073 GB Notification: Performance of sorting global known variables: time 0.0009088/14.48, allocations: 0.8273 MB / 3.692 GB, free: 1.206 GB / 2.073 GB Notification: Performance of sort global known variables: time 1.2e-07/14.48, allocations: 0 / 3.692 GB, free: 1.206 GB / 2.073 GB Notification: Performance of remove unused functions: time 0.03205/14.51, allocations: 8.01 MB / 3.7 GB, free: 1.198 GB / 2.073 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) * 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 0.65/15.16, allocations: 134.7 MB / 3.832 GB, free: 1.067 GB / 2.073 GB Notification: Performance of simCode: created initialization part: time 0.08951/15.25, allocations: 77.03 MB / 3.907 GB, free: 0.992 GB / 2.073 GB Notification: Performance of simCode: created event and clocks part: time 1.035e-05/15.25, allocations: 4 kB / 3.907 GB, free: 0.992 GB / 2.073 GB Notification: Performance of simCode: created simulation system equations: time 39.29/54.54, allocations: 28.61 GB / 32.52 GB, free: 1.355 GB / 2.37 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005627/54.55, allocations: 0.9226 MB / 32.52 GB, free: 1.354 GB / 2.37 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09094/54.64, allocations: 58.95 MB / 32.58 GB, free: 1.296 GB / 2.37 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009187/54.65, allocations: 9.127 MB / 32.59 GB, free: 1.287 GB / 2.37 GB Notification: Performance of simCode: alias equations: time 0.006546/54.66, allocations: 4.052 MB / 32.59 GB, free: 1.284 GB / 2.37 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008304/54.67, allocations: 7.039 MB / 32.6 GB, free: 1.277 GB / 2.37 GB Notification: Performance of SimCode: time 7.32e-07/54.67, allocations: 0 / 32.6 GB, free: 1.277 GB / 2.37 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4291/55.09, allocations: 393.1 MB / 32.98 GB, free: 0.8952 GB / 2.37 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001042/55.09, allocations: 168 kB / 32.98 GB, free: 0.895 GB / 2.37 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.5/70.59, allocations: 0 / 32.98 GB, free: 0.895 GB / 2.37 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