Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Blocks.Examples.Rectifier6pulseFFT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.Rectifier6pulseFFT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.Rectifier6pulseFFT") translateModel(Modelica.Blocks.Examples.Rectifier6pulseFFT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.Rectifier6pulseFFT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 89.94 kB / 16.3 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 184.5 kB / 17.2 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.559/1.559, allocations: 205.4 MB / 223.4 MB, free: 5.512 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000607/0.0006073, allocations: 8 kB / 280.1 MB, free: 12.86 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2856/0.2862, allocations: 47.58 MB / 327.7 MB, free: 1.43 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Rectifier6pulseFFT): time 0.007022/0.2933, allocations: 5.712 MB / 333.4 MB, free: 13.02 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.006346/0.2997, allocations: 2.83 MB / 336.2 MB, free: 10.76 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001367/0.3011, allocations: 39.06 kB / 336.3 MB, free: 10.75 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001523/0.3026, allocations: 443.6 kB / 336.7 MB, free: 10.41 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003378/0.306, allocations: 1.152 MB / 337.9 MB, free: 9.344 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001644/0.3077, allocations: 343.3 kB / 338.2 MB, free: 9.008 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.005188/0.3129, allocations: 2.024 MB / 340.2 MB, free: 6.977 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002416/0.3154, allocations: 1.59 MB / 341.8 MB, free: 5.355 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002221/0.3176, allocations: 1.364 MB / 343.2 MB, free: 3.988 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002147/0.3198, allocations: 1.691 MB / 344.9 MB, free: 2.293 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002656/0.3201, allocations: 156 kB / 345 MB, free: 2.141 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001209/0.3213, allocations: 411.6 kB / 345.4 MB, free: 1.738 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003357/0.3246, allocations: 4.296 MB / 349.7 MB, free: 13.43 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002548/0.3272, allocations: 2.15 MB / 351.9 MB, free: 11.27 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009673/0.3369, allocations: 9.297 MB / 361.2 MB, free: 1.941 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.337, allocations: 0 / 361.2 MB, free: 1.941 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.337, allocations: 4 kB / 361.2 MB, free: 1.938 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0004579/0.3374, allocations: 4 kB / 361.2 MB, free: 1.934 MB / 286.1 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.02113/0.3586, allocations: 15.1 MB / 376.3 MB, free: 2.711 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.3586, allocations: 8.031 kB / 376.3 MB, free: 2.703 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003428/0.3621, allocations: 1.475 MB / 377.7 MB, free: 1.207 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006987/0.3691, allocations: 2.876 MB / 380.6 MB, free: 14.25 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000216/0.3694, allocations: 168.4 kB / 380.8 MB, free: 14.09 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006828/0.3701, allocations: 223.9 kB / 381 MB, free: 13.87 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03308/0.4031, allocations: 26.91 MB / 407.9 MB, free: 2.871 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.048e-05/0.4033, allocations: 11.94 kB / 407.9 MB, free: 2.859 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002408/0.4035, allocations: 92 kB / 408 MB, free: 2.77 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001424/0.4037, allocations: 108.5 kB / 408.1 MB, free: 2.66 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0296/0.4333, allocations: 24.41 MB / 432.5 MB, free: 10.22 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02664/0.46, allocations: 14.71 MB / 447.2 MB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3861/0.8461, allocations: 82.34 MB / 0.5172 GB, free: 45.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002309/0.8464, allocations: 123 kB / 0.5173 GB, free: 45.04 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01951/0.8659, allocations: 29.82 MB / 0.5464 GB, free: 15.54 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4937): time 4.308e-06/0.866, allocations: 2.031 kB / 0.5464 GB, free: 15.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=4941): time 13.05/13.91, allocations: 2.899 GB / 3.446 GB, free: 5.164 MB / 1.779 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004995/13.92, allocations: 7.194 MB / 3.453 GB, free: 14.18 MB / 1.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002343/13.92, allocations: 1.493 MB / 3.454 GB, free: 12.67 MB / 1.795 GB Notification: Performance of collectPreVariables (initialization): time 0.005835/13.93, allocations: 3.932 MB / 3.458 GB, free: 8.723 MB / 1.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.001705/13.93, allocations: 1.038 MB / 3.459 GB, free: 7.672 MB / 1.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.02728/13.96, allocations: 21.22 MB / 3.48 GB, free: 2.168 MB / 1.811 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004635/13.96, allocations: 1.492 MB / 3.481 GB, free: 0.6758 MB / 1.811 GB Notification: Performance of setup shared object (initialization): time 0.005245/13.96, allocations: 3.454 MB / 3.484 GB, free: 13.21 MB / 1.826 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.05124/14.02, allocations: 26.21 MB / 3.51 GB, free: 2.969 MB / 1.842 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.08276/14.1, allocations: 57.63 MB / 3.566 GB, free: 10.63 MB / 1.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06512/14.16, allocations: 37.73 MB / 3.603 GB, free: 4.867 MB / 1.951 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.001829/14.17, allocations: 304 kB / 3.603 GB, free: 4.57 MB / 1.951 GB Notification: Performance of matching and sorting (n=9772) (initialization): time 0.1672/14.33, allocations: 85.58 MB / 3.687 GB, free: 14.93 MB / 2.045 GB Notification: Performance of prepare postOptimizeDAE: time 0.002682/14.34, allocations: 485.7 kB / 3.687 GB, free: 14.45 MB / 2.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003454/14.34, allocations: 1.031 MB / 3.688 GB, free: 13.42 MB / 2.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008865/14.35, allocations: 2.441 MB / 3.691 GB, free: 10.97 MB / 2.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03929/14.39, allocations: 10.54 MB / 3.701 GB, free: 412 kB / 2.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01575/14.4, allocations: 12.86 MB / 3.714 GB, free: 3.008 MB / 2.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02928/14.43, allocations: 2.426 MB / 3.716 GB, free: 0.582 MB / 2.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01034/14.44, allocations: 3.566 MB / 3.72 GB, free: 13.01 MB / 2.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4822 * 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 (9717): * Single equations (assignments): 9712 * 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.03444/14.48, allocations: 14.49 MB / 3.734 GB, free: 14.46 MB / 2.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003955/14.48, allocations: 2.211 MB / 3.736 GB, free: 12.23 MB / 2.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.479/21.96, allocations: 8.841 GB / 12.58 GB, free: 83.81 MB / 2.467 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.76e-05/21.96, allocations: 13.94 kB / 12.58 GB, free: 83.8 MB / 2.467 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/21.96, allocations: 4 kB / 12.58 GB, free: 83.79 MB / 2.467 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.228e-05/21.96, allocations: 7.969 kB / 12.58 GB, free: 83.79 MB / 2.467 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.285/30.25, allocations: 8.861 GB / 21.44 GB, free: 1.881 GB / 2.467 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-05/30.25, allocations: 4.875 kB / 21.44 GB, free: 1.881 GB / 2.467 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007848/30.25, allocations: 162.1 kB / 21.44 GB, free: 1.881 GB / 2.467 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00245/30.25, allocations: 0.8056 MB / 21.44 GB, free: 1.88 GB / 2.467 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002151/30.25, allocations: 0.6211 MB / 21.44 GB, free: 1.88 GB / 2.467 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008823/30.26, allocations: 10.61 MB / 21.45 GB, free: 1.869 GB / 2.467 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/30.26, allocations: 6.031 kB / 21.45 GB, free: 1.869 GB / 2.467 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.037/38.3, allocations: 8.895 GB / 30.34 GB, free: 1.502 GB / 2.467 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0134/38.31, allocations: 4.803 MB / 30.35 GB, free: 1.498 GB / 2.467 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003029/38.31, allocations: 0.6172 MB / 30.35 GB, free: 1.498 GB / 2.467 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006407/38.32, allocations: 0.6638 MB / 30.35 GB, free: 1.497 GB / 2.467 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004029/38.32, allocations: 0.562 MB / 30.35 GB, free: 1.497 GB / 2.467 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00168/38.33, allocations: 0.6221 MB / 30.35 GB, free: 1.496 GB / 2.467 GB Notification: Performance of sorting global known variables: time 0.001632/38.33, allocations: 1.056 MB / 30.35 GB, free: 1.495 GB / 2.467 GB Notification: Performance of sort global known variables: time 2.3e-07/38.33, allocations: 0.6875 kB / 30.35 GB, free: 1.495 GB / 2.467 GB Notification: Performance of remove unused functions: time 0.04675/38.37, allocations: 9.523 MB / 30.36 GB, free: 1.486 GB / 2.467 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 0.003485/38.38, allocations: 0.9563 MB / 30.36 GB, free: 1.485 GB / 2.467 GB Notification: Performance of simCode: created initialization part: time 0.1033/38.48, allocations: 81.76 MB / 30.44 GB, free: 1.405 GB / 2.467 GB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/38.48, allocations: 0.6562 kB / 30.44 GB, free: 1.405 GB / 2.467 GB Notification: Performance of simCode: created simulation system equations: time 56.36/94.84, allocations: 28.59 GB / 59.03 GB, free: 0.5634 GB / 3.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008351/94.85, allocations: 1.045 MB / 59.03 GB, free: 0.5625 GB / 3.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1577/95.01, allocations: 65.61 MB / 59.1 GB, free: 0.4986 GB / 3.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01724/95.02, allocations: 9.133 MB / 59.1 GB, free: 0.4896 GB / 3.201 GB Notification: Performance of simCode: alias equations: time 0.009607/95.03, allocations: 4.084 MB / 59.11 GB, free: 497.3 MB / 3.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006901/95.04, allocations: 1.269 MB / 59.11 GB, free: 496 MB / 3.201 GB Notification: Performance of SimCode: time 1.022e-06/95.04, allocations: 3.844 kB / 59.11 GB, free: 496 MB / 3.201 GB Notification: Performance of Templates: time 0.3753/95.41, allocations: 260.4 MB / 59.36 GB, free: 235.7 MB / 3.201 GB make -j1 -f Modelica_3.2.2_Modelica.Blocks.Examples.Rectifier6pulseFFT.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Blocks.Examples.Rectifier6pulseFFT.pipe ; mkfifo Modelica_3.2.2_Modelica.Blocks.Examples.Rectifier6pulseFFT.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Blocks.Examples.Rectifier6pulseFFT.pipe >> ../files/Modelica_3.2.2_Modelica.Blocks.Examples.Rectifier6pulseFFT.sim & ./Modelica_3.2.2_Modelica.Blocks.Examples.Rectifier6pulseFFT -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Blocks.Examples.Rectifier6pulseFFT.pipe 2>&1) Environment - environmentSimulation: