Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier6pulseFFT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Rectifier6pulseFFT,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_Rectifier6pulseFFT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Rectifier6pulseFFT,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_Rectifier6pulseFFT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009848/0.0009848, allocations: 180.7 kB / 17.01 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.391/1.391, allocations: 205.4 MB / 223.1 MB, free: 9.039 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008418/0.0008417, allocations: 92.14 kB / 271.5 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003179/0.0003179, allocations: 8 kB / 328.3 MB, free: 15.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2778/0.2781, allocations: 47.57 MB / 375.9 MB, free: 45.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1129/0.391, allocations: 93.22 MB / 469.1 MB, free: 3.398 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002471/0.3913, allocations: 75.97 kB / 469.2 MB, free: 3.324 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.614/1.005, allocations: 114.1 MB / 0.5696 GB, free: 44.88 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.783e-06/1.005, allocations: 0 / 0.5696 GB, free: 44.88 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003573/1.006, allocations: 215.9 kB / 0.5698 GB, free: 44.67 MB / 378.7 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.02402/1.03, allocations: 14.51 MB / 0.584 GB, free: 30.05 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/1.03, allocations: 15.59 kB / 0.584 GB, free: 30.04 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007033/1.037, allocations: 2.06 MB / 0.586 GB, free: 27.97 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005502/1.042, allocations: 1.483 MB / 0.5875 GB, free: 26.46 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01856/1.061, allocations: 7.677 MB / 0.595 GB, free: 18.71 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000159/1.061, allocations: 164.4 kB / 0.5951 GB, free: 18.54 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002967/1.064, allocations: 220 kB / 0.5953 GB, free: 18.33 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0457/1.11, allocations: 25.33 MB / 0.6201 GB, free: 8.859 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000105/1.11, allocations: 3.938 kB / 0.6201 GB, free: 8.855 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002533/1.113, allocations: 103.9 kB / 0.6202 GB, free: 8.754 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001301/1.113, allocations: 112.5 kB / 0.6203 GB, free: 8.641 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03716/1.15, allocations: 22.11 MB / 0.6419 GB, free: 2.508 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3753/1.525, allocations: 21.17 MB / 0.6625 GB, free: 78.7 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05894/1.584, allocations: 80.2 MB / 0.7409 GB, free: 17.82 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003064/1.585, allocations: 138.7 kB / 0.741 GB, free: 17.72 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03576/1.62, allocations: 28.31 MB / 0.7686 GB, free: 14.42 MB / 426.8 MB Notification: Performance of pre-optimization done (n=4937): time 6.272e-06/1.62, allocations: 0 / 0.7686 GB, free: 14.42 MB / 426.8 MB Notification: Performance of matching and sorting (n=4941): time 11.71/13.33, allocations: 2.905 GB / 3.674 GB, free: 5.984 MB / 1.807 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005714/13.33, allocations: 7.192 MB / 3.681 GB, free: 15.07 MB / 1.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003338/13.34, allocations: 1.348 MB / 3.682 GB, free: 13.71 MB / 1.823 GB Notification: Performance of collectPreVariables (initialization): time 0.006607/13.34, allocations: 3.928 MB / 3.686 GB, free: 9.762 MB / 1.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.002139/13.34, allocations: 1.038 MB / 3.687 GB, free: 8.715 MB / 1.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.03077/13.38, allocations: 21.23 MB / 3.707 GB, free: 3.582 MB / 1.839 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007878/13.38, allocations: 1.488 MB / 3.709 GB, free: 2.094 MB / 1.839 GB Notification: Performance of setup shared object (initialization): time 0.008604/13.39, allocations: 3.458 MB / 3.712 GB, free: 14.63 MB / 1.854 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.05917/13.45, allocations: 26.2 MB / 3.738 GB, free: 4.402 MB / 1.87 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.07952/13.53, allocations: 57.6 MB / 3.794 GB, free: 13.42 MB / 1.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0619/13.59, allocations: 37.72 MB / 3.831 GB, free: 7.91 MB / 1.979 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00234/13.6, allocations: 303.9 kB / 3.831 GB, free: 7.613 MB / 1.979 GB Notification: Performance of matching and sorting (n=9771) (initialization): time 0.165/13.76, allocations: 85.55 MB / 3.915 GB, free: 2.012 MB / 2.057 GB Notification: Performance of prepare postOptimizeDAE: time 0.001246/13.76, allocations: 485.7 kB / 3.915 GB, free: 1.531 MB / 2.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002297/13.76, allocations: 1.031 MB / 3.916 GB, free: 0.5 MB / 2.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005168/13.77, allocations: 2.323 MB / 3.919 GB, free: 14.17 MB / 2.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0402/13.81, allocations: 10.54 MB / 3.929 GB, free: 3.609 MB / 2.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0155/13.82, allocations: 12.85 MB / 3.941 GB, free: 6.254 MB / 2.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03366/13.86, allocations: 2.43 MB / 3.944 GB, free: 3.824 MB / 2.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01304/13.87, allocations: 3.559 MB / 3.947 GB, free: 272 kB / 2.089 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 () * Number of clocked 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.04759/13.92, allocations: 14.49 MB / 3.961 GB, free: 1.711 MB / 2.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01024/13.93, allocations: 2.219 MB / 3.964 GB, free: 15.47 MB / 2.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.443/21.37, allocations: 8.838 GB / 12.8 GB, free: 1.929 GB / 2.432 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.669e-05/21.37, allocations: 12 kB / 12.8 GB, free: 1.929 GB / 2.432 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/21.37, allocations: 7.562 kB / 12.8 GB, free: 1.929 GB / 2.432 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.733e-05/21.37, allocations: 3.984 kB / 12.8 GB, free: 1.929 GB / 2.432 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.968/28.34, allocations: 8.861 GB / 21.66 GB, free: 1.411 GB / 2.432 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.56e-05/28.34, allocations: 2.062 kB / 21.66 GB, free: 1.411 GB / 2.432 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008189/28.34, allocations: 162.4 kB / 21.66 GB, free: 1.411 GB / 2.432 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001672/28.34, allocations: 0.6897 MB / 21.66 GB, free: 1.41 GB / 2.432 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.006416/28.35, allocations: 0.7727 MB / 21.66 GB, free: 1.409 GB / 2.432 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009206/28.36, allocations: 10.63 MB / 21.67 GB, free: 1.399 GB / 2.432 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/28.36, allocations: 7.516 kB / 21.67 GB, free: 1.399 GB / 2.432 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.952/35.31, allocations: 8.889 GB / 30.56 GB, free: 0.8521 GB / 2.432 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02233/35.33, allocations: 6.055 MB / 30.57 GB, free: 0.8469 GB / 2.432 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008567/35.34, allocations: 0.6172 MB / 30.57 GB, free: 0.8463 GB / 2.432 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01078/35.35, allocations: 0.6631 MB / 30.57 GB, free: 0.8457 GB / 2.432 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004314/35.36, allocations: 0.5605 MB / 30.57 GB, free: 0.8452 GB / 2.432 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00538/35.36, allocations: 1.218 MB / 30.57 GB, free: 0.844 GB / 2.432 GB Notification: Performance of sorting global known variables: time 0.001907/35.36, allocations: 1.057 MB / 30.57 GB, free: 0.8429 GB / 2.432 GB Notification: Performance of sort global known variables: time 1.633e-06/35.36, allocations: 0 / 30.57 GB, free: 0.8429 GB / 2.432 GB Notification: Performance of remove unused functions: time 0.04375/35.41, allocations: 9.544 MB / 30.58 GB, free: 0.8336 GB / 2.432 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) * Number of clocked states: 0 () * 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 7.384/42.79, allocations: 8.896 GB / 39.48 GB, free: 282.9 MB / 2.433 GB Notification: Performance of simCode: created initialization part: time 0.1096/42.9, allocations: 81.78 MB / 39.56 GB, free: 202.1 MB / 2.433 GB Notification: Performance of simCode: created event and clocks part: time 1.225e-05/42.9, allocations: 0 / 39.56 GB, free: 202.1 MB / 2.433 GB Notification: Performance of simCode: created simulation system equations: time 50.23/93.13, allocations: 28.61 GB / 68.17 GB, free: 2.161 GB / 2.964 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01038/93.14, allocations: 1.073 MB / 68.17 GB, free: 2.16 GB / 2.964 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5601/93.7, allocations: 1.103 GB / 69.27 GB, free: 1.03 GB / 2.964 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02131/93.72, allocations: 9.129 MB / 69.28 GB, free: 1.021 GB / 2.964 GB Notification: Performance of simCode: alias equations: time 0.0121/93.73, allocations: 4.082 MB / 69.28 GB, free: 1.017 GB / 2.964 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01443/93.75, allocations: 7.045 MB / 69.29 GB, free: 1.01 GB / 2.964 GB Notification: Performance of SimCode: time 1.052e-06/93.75, allocations: 4 kB / 69.29 GB, free: 1.01 GB / 2.964 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5599/94.31, allocations: 407.9 MB / 69.69 GB, free: 0.6127 GB / 2.964 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001782/94.31, allocations: 263.9 kB / 69.69 GB, free: 0.6124 GB / 2.964 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.74/113, allocations: 0 / 69.69 GB, free: 0.6124 GB / 2.964 GB (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier6pulseFFT.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier6pulseFFT.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier6pulseFFT.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier6pulseFFT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier6pulseFFT_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_Rectifier6pulseFFT_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_Rectifier6pulseFFT.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier6pulseFFT.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier6pulseFFT_res.mat does not exist to compare? outputFormat=mat