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.001581/0.001581, allocations: 180.5 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 223.2 MB / 240.3 MB, free: 10.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000832/0.000832, allocations: 101.2 kB / 291.5 MB, free: 10.7 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002556/0.0002556, allocations: 11.98 kB / 351.2 MB, free: 15.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.2463, allocations: 50.41 MB / 401.6 MB, free: 32.55 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1118/0.3582, allocations: 94.01 MB / 495.6 MB, free: 2.395 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002333/0.3585, allocations: 75.03 kB / 495.7 MB, free: 2.324 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6148/0.9733, allocations: 114.5 MB / 0.5958 GB, free: 15.43 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.865e-06/0.9733, allocations: 7.938 kB / 0.5958 GB, free: 15.43 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003483/0.9737, allocations: 215.9 kB / 0.596 GB, free: 15.21 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.02159/0.9953, allocations: 14.54 MB / 0.6102 GB, free: 0.5547 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.9953, allocations: 8.031 kB / 0.6102 GB, free: 0.5469 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004323/0.9997, allocations: 2.06 MB / 0.6122 GB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00391/1.004, allocations: 1.487 MB / 0.6137 GB, free: 12.97 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01907/1.023, allocations: 7.697 MB / 0.6212 GB, free: 5.188 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001683/1.023, allocations: 168.3 kB / 0.6214 GB, free: 5.02 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001349/1.024, allocations: 219.9 kB / 0.6216 GB, free: 4.805 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03895/1.063, allocations: 25.33 MB / 0.6463 GB, free: 11.33 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.116e-05/1.063, allocations: 0 / 0.6463 GB, free: 11.33 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005932/1.064, allocations: 95.91 kB / 0.6464 GB, free: 11.24 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001302/1.064, allocations: 108.5 kB / 0.6465 GB, free: 11.13 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2457/1.31, allocations: 22.1 MB / 0.6681 GB, free: 74.84 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0351/1.345, allocations: 21.17 MB / 0.6888 GB, free: 72.26 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04678/1.392, allocations: 80.19 MB / 0.7671 GB, free: 9.57 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002887/1.392, allocations: 136 kB / 0.7672 GB, free: 9.477 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05353/1.446, allocations: 29.42 MB / 0.7959 GB, free: 7.434 MB / 442.7 MB Notification: Performance of pre-optimization done (n=4937): time 4.789e-06/1.446, allocations: 0 / 0.7959 GB, free: 7.434 MB / 442.7 MB Notification: Performance of matching and sorting (n=4941): time 12.92/14.36, allocations: 2.906 GB / 3.702 GB, free: 28 kB / 1.807 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005088/14.37, allocations: 7.201 MB / 3.709 GB, free: 9.105 MB / 1.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002543/14.37, allocations: 1.34 MB / 3.71 GB, free: 7.754 MB / 1.823 GB Notification: Performance of collectPreVariables (initialization): time 0.005716/14.38, allocations: 3.932 MB / 3.714 GB, free: 3.805 MB / 1.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001487/14.38, allocations: 1.038 MB / 3.715 GB, free: 2.781 MB / 1.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.02627/14.4, allocations: 21.23 MB / 3.736 GB, free: 13.65 MB / 1.854 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006646/14.41, allocations: 1.488 MB / 3.738 GB, free: 12.16 MB / 1.854 GB Notification: Performance of setup shared object (initialization): time 0.009025/14.42, allocations: 3.46 MB / 3.741 GB, free: 8.695 MB / 1.854 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.05145/14.47, allocations: 26.2 MB / 3.766 GB, free: 14.47 MB / 1.886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.08186/14.55, allocations: 57.6 MB / 3.823 GB, free: 7.48 MB / 1.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06023/14.61, allocations: 37.72 MB / 3.86 GB, free: 1.93 MB / 1.979 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00147/14.62, allocations: 300 kB / 3.86 GB, free: 1.637 MB / 1.979 GB Notification: Performance of matching and sorting (n=9771) (initialization): time 0.1752/14.79, allocations: 85.56 MB / 3.943 GB, free: 12.03 MB / 2.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.00212/14.79, allocations: 485.7 kB / 3.944 GB, free: 11.55 MB / 2.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003278/14.8, allocations: 1.035 MB / 3.945 GB, free: 10.51 MB / 2.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006775/14.8, allocations: 2.32 MB / 3.947 GB, free: 8.184 MB / 2.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03946/14.84, allocations: 10.54 MB / 3.957 GB, free: 13.62 MB / 2.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01524/14.86, allocations: 12.85 MB / 3.97 GB, free: 248 kB / 2.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03415/14.89, allocations: 2.434 MB / 3.972 GB, free: 13.82 MB / 2.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0126/14.9, allocations: 3.559 MB / 3.976 GB, free: 10.26 MB / 2.104 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.04645/14.95, allocations: 14.49 MB / 3.99 GB, free: 11.71 MB / 2.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00899/14.96, allocations: 2.222 MB / 3.992 GB, free: 9.469 MB / 2.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.329/22.29, allocations: 8.838 GB / 12.83 GB, free: 23.09 MB / 2.479 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.607e-05/22.29, allocations: 12 kB / 12.83 GB, free: 23.08 MB / 2.479 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-05/22.29, allocations: 4 kB / 12.83 GB, free: 23.07 MB / 2.479 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.944e-05/22.29, allocations: 3.984 kB / 12.83 GB, free: 23.07 MB / 2.479 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.342/29.63, allocations: 8.861 GB / 21.69 GB, free: 1.764 GB / 2.479 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.23e-05/29.63, allocations: 7.984 kB / 21.69 GB, free: 1.764 GB / 2.479 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007734/29.63, allocations: 157 kB / 21.69 GB, free: 1.764 GB / 2.479 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001586/29.63, allocations: 0.6899 MB / 21.69 GB, free: 1.763 GB / 2.479 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004156/29.64, allocations: 0.7726 MB / 21.69 GB, free: 1.762 GB / 2.479 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008746/29.65, allocations: 10.62 MB / 21.7 GB, free: 1.752 GB / 2.479 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/29.65, allocations: 0 / 21.7 GB, free: 1.752 GB / 2.479 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.898/36.54, allocations: 8.889 GB / 30.59 GB, free: 1.342 GB / 2.479 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02012/36.56, allocations: 6.055 MB / 30.6 GB, free: 1.337 GB / 2.479 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004885/36.57, allocations: 0.6242 MB / 30.6 GB, free: 1.336 GB / 2.479 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008157/36.58, allocations: 0.6638 MB / 30.6 GB, free: 1.336 GB / 2.479 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004162/36.58, allocations: 0.5536 MB / 30.6 GB, free: 1.335 GB / 2.479 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004178/36.59, allocations: 1.219 MB / 30.6 GB, free: 1.334 GB / 2.479 GB Notification: Performance of sorting global known variables: time 0.001602/36.59, allocations: 1.06 MB / 30.6 GB, free: 1.333 GB / 2.479 GB Notification: Performance of sort global known variables: time 1.81e-07/36.59, allocations: 0 / 30.6 GB, free: 1.333 GB / 2.479 GB Notification: Performance of remove unused functions: time 0.03757/36.62, allocations: 9.544 MB / 30.61 GB, free: 1.324 GB / 2.479 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 6.616/43.24, allocations: 8.896 GB / 39.51 GB, free: 0.9026 GB / 2.479 GB Notification: Performance of simCode: created initialization part: time 0.08407/43.32, allocations: 81.78 MB / 39.59 GB, free: 0.8237 GB / 2.479 GB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/43.32, allocations: 0 / 39.59 GB, free: 0.8237 GB / 2.479 GB Notification: Performance of simCode: created simulation system equations: time 53.5/96.82, allocations: 28.61 GB / 68.2 GB, free: 0.6252 GB / 2.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01156/96.84, allocations: 1.052 MB / 68.2 GB, free: 0.6242 GB / 2.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.108/97.94, allocations: 1.103 GB / 69.3 GB, free: 1.8 GB / 2.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02461/97.97, allocations: 9.123 MB / 69.31 GB, free: 1.795 GB / 2.698 GB Notification: Performance of simCode: alias equations: time 0.01303/97.98, allocations: 4.092 MB / 69.32 GB, free: 1.792 GB / 2.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01671/98, allocations: 7.049 MB / 69.32 GB, free: 1.785 GB / 2.698 GB Notification: Performance of SimCode: time 1.422e-06/98, allocations: 0 / 69.32 GB, free: 1.785 GB / 2.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6018/98.6, allocations: 407.9 MB / 69.72 GB, free: 1.395 GB / 2.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002548/98.6, allocations: 251.1 kB / 69.72 GB, free: 1.395 GB / 2.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.74/119.3, allocations: 6.375 kB / 69.72 GB, free: 1.395 GB / 2.698 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