Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_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.1_Modelica.Blocks.Examples.Rectifier6pulseFFT") translateModel(Modelica.Blocks.Examples.Rectifier6pulseFFT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.0008343/0.0008343, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0008765/0.0008766, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.446/1.446, allocations: 205.4 MB / 222.1 MB, free: 5.523 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.0007037/0.0007039, allocations: 12 kB / 278.9 MB, free: 12.7 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.2874, allocations: 47.58 MB / 326.5 MB, free: 1.434 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Rectifier6pulseFFT): time 0.006685/0.2941, allocations: 6.159 MB / 332.6 MB, free: 12.61 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.005499/0.2997, allocations: 2.775 MB / 335.4 MB, free: 10.36 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001287/0.301, allocations: 39.38 kB / 335.4 MB, free: 10.34 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001591/0.3026, allocations: 429 kB / 335.9 MB, free: 10.04 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002663/0.3053, allocations: 1.174 MB / 337 MB, free: 8.906 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.0014/0.3067, allocations: 363.4 kB / 337.4 MB, free: 8.551 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.004122/0.3109, allocations: 3.211 MB / 340.6 MB, free: 5.324 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002521/0.3134, allocations: 1.587 MB / 342.2 MB, free: 3.707 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002432/0.3158, allocations: 1.418 MB / 343.6 MB, free: 2.285 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003124/0.319, allocations: 1.85 MB / 345.5 MB, free: 440 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006749/0.3197, allocations: 156 kB / 345.6 MB, free: 284 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002006/0.3217, allocations: 439.5 kB / 346 MB, free: 15.85 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003353/0.3251, allocations: 4.335 MB / 350.4 MB, free: 11.5 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002263/0.3273, allocations: 2.146 MB / 352.5 MB, free: 9.34 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009211/0.3366, allocations: 9.609 MB / 362.1 MB, free: 15.7 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.3366, allocations: 0 / 362.1 MB, free: 15.7 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.477e-06/0.3366, allocations: 0 / 362.1 MB, free: 15.7 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0004195/0.337, allocations: 0 / 362.1 MB, free: 15.7 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.01987/0.3569, allocations: 15.1 MB / 377.2 MB, free: 496 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/0.357, allocations: 12.03 kB / 377.2 MB, free: 484 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003154/0.3601, allocations: 1.479 MB / 378.7 MB, free: 14.97 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005737/0.3659, allocations: 2.876 MB / 381.6 MB, free: 12.02 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001362/0.3661, allocations: 164.4 kB / 381.7 MB, free: 11.85 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003664/0.3664, allocations: 219.9 kB / 382 MB, free: 11.64 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03117/0.3976, allocations: 26.93 MB / 408.9 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.365e-05/0.3977, allocations: 7.781 kB / 408.9 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002195/0.3979, allocations: 95.98 kB / 409 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001132/0.398, allocations: 104.5 kB / 409.1 MB, free: 428 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02805/0.4261, allocations: 24.41 MB / 433.5 MB, free: 7.98 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03164/0.4578, allocations: 14.72 MB / 448.2 MB, free: 9.105 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3683/0.8261, allocations: 82.34 MB / 0.5181 GB, free: 42.11 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.04934/0.8755, allocations: 80.34 MB / 0.5966 GB, free: 10.17 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002955/0.8759, allocations: 129.4 kB / 0.5967 GB, free: 10.03 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2227/1.099, allocations: 29.81 MB / 0.6258 GB, free: 143.2 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4937): time 4.98e-06/1.099, allocations: 1.422 kB / 0.6258 GB, free: 143.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=4941): time 10.91/12.01, allocations: 2.896 GB / 3.522 GB, free: 11.96 MB / 1.936 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005245/12.01, allocations: 7.217 MB / 3.529 GB, free: 4.641 MB / 1.936 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002388/12.02, allocations: 1.496 MB / 3.53 GB, free: 3.129 MB / 1.936 GB Notification: Performance of collectPreVariables (initialization): time 0.005077/12.02, allocations: 3.932 MB / 3.534 GB, free: 15.18 MB / 1.951 GB Notification: Performance of collectInitialEqns (initialization): time 0.001132/12.02, allocations: 1.043 MB / 3.535 GB, free: 14.12 MB / 1.951 GB Notification: Performance of collectInitialBindings (initialization): time 0.3254/12.35, allocations: 21.22 MB / 3.556 GB, free: 1.662 GB / 1.951 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007345/12.35, allocations: 1.491 MB / 3.557 GB, free: 1.661 GB / 1.951 GB Notification: Performance of setup shared object (initialization): time 0.008066/12.36, allocations: 3.459 MB / 3.561 GB, free: 1.66 GB / 1.951 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0481/12.41, allocations: 26.2 MB / 3.586 GB, free: 1.641 GB / 1.951 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.07035/12.48, allocations: 57.91 MB / 3.643 GB, free: 1.57 GB / 1.951 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05718/12.54, allocations: 37.72 MB / 3.68 GB, free: 1.533 GB / 1.951 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.001952/12.54, allocations: 304 kB / 3.68 GB, free: 1.533 GB / 1.951 GB Notification: Performance of matching and sorting (n=9772) (initialization): time 0.1567/12.7, allocations: 85.55 MB / 3.764 GB, free: 1.45 GB / 1.951 GB Notification: Performance of prepare postOptimizeDAE: time 0.002245/12.7, allocations: 493.7 kB / 3.764 GB, free: 1.45 GB / 1.951 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003514/12.7, allocations: 1.027 MB / 3.765 GB, free: 1.449 GB / 1.951 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007228/12.71, allocations: 2.44 MB / 3.767 GB, free: 1.447 GB / 1.951 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0381/12.75, allocations: 10.53 MB / 3.778 GB, free: 1.436 GB / 1.951 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01415/12.76, allocations: 12.64 MB / 3.79 GB, free: 1.424 GB / 1.951 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03731/12.8, allocations: 2.433 MB / 3.792 GB, free: 1.421 GB / 1.951 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.009327/12.81, allocations: 3.562 MB / 3.796 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.02886/12.84, allocations: 14.49 MB / 3.81 GB, free: 1.404 GB / 1.951 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004018/12.84, allocations: 2.217 MB / 3.812 GB, free: 1.403 GB / 1.951 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.388/20.23, allocations: 8.841 GB / 12.65 GB, free: 0.6752 GB / 1.951 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.327e-05/20.23, allocations: 15.78 kB / 12.65 GB, free: 0.6751 GB / 1.951 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.969e-05/20.23, allocations: 4 kB / 12.65 GB, free: 0.6751 GB / 1.951 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.322e-05/20.23, allocations: 11.17 kB / 12.65 GB, free: 0.6751 GB / 1.951 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.857/28.09, allocations: 8.861 GB / 21.51 GB, free: 1.538 GB / 1.951 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.568e-05/28.09, allocations: 0.8125 kB / 21.51 GB, free: 1.538 GB / 1.951 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007202/28.09, allocations: 161.5 kB / 21.51 GB, free: 1.538 GB / 1.951 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002312/28.09, allocations: 0.8095 MB / 21.52 GB, free: 1.538 GB / 1.951 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00301/28.09, allocations: 0.6239 MB / 21.52 GB, free: 1.537 GB / 1.951 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008685/28.1, allocations: 10.4 MB / 21.53 GB, free: 1.526 GB / 1.951 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/28.1, allocations: 7.969 kB / 21.53 GB, free: 1.526 GB / 1.951 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.915/36.02, allocations: 8.895 GB / 30.42 GB, free: 0.7351 GB / 1.951 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01419/36.03, allocations: 4.806 MB / 30.43 GB, free: 0.7311 GB / 1.951 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003992/36.04, allocations: 0.6172 MB / 30.43 GB, free: 0.7305 GB / 1.951 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01011/36.05, allocations: 0.664 MB / 30.43 GB, free: 0.7299 GB / 1.951 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.007585/36.05, allocations: 0.5558 MB / 30.43 GB, free: 0.7294 GB / 1.951 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004608/36.06, allocations: 0.6315 MB / 30.43 GB, free: 0.7287 GB / 1.951 GB Notification: Performance of sorting global known variables: time 0.002258/36.06, allocations: 1.053 MB / 30.43 GB, free: 0.7277 GB / 1.951 GB Notification: Performance of sort global known variables: time 3.71e-07/36.06, allocations: 0 / 30.43 GB, free: 0.7277 GB / 1.951 GB Notification: Performance of remove unused functions: time 0.04815/36.11, allocations: 9.516 MB / 30.44 GB, free: 0.7184 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.003998/36.11, allocations: 0.9608 MB / 30.44 GB, free: 0.7176 GB / 1.951 GB Notification: Performance of simCode: created initialization part: time 0.1072/36.22, allocations: 81.74 MB / 30.52 GB, free: 0.6381 GB / 1.951 GB Notification: Performance of simCode: created event and clocks part: time 1.111e-05/36.22, allocations: 0 / 30.52 GB, free: 0.6381 GB / 1.951 GB Notification: Performance of simCode: created simulation system equations: time 57.21/93.43, allocations: 28.59 GB / 59.11 GB, free: 146.1 MB / 2.467 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007987/93.44, allocations: 1.663 MB / 59.11 GB, free: 144.5 MB / 2.467 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09661/93.53, allocations: 66.21 MB / 59.17 GB, free: 78.52 MB / 2.467 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01556/93.55, allocations: 8.866 MB / 59.18 GB, free: 69.61 MB / 2.467 GB Notification: Performance of simCode: alias equations: time 0.01262/93.56, allocations: 4.084 MB / 59.18 GB, free: 65.52 MB / 2.467 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006974/93.57, allocations: 1.269 MB / 59.19 GB, free: 64.25 MB / 2.467 GB Notification: Performance of SimCode: time 1.212e-06/93.57, allocations: 0 / 59.19 GB, free: 64.25 MB / 2.467 GB Notification: Performance of Templates: time 0.7226/94.29, allocations: 260.4 MB / 59.44 GB, free: 1.931 GB / 2.467 GB make -j1 -f Modelica_3.2.1_Modelica.Blocks.Examples.Rectifier6pulseFFT.makefile (rm -f Modelica_3.2.1_Modelica.Blocks.Examples.Rectifier6pulseFFT.pipe ; mkfifo Modelica_3.2.1_Modelica.Blocks.Examples.Rectifier6pulseFFT.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Blocks.Examples.Rectifier6pulseFFT.pipe >> ../files/Modelica_3.2.1_Modelica.Blocks.Examples.Rectifier6pulseFFT.sim & ./Modelica_3.2.1_Modelica.Blocks.Examples.Rectifier6pulseFFT -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Blocks.Examples.Rectifier6pulseFFT.pipe 2>&1)