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.001129/0.001129, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 221.5 MB / 230.3 MB, free: 7.562 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.0008505/0.0008505, allocations: 94.53 kB / 281.2 MB, free: 5.309 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.068e-05/2.06e-05, allocations: 4 kB / 337.1 MB, free: 9.926 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1443, allocations: 50.41 MB / 387.5 MB, free: 7.477 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.418/0.5624, allocations: 93.28 MB / 480.8 MB, free: 1.473 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002106/0.5627, allocations: 67.97 kB / 480.9 MB, free: 1.406 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9577/1.52, allocations: 113.5 MB / 0.5805 GB, free: 85.98 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.463e-06/1.52, allocations: 3.938 kB / 0.5805 GB, free: 85.98 MB / 426.8 MB Notification: Performance of Transformations before backend: time 0.0003349/1.521, allocations: 212.9 kB / 0.5807 GB, free: 85.96 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.02406/1.545, allocations: 14.29 MB / 0.5946 GB, free: 81.4 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/1.545, allocations: 13.94 kB / 0.5946 GB, free: 81.39 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004704/1.55, allocations: 1.482 MB / 0.5961 GB, free: 80.51 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01607/1.566, allocations: 7.64 MB / 0.6035 GB, free: 78.75 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001017/1.566, allocations: 73.31 kB / 0.6036 GB, free: 78.75 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009074/1.567, allocations: 133 kB / 0.6037 GB, free: 78.74 MB / 426.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02708/1.594, allocations: 21.8 MB / 0.625 GB, free: 68.7 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03179/1.626, allocations: 24.87 MB / 0.6493 GB, free: 48.16 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.459e-05/1.626, allocations: 0 / 0.6493 GB, free: 48.16 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005313/1.626, allocations: 7.938 kB / 0.6493 GB, free: 48.15 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001001/1.626, allocations: 107.7 kB / 0.6494 GB, free: 48.05 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03143/1.658, allocations: 18.69 MB / 0.6677 GB, free: 32.71 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3031/1.961, allocations: 80.02 MB / 0.7458 GB, free: 72.43 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.05198/2.013, allocations: 78.01 MB / 0.822 GB, free: 15.29 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003833/2.013, allocations: 137.8 kB / 0.8222 GB, free: 15.2 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03004/2.043, allocations: 28.12 MB / 0.8496 GB, free: 2.43 MB / 442.8 MB Notification: Performance of pre-optimization done (n=4937): time 4.308e-06/2.043, allocations: 0 / 0.8496 GB, free: 2.43 MB / 442.8 MB Notification: Performance of matching and sorting (n=4941): time 13.72/15.76, allocations: 2.172 GB / 3.022 GB, free: 143 MB / 1.87 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003363/15.76, allocations: 7.188 MB / 3.029 GB, free: 136.1 MB / 1.87 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001794/15.77, allocations: 1.065 MB / 3.03 GB, free: 135 MB / 1.87 GB Notification: Performance of collectPreVariables (initialization): time 0.003745/15.77, allocations: 3.179 MB / 3.033 GB, free: 131.8 MB / 1.87 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009253/15.77, allocations: 1.051 MB / 3.034 GB, free: 130.9 MB / 1.87 GB Notification: Performance of collectInitialBindings (initialization): time 0.01889/15.79, allocations: 20.84 MB / 3.054 GB, free: 109.8 MB / 1.87 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006374/15.8, allocations: 4 kB / 3.054 GB, free: 109.8 MB / 1.87 GB Notification: Performance of setup shared object (initialization): time 0.007705/15.8, allocations: 3.45 MB / 3.058 GB, free: 106.3 MB / 1.87 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04437/15.85, allocations: 24.17 MB / 3.081 GB, free: 82.16 MB / 1.87 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.06551/15.91, allocations: 55.11 MB / 3.135 GB, free: 13.52 MB / 1.87 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05865/15.97, allocations: 35.64 MB / 3.17 GB, free: 10.28 MB / 1.901 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.002491/15.98, allocations: 304 kB / 3.17 GB, free: 9.98 MB / 1.901 GB Notification: Performance of matching and sorting (n=9771) (initialization): time 0.2081/16.18, allocations: 75.5 MB / 3.244 GB, free: 14.46 MB / 1.979 GB Notification: Performance of prepare postOptimizeDAE: time 0.002617/16.19, allocations: 485.7 kB / 3.244 GB, free: 13.98 MB / 1.979 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004019/16.19, allocations: 1.031 MB / 3.245 GB, free: 12.95 MB / 1.979 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005939/16.2, allocations: 2.301 MB / 3.248 GB, free: 10.64 MB / 1.979 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04303/16.24, allocations: 10.54 MB / 3.258 GB, free: 68 kB / 1.979 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01637/16.26, allocations: 12.27 MB / 3.27 GB, free: 3.359 MB / 1.995 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03501/16.29, allocations: 0.9336 MB / 3.271 GB, free: 2.426 MB / 1.995 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01384/16.3, allocations: 3.566 MB / 3.274 GB, free: 14.86 MB / 2.011 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.03486/16.34, allocations: 9.465 MB / 3.284 GB, free: 5.336 MB / 2.011 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.8277/17.17, allocations: 78.26 MB / 3.36 GB, free: 6.98 MB / 2.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01396/17.18, allocations: 2.209 MB / 3.362 GB, free: 4.754 MB / 2.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.7768/17.96, allocations: 76.26 MB / 3.437 GB, free: 8.406 MB / 2.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-05/17.96, allocations: 16 kB / 3.437 GB, free: 8.391 MB / 2.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/17.96, allocations: 10.8 kB / 3.437 GB, free: 8.383 MB / 2.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.531e-05/17.96, allocations: 3.984 kB / 3.437 GB, free: 8.379 MB / 2.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.8771/18.84, allocations: 97.31 MB / 3.532 GB, free: 6.945 MB / 2.261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-05/18.84, allocations: 3.125 kB / 3.532 GB, free: 6.945 MB / 2.261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001299/18.84, allocations: 166.8 kB / 3.532 GB, free: 6.785 MB / 2.261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002601/18.84, allocations: 0.6782 MB / 3.532 GB, free: 6.098 MB / 2.261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.007323/18.85, allocations: 0.75 MB / 3.533 GB, free: 5.348 MB / 2.261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01467/18.86, allocations: 10.03 MB / 3.543 GB, free: 10.87 MB / 2.276 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/18.86, allocations: 0 / 3.543 GB, free: 10.87 MB / 2.276 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.9965/19.86, allocations: 127.9 MB / 3.668 GB, free: 10.8 MB / 2.401 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01901/19.88, allocations: 6.03 MB / 3.674 GB, free: 4.734 MB / 2.401 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006687/19.88, allocations: 0.5977 MB / 3.674 GB, free: 4.137 MB / 2.401 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01215/19.9, allocations: 0.6406 MB / 3.675 GB, free: 3.496 MB / 2.401 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0059/19.9, allocations: 0.5635 MB / 3.676 GB, free: 2.934 MB / 2.401 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.006356/19.91, allocations: 1.217 MB / 3.677 GB, free: 1.723 MB / 2.401 GB Notification: Performance of sorting global known variables: time 0.001574/19.91, allocations: 0.8257 MB / 3.678 GB, free: 0.8906 MB / 2.401 GB Notification: Performance of sort global known variables: time 2.51e-07/19.91, allocations: 0 / 3.678 GB, free: 0.8906 MB / 2.401 GB Notification: Performance of remove unused functions: time 0.0534/19.96, allocations: 8.014 MB / 3.685 GB, free: 8.891 MB / 2.417 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.9021/20.87, allocations: 134.7 MB / 3.817 GB, free: 2.168 MB / 2.542 GB Notification: Performance of simCode: created initialization part: time 0.1361/21, allocations: 77.03 MB / 3.892 GB, free: 5.301 MB / 2.62 GB Notification: Performance of simCode: created event and clocks part: time 1.136e-05/21, allocations: 448 / 3.892 GB, free: 5.301 MB / 2.62 GB Notification: Performance of simCode: created simulation system equations: time 61.05/82.06, allocations: 28.61 GB / 32.5 GB, free: 1.372 GB / 3.464 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01371/82.07, allocations: 0.9168 MB / 32.5 GB, free: 1.372 GB / 3.464 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1661/82.24, allocations: 58.95 MB / 32.56 GB, free: 1.314 GB / 3.464 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02324/82.26, allocations: 9.125 MB / 32.57 GB, free: 1.305 GB / 3.464 GB Notification: Performance of simCode: alias equations: time 0.01198/82.27, allocations: 4.05 MB / 32.57 GB, free: 1.301 GB / 3.464 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01748/82.29, allocations: 7.037 MB / 32.58 GB, free: 1.295 GB / 3.464 GB Notification: Performance of SimCode: time 1.933e-06/82.29, allocations: 3.562 kB / 32.58 GB, free: 1.295 GB / 3.464 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5487/82.84, allocations: 393.1 MB / 32.96 GB, free: 0.9127 GB / 3.464 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002028/82.84, allocations: 173.8 kB / 32.96 GB, free: 0.9125 GB / 3.464 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.13/106, allocations: 0 / 32.96 GB, free: 0.9125 GB / 3.464 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