Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Blocks.Examples.Rectifier6pulseFFT") translateModel(Modelica.Blocks.Examples.Rectifier6pulseFFT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.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.001114/0.001113, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001168/0.001168, allocations: 177.3 kB / 15.94 MB, free: 228 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.63/1.63, allocations: 205.4 MB / 222.1 MB, free: 5.535 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.0004325/0.0004325, allocations: 8 kB / 278.8 MB, free: 12.73 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.2363, allocations: 47.58 MB / 326.4 MB, free: 1.457 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Rectifier6pulseFFT): time 0.006406/0.2428, allocations: 5.711 MB / 332.1 MB, free: 13.05 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.006268/0.2491, allocations: 2.828 MB / 335 MB, free: 10.79 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001027/0.2502, allocations: 35.5 kB / 335 MB, free: 10.78 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001389/0.2516, allocations: 447.8 kB / 335.4 MB, free: 10.43 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002057/0.2536, allocations: 1.149 MB / 336.6 MB, free: 9.324 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001098/0.2547, allocations: 347.2 kB / 336.9 MB, free: 8.984 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003025/0.2578, allocations: 2.024 MB / 339 MB, free: 6.953 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001817/0.2596, allocations: 1.594 MB / 340.5 MB, free: 5.328 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001581/0.2612, allocations: 1.352 MB / 341.9 MB, free: 3.973 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002057/0.2633, allocations: 1.699 MB / 343.6 MB, free: 2.27 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002458/0.2635, allocations: 156 kB / 343.8 MB, free: 2.117 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001084/0.2646, allocations: 411.6 kB / 344.2 MB, free: 1.715 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00285/0.2675, allocations: 4.3 MB / 348.5 MB, free: 13.4 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001787/0.2693, allocations: 2.154 MB / 350.6 MB, free: 11.23 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00886/0.2782, allocations: 9.293 MB / 359.9 MB, free: 1.914 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.2782, allocations: 0 / 359.9 MB, free: 1.914 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2782, allocations: 4 kB / 359.9 MB, free: 1.91 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0002643/0.2785, allocations: 0 / 359.9 MB, free: 1.91 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.0176/0.2961, allocations: 15.1 MB / 375 MB, free: 2.688 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.2961, allocations: 8.031 kB / 375 MB, free: 2.68 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00238/0.2985, allocations: 1.483 MB / 376.5 MB, free: 1.176 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005051/0.3036, allocations: 2.88 MB / 379.4 MB, free: 14.21 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001513/0.3038, allocations: 164.4 kB / 379.5 MB, free: 14.05 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005011/0.3043, allocations: 219.8 kB / 379.8 MB, free: 13.84 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03058/0.3349, allocations: 26.92 MB / 406.7 MB, free: 2.84 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.998e-05/0.3349, allocations: 7.953 kB / 406.7 MB, free: 2.832 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002375/0.3352, allocations: 91.98 kB / 406.8 MB, free: 2.742 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001299/0.3353, allocations: 108.5 kB / 406.9 MB, free: 2.633 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02607/0.3614, allocations: 24.42 MB / 431.3 MB, free: 10.19 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02186/0.3833, allocations: 14.71 MB / 446 MB, free: 11.33 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3761/0.7594, allocations: 82.34 MB / 0.516 GB, free: 44.78 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002277/0.7597, allocations: 131.1 kB / 0.5161 GB, free: 44.64 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02087/0.7806, allocations: 29.81 MB / 0.5452 GB, free: 15.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4937): time 5.901e-06/0.7807, allocations: 1.281 kB / 0.5452 GB, free: 15.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=4941): time 13.83/14.61, allocations: 2.899 GB / 3.444 GB, free: 5.117 MB / 1.779 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005293/14.61, allocations: 7.193 MB / 3.451 GB, free: 14.2 MB / 1.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002569/14.61, allocations: 1.5 MB / 3.453 GB, free: 12.68 MB / 1.795 GB Notification: Performance of collectPreVariables (initialization): time 0.006316/14.62, allocations: 3.931 MB / 3.457 GB, free: 8.734 MB / 1.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.001895/14.62, allocations: 1.033 MB / 3.458 GB, free: 7.691 MB / 1.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0292/14.65, allocations: 21.23 MB / 3.478 GB, free: 2.195 MB / 1.811 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004462/14.66, allocations: 1.488 MB / 3.48 GB, free: 0.707 MB / 1.811 GB Notification: Performance of setup shared object (initialization): time 0.005556/14.66, allocations: 3.454 MB / 3.483 GB, free: 13.24 MB / 1.826 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.05111/14.71, allocations: 26.22 MB / 3.509 GB, free: 2.992 MB / 1.842 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.07747/14.79, allocations: 57.61 MB / 3.565 GB, free: 10.66 MB / 1.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0595/14.85, allocations: 37.73 MB / 3.602 GB, free: 4.895 MB / 1.951 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.001255/14.85, allocations: 300 kB / 3.602 GB, free: 4.602 MB / 1.951 GB Notification: Performance of matching and sorting (n=9772) (initialization): time 0.178/15.03, allocations: 85.58 MB / 3.686 GB, free: 14.96 MB / 2.045 GB Notification: Performance of prepare postOptimizeDAE: time 0.002275/15.03, allocations: 485.7 kB / 3.686 GB, free: 14.48 MB / 2.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002884/15.03, allocations: 1.035 MB / 3.687 GB, free: 13.45 MB / 2.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006111/15.04, allocations: 2.44 MB / 3.69 GB, free: 11 MB / 2.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03723/15.08, allocations: 10.54 MB / 3.7 GB, free: 448 kB / 2.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01548/15.09, allocations: 12.86 MB / 3.712 GB, free: 3.043 MB / 2.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03174/15.13, allocations: 2.434 MB / 3.715 GB, free: 0.6094 MB / 2.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.009394/15.13, allocations: 3.555 MB / 3.718 GB, free: 13.05 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.03337/15.17, allocations: 14.49 MB / 3.732 GB, free: 14.49 MB / 2.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003907/15.17, allocations: 2.215 MB / 3.735 GB, free: 12.26 MB / 2.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.865/23.04, allocations: 8.841 GB / 12.58 GB, free: 83.79 MB / 2.467 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.633e-05/23.04, allocations: 16 kB / 12.58 GB, free: 83.77 MB / 2.467 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.3e-05/23.04, allocations: 4.719 kB / 12.58 GB, free: 83.77 MB / 2.467 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-05/23.04, allocations: 7.969 kB / 12.58 GB, free: 83.76 MB / 2.467 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.407/31.44, allocations: 8.861 GB / 21.44 GB, free: 1.881 GB / 2.467 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.356e-05/31.44, allocations: 8.594 kB / 21.44 GB, free: 1.881 GB / 2.467 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000863/31.45, allocations: 168.3 kB / 21.44 GB, free: 1.881 GB / 2.467 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002543/31.45, allocations: 0.7991 MB / 21.44 GB, free: 1.88 GB / 2.467 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002737/31.45, allocations: 0.6211 MB / 21.44 GB, free: 1.88 GB / 2.467 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009931/31.46, allocations: 10.62 MB / 21.45 GB, free: 1.869 GB / 2.467 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/31.46, allocations: 0 / 21.45 GB, free: 1.869 GB / 2.467 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.019/39.48, allocations: 8.895 GB / 30.34 GB, free: 1.502 GB / 2.467 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01438/39.49, allocations: 4.81 MB / 30.35 GB, free: 1.498 GB / 2.467 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003609/39.5, allocations: 0.6195 MB / 30.35 GB, free: 1.498 GB / 2.467 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007268/39.51, allocations: 0.6643 MB / 30.35 GB, free: 1.497 GB / 2.467 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.007725/39.51, allocations: 0.5563 MB / 30.35 GB, free: 1.497 GB / 2.467 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002817/39.52, allocations: 0.6274 MB / 30.35 GB, free: 1.496 GB / 2.467 GB Notification: Performance of sorting global known variables: time 0.00184/39.52, allocations: 1.06 MB / 30.35 GB, free: 1.495 GB / 2.467 GB Notification: Performance of sort global known variables: time 1.2e-07/39.52, allocations: 0 / 30.35 GB, free: 1.495 GB / 2.467 GB Notification: Performance of remove unused functions: time 0.05115/39.57, allocations: 9.515 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.004345/39.57, allocations: 0.952 MB / 30.36 GB, free: 1.485 GB / 2.467 GB Notification: Performance of simCode: created initialization part: time 0.1087/39.68, allocations: 81.76 MB / 30.44 GB, free: 1.405 GB / 2.467 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-05/39.68, allocations: 4.062 kB / 30.44 GB, free: 1.405 GB / 2.467 GB Notification: Performance of simCode: created simulation system equations: time 54.39/94.07, allocations: 28.59 GB / 59.03 GB, free: 0.5732 GB / 3.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009127/94.08, allocations: 1.047 MB / 59.03 GB, free: 0.5722 GB / 3.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1028/94.18, allocations: 65.61 MB / 59.09 GB, free: 0.5083 GB / 3.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01136/94.19, allocations: 9.133 MB / 59.1 GB, free: 0.4994 GB / 3.201 GB Notification: Performance of simCode: alias equations: time 0.008434/94.2, allocations: 4.088 MB / 59.11 GB, free: 0.4954 GB / 3.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005881/94.21, allocations: 1.265 MB / 59.11 GB, free: 0.4941 GB / 3.201 GB Notification: Performance of SimCode: time 2.625e-06/94.21, allocations: 0.5625 kB / 59.11 GB, free: 0.4941 GB / 3.201 GB Notification: Performance of Templates: time 0.3626/94.57, allocations: 260.4 MB / 59.36 GB, free: 245.7 MB / 3.201 GB make -j1 -f Modelica_3.1_Modelica.Blocks.Examples.Rectifier6pulseFFT.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Blocks.Examples.Rectifier6pulseFFT.pipe ; mkfifo Modelica_3.1_Modelica.Blocks.Examples.Rectifier6pulseFFT.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Blocks.Examples.Rectifier6pulseFFT.pipe >> ../files/Modelica_3.1_Modelica.Blocks.Examples.Rectifier6pulseFFT.sim & ./Modelica_3.1_Modelica.Blocks.Examples.Rectifier6pulseFFT -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Blocks.Examples.Rectifier6pulseFFT.pipe 2>&1) Environment - environmentSimulation: