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.0009999/0.001, allocations: 88.39 kB / 16.31 MB, free: 6.449 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.0009019/0.0009019, allocations: 183.1 kB / 17.21 MB, free: 6.316 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.696/1.696, allocations: 205.4 MB / 223.4 MB, free: 5.27 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.0005036/0.0005038, allocations: 16 kB / 280.1 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2704/0.2709, allocations: 47.59 MB / 327.7 MB, free: 1.43 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Rectifier6pulseFFT): time 0.00744/0.2784, allocations: 6.163 MB / 333.9 MB, free: 12.6 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.006307/0.2847, allocations: 2.769 MB / 336.7 MB, free: 10.36 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001274/0.286, allocations: 34.72 kB / 336.7 MB, free: 10.35 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001449/0.2875, allocations: 432.3 kB / 337.1 MB, free: 10.04 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002148/0.2897, allocations: 1.171 MB / 338.3 MB, free: 8.883 MB / 270.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/FastFourierTransform.mo:536:3-627:25:writable] Warning: Pure function ‘Modelica.Math.FastFourierTransform.realFFTwriteToFile‘ contains a call to impure function ‘Modelica.Utilities.Files.removeFile‘. Notification: Performance of NFTyping.typeClassSections: time 0.001183/0.2909, allocations: 359.4 kB / 338.6 MB, free: 8.531 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.004031/0.2949, allocations: 3.207 MB / 341.8 MB, free: 5.309 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001954/0.2969, allocations: 1.587 MB / 343.4 MB, free: 3.691 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002272/0.2991, allocations: 1.426 MB / 344.9 MB, free: 2.262 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002448/0.3016, allocations: 1.854 MB / 346.7 MB, free: 412 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002592/0.3019, allocations: 156 kB / 346.9 MB, free: 256 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001143/0.303, allocations: 431.5 kB / 347.3 MB, free: 15.83 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003234/0.3063, allocations: 4.327 MB / 351.6 MB, free: 11.49 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002191/0.3085, allocations: 2.154 MB / 353.8 MB, free: 9.32 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00917/0.3177, allocations: 9.609 MB / 363.4 MB, free: 15.68 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.216e-06/0.3177, allocations: 0 / 363.4 MB, free: 15.68 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3177, allocations: 4 kB / 363.4 MB, free: 15.68 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0004088/0.3181, allocations: 0 / 363.4 MB, free: 15.68 MB / 302.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.01887/0.337, allocations: 15.1 MB / 378.5 MB, free: 468 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.3371, allocations: 8.031 kB / 378.5 MB, free: 460 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003825/0.3409, allocations: 1.479 MB / 380 MB, free: 14.95 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0096/0.3505, allocations: 2.869 MB / 382.8 MB, free: 12 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002161/0.3508, allocations: 176.3 kB / 383 MB, free: 11.82 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006713/0.3515, allocations: 219.9 kB / 383.2 MB, free: 11.61 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04235/0.3938, allocations: 26.94 MB / 410.2 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.89e-05/0.3939, allocations: 7.719 kB / 410.2 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002535/0.3942, allocations: 88 kB / 410.3 MB, free: 0.5 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001557/0.3944, allocations: 116.5 kB / 410.4 MB, free: 392 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03309/0.4275, allocations: 24.41 MB / 434.8 MB, free: 7.945 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02516/0.4527, allocations: 14.7 MB / 449.5 MB, free: 9.086 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.4753/0.928, allocations: 82.35 MB / 0.5194 GB, free: 41.72 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.05208/0.9801, allocations: 80.36 MB / 0.5978 GB, free: 9.898 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003214/0.9805, allocations: 125.5 kB / 0.598 GB, free: 9.762 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2575/1.238, allocations: 29.82 MB / 0.6271 GB, free: 143.1 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4937): time 5.601e-06/1.238, allocations: 0 / 0.6271 GB, free: 143.1 MB / 430.1 MB Notification: Performance of matching and sorting (n=4941): time 12.21/13.45, allocations: 2.896 GB / 3.523 GB, free: 11.91 MB / 1.936 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0059/13.46, allocations: 7.221 MB / 3.53 GB, free: 4.59 MB / 1.936 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002697/13.46, allocations: 1.495 MB / 3.532 GB, free: 3.078 MB / 1.936 GB Notification: Performance of collectPreVariables (initialization): time 0.005688/13.46, allocations: 3.938 MB / 3.535 GB, free: 15.12 MB / 1.951 GB Notification: Performance of collectInitialEqns (initialization): time 0.001311/13.47, allocations: 1.03 MB / 3.536 GB, free: 14.08 MB / 1.951 GB Notification: Performance of collectInitialBindings (initialization): time 0.3196/13.79, allocations: 21.22 MB / 3.557 GB, free: 1.662 GB / 1.951 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006342/13.79, allocations: 1.491 MB / 3.559 GB, free: 1.661 GB / 1.951 GB Notification: Performance of setup shared object (initialization): time 0.00684/13.8, allocations: 3.461 MB / 3.562 GB, free: 1.66 GB / 1.951 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04881/13.85, allocations: 26.21 MB / 3.588 GB, free: 1.641 GB / 1.951 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.06648/13.91, allocations: 57.9 MB / 3.644 GB, free: 1.57 GB / 1.951 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0554/13.97, allocations: 37.73 MB / 3.681 GB, free: 1.533 GB / 1.951 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.001498/13.97, allocations: 300 kB / 3.681 GB, free: 1.532 GB / 1.951 GB Notification: Performance of matching and sorting (n=9772) (initialization): time 0.1546/14.13, allocations: 85.56 MB / 3.765 GB, free: 1.45 GB / 1.951 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009843/14.13, allocations: 485.7 kB / 3.765 GB, free: 1.45 GB / 1.951 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002196/14.13, allocations: 1.031 MB / 3.766 GB, free: 1.449 GB / 1.951 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00475/14.13, allocations: 2.439 MB / 3.769 GB, free: 1.447 GB / 1.951 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03714/14.17, allocations: 10.54 MB / 3.779 GB, free: 1.436 GB / 1.951 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01313/14.18, allocations: 12.64 MB / 3.791 GB, free: 1.423 GB / 1.951 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03448/14.22, allocations: 2.434 MB / 3.794 GB, free: 1.421 GB / 1.951 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01056/14.23, allocations: 3.565 MB / 3.797 GB, free: 1.418 GB / 1.951 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4823 * 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.02643/14.26, allocations: 14.49 MB / 3.811 GB, free: 1.404 GB / 1.951 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003421/14.26, allocations: 2.213 MB / 3.813 GB, free: 1.402 GB / 1.951 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.784/22.04, allocations: 8.841 GB / 12.65 GB, free: 0.6745 GB / 1.951 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.291e-05/22.04, allocations: 19.78 kB / 12.65 GB, free: 0.6745 GB / 1.951 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/22.04, allocations: 4 kB / 12.65 GB, free: 0.6745 GB / 1.951 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.938e-05/22.04, allocations: 7.969 kB / 12.65 GB, free: 0.6745 GB / 1.951 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.797/30.84, allocations: 8.861 GB / 21.52 GB, free: 1.538 GB / 1.951 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.286e-05/30.84, allocations: 0 / 21.52 GB, free: 1.538 GB / 1.951 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007497/30.84, allocations: 164.7 kB / 21.52 GB, free: 1.538 GB / 1.951 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002303/30.84, allocations: 0.8091 MB / 21.52 GB, free: 1.537 GB / 1.951 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002892/30.85, allocations: 0.6211 MB / 21.52 GB, free: 1.536 GB / 1.951 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008873/30.86, allocations: 10.4 MB / 21.53 GB, free: 1.526 GB / 1.951 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/30.86, allocations: 0 / 21.53 GB, free: 1.526 GB / 1.951 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.118/38.97, allocations: 8.895 GB / 30.42 GB, free: 0.7346 GB / 1.951 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01133/38.99, allocations: 4.802 MB / 30.43 GB, free: 0.7307 GB / 1.951 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002802/38.99, allocations: 0.625 MB / 30.43 GB, free: 0.7301 GB / 1.951 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006443/38.99, allocations: 0.664 MB / 30.43 GB, free: 0.7294 GB / 1.951 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003875/39, allocations: 0.5519 MB / 30.43 GB, free: 0.7289 GB / 1.951 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001377/39, allocations: 0.6276 MB / 30.43 GB, free: 0.7283 GB / 1.951 GB Notification: Performance of sorting global known variables: time 0.00162/39, allocations: 1.064 MB / 30.43 GB, free: 0.7272 GB / 1.951 GB Notification: Performance of sort global known variables: time 1.31e-07/39, allocations: 0 / 30.43 GB, free: 0.7272 GB / 1.951 GB Notification: Performance of remove unused functions: time 0.04551/39.05, allocations: 9.518 MB / 30.44 GB, free: 0.7179 GB / 1.951 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (83): * Single equations (assignments): 77 * 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.005719/39.05, allocations: 0.9578 MB / 30.44 GB, free: 0.7171 GB / 1.951 GB Notification: Performance of simCode: created initialization part: time 0.1148/39.17, allocations: 81.74 MB / 30.52 GB, free: 0.6376 GB / 1.951 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-05/39.17, allocations: 0 / 30.52 GB, free: 0.6376 GB / 1.951 GB Notification: Performance of simCode: created simulation system equations: time 58.93/98.1, allocations: 28.59 GB / 59.11 GB, free: 129.1 MB / 2.467 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01289/98.11, allocations: 1.668 MB / 59.11 GB, free: 127.5 MB / 2.467 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1041/98.21, allocations: 66.2 MB / 59.17 GB, free: 61.49 MB / 2.467 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01334/98.23, allocations: 8.876 MB / 59.18 GB, free: 52.57 MB / 2.467 GB Notification: Performance of simCode: alias equations: time 0.009808/98.24, allocations: 4.083 MB / 59.19 GB, free: 48.48 MB / 2.467 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007375/98.24, allocations: 1.265 MB / 59.19 GB, free: 47.21 MB / 2.467 GB Notification: Performance of SimCode: time 1.162e-06/98.24, allocations: 3.938 kB / 59.19 GB, free: 47.21 MB / 2.467 GB Notification: Performance of Templates: time 0.7662/99.01, allocations: 260.4 MB / 59.44 GB, free: 1.914 GB / 2.467 GB make -j1 -f Modelica_3.2.2_Modelica.Blocks.Examples.Rectifier6pulseFFT.makefile (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)