Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Blocks.Examples.Rectifier12pulseFFT.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.Rectifier12pulseFFT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Blocks.Examples.Rectifier12pulseFFT") translateModel(Modelica.Blocks.Examples.Rectifier12pulseFFT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Blocks.Examples.Rectifier12pulseFFT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 99.55 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.001138/0.001138, 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.474/1.474, allocations: 205.4 MB / 222.1 MB, free: 5.52 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.0004536/0.0004538, allocations: 8 kB / 278.8 MB, free: 12.72 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2985/0.2989, allocations: 47.59 MB / 326.4 MB, free: 1.629 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Rectifier12pulseFFT): time 0.01192/0.3109, allocations: 8.786 MB / 335.2 MB, free: 10.85 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00987/0.3209, allocations: 3.805 MB / 339 MB, free: 7.039 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003839/0.3248, allocations: 63.62 kB / 339.1 MB, free: 6.977 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002733/0.3275, allocations: 0.649 MB / 339.7 MB, free: 6.324 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005584/0.3331, allocations: 1.536 MB / 341.3 MB, free: 4.785 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002361/0.3355, allocations: 483.2 kB / 341.7 MB, free: 4.312 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.008598/0.3442, allocations: 3.502 MB / 345.2 MB, free: 0.8008 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005553/0.3498, allocations: 2.878 MB / 348.1 MB, free: 13.87 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003967/0.3538, allocations: 2.08 MB / 350.2 MB, free: 11.79 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005311/0.3591, allocations: 2.555 MB / 352.8 MB, free: 9.223 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001394/0.3606, allocations: 280 kB / 353 MB, free: 8.949 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002848/0.3634, allocations: 0.5191 MB / 353.6 MB, free: 8.43 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005137/0.3686, allocations: 4.814 MB / 358.4 MB, free: 3.602 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004399/0.373, allocations: 2.563 MB / 360.9 MB, free: 1.023 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01766/0.3907, allocations: 12.38 MB / 373.3 MB, free: 4.609 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.3908, allocations: 0 / 373.3 MB, free: 4.609 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.367e-06/0.3908, allocations: 0 / 373.3 MB, free: 4.609 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.00076/0.3915, allocations: 0 / 373.3 MB, free: 4.609 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: 5853 * Number of variables: 5853 Notification: Performance of Generate backend data structure: time 0.02597/0.4175, allocations: 16.87 MB / 390.2 MB, free: 3.598 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.43e-05/0.4176, allocations: 8.031 kB / 390.2 MB, free: 3.59 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005278/0.4229, allocations: 1.727 MB / 391.9 MB, free: 1.84 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01005/0.433, allocations: 3.927 MB / 395.8 MB, free: 13.82 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003074/0.4333, allocations: 295.9 kB / 396.1 MB, free: 13.53 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001031/0.4344, allocations: 391.9 kB / 396.5 MB, free: 13.14 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04527/0.4797, allocations: 29.51 MB / 426 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.625e-05/0.4798, allocations: 0 / 426 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006999/0.4805, allocations: 168 kB / 426.2 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002231/0.4808, allocations: 208 kB / 426.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03496/0.5157, allocations: 26.69 MB / 453.1 MB, free: 4.473 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3077/0.8235, allocations: 22.27 MB / 475.4 MB, free: 97.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05087/0.8745, allocations: 85.77 MB / 0.548 GB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003593/0.8749, allocations: 136.9 kB / 0.5481 GB, free: 12.21 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03262/0.9075, allocations: 30.65 MB / 0.578 GB, free: 13.56 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5058): time 1.006e-05/0.9076, allocations: 0 / 0.578 GB, free: 13.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=5065): time 13.49/14.4, allocations: 2.905 GB / 3.483 GB, free: 11.38 MB / 1.857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00524/14.41, allocations: 7.357 MB / 3.49 GB, free: 3.898 MB / 1.857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004359/14.41, allocations: 2.641 MB / 3.493 GB, free: 1.238 MB / 1.857 GB Notification: Performance of collectPreVariables (initialization): time 0.006227/14.42, allocations: 3.948 MB / 3.497 GB, free: 13.27 MB / 1.873 GB Notification: Performance of collectInitialEqns (initialization): time 0.002832/14.42, allocations: 1.737 MB / 3.499 GB, free: 11.52 MB / 1.873 GB Notification: Performance of collectInitialBindings (initialization): time 0.03742/14.46, allocations: 21.64 MB / 3.52 GB, free: 5.59 MB / 1.889 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007195/14.46, allocations: 1.519 MB / 3.521 GB, free: 4.074 MB / 1.889 GB Notification: Performance of setup shared object (initialization): time 0.008882/14.47, allocations: 3.499 MB / 3.525 GB, free: 0.5625 MB / 1.889 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.05941/14.53, allocations: 26.86 MB / 3.551 GB, free: 5.672 MB / 1.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.09671/14.63, allocations: 58.47 MB / 3.608 GB, free: 12.45 MB / 1.998 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07112/14.7, allocations: 38.5 MB / 3.646 GB, free: 5.887 MB / 2.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.002805/14.7, allocations: 304 kB / 3.646 GB, free: 5.59 MB / 2.029 GB Notification: Performance of matching and sorting (n=9917) (initialization): time 0.1966/14.9, allocations: 87.73 MB / 3.732 GB, free: 13.75 MB / 2.123 GB Notification: Performance of prepare postOptimizeDAE: time 0.001603/14.9, allocations: 485.7 kB / 3.732 GB, free: 13.27 MB / 2.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002594/14.9, allocations: 1.031 MB / 3.733 GB, free: 12.23 MB / 2.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009577/14.91, allocations: 3.266 MB / 3.736 GB, free: 8.945 MB / 2.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04368/14.96, allocations: 10.72 MB / 3.747 GB, free: 14.2 MB / 2.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03224/14.99, allocations: 26.01 MB / 3.772 GB, free: 2.852 MB / 2.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04202/15.03, allocations: 2.492 MB / 3.774 GB, free: 368 kB / 2.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.02122/15.05, allocations: 3.605 MB / 3.778 GB, free: 12.75 MB / 2.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4834 * Number of states: 0 () * Number of discrete variables: 24 ($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,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9811): * Single equations (assignments): 9800 * 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: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 9,(1,100.0%) 9,(1,100.0%) 9,(2,100.0%) 29} * Non-linear torn systems: 6 {2 7,2 7,2 7,2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.06587/15.12, allocations: 15.08 MB / 3.793 GB, free: 13.61 MB / 2.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009479/15.13, allocations: 2.35 MB / 3.795 GB, free: 11.24 MB / 2.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.7/23.83, allocations: 8.844 GB / 12.64 GB, free: 0.6798 GB / 2.233 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.401e-05/23.83, allocations: 28 kB / 12.64 GB, free: 0.6798 GB / 2.233 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.499e-05/23.83, allocations: 8 kB / 12.64 GB, free: 0.6798 GB / 2.233 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.25e-05/23.83, allocations: 11.95 kB / 12.64 GB, free: 0.6798 GB / 2.233 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.502/32.33, allocations: 8.865 GB / 21.5 GB, free: 1.259 GB / 2.233 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.284e-05/32.33, allocations: 0 / 21.5 GB, free: 1.259 GB / 2.233 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001431/32.33, allocations: 295 kB / 21.5 GB, free: 1.259 GB / 2.233 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005381/32.34, allocations: 1.618 MB / 21.51 GB, free: 1.257 GB / 2.233 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002572/32.34, allocations: 0.6523 MB / 21.51 GB, free: 1.257 GB / 2.233 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02026/32.36, allocations: 23.64 MB / 21.53 GB, free: 1.232 GB / 2.233 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/32.36, allocations: 5.734 kB / 21.53 GB, free: 1.232 GB / 2.233 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.634/41, allocations: 8.898 GB / 30.43 GB, free: 1.784 GB / 2.233 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01368/41.01, allocations: 5.096 MB / 30.43 GB, free: 1.78 GB / 2.233 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003091/41.01, allocations: 0.6484 MB / 30.43 GB, free: 1.78 GB / 2.233 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006372/41.02, allocations: 0.7213 MB / 30.43 GB, free: 1.779 GB / 2.233 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003824/41.02, allocations: 0.6545 MB / 30.43 GB, free: 1.778 GB / 2.233 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002327/41.02, allocations: 0.6484 MB / 30.43 GB, free: 1.778 GB / 2.233 GB Notification: Performance of sorting global known variables: time 0.003271/41.03, allocations: 1.845 MB / 30.44 GB, free: 1.776 GB / 2.233 GB Notification: Performance of sort global known variables: time 3.6e-07/41.03, allocations: 0 / 30.44 GB, free: 1.776 GB / 2.233 GB Notification: Performance of remove unused functions: time 0.03738/41.07, allocations: 9.963 MB / 30.45 GB, free: 1.766 GB / 2.233 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i,transformer2.l2sigma.inductor[1].i,transformer2.l2sigma.inductor[2].i,transformer2.l2sigma.inductor[3].i) * Number of discrete variables: 20 (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,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.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 (155): * Single equations (assignments): 143 * 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: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 29,(1,100.0%) 9,(1,100.0%) 9,(1,100.0%) 9} * Non-linear torn systems: 6 {2 7,2 7,2 7,2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.003006/41.07, allocations: 0.9929 MB / 30.45 GB, free: 1.765 GB / 2.233 GB Notification: Performance of simCode: created initialization part: time 0.09928/41.17, allocations: 84.25 MB / 30.53 GB, free: 1.683 GB / 2.233 GB Notification: Performance of simCode: created event and clocks part: time 1.105e-05/41.17, allocations: 0 / 30.53 GB, free: 1.683 GB / 2.233 GB Notification: Performance of simCode: created simulation system equations: time 58.49/99.66, allocations: 28.59 GB / 59.12 GB, free: 2.219 GB / 2.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008732/99.67, allocations: 1.467 MB / 59.12 GB, free: 2.217 GB / 2.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09821/99.77, allocations: 64.42 MB / 59.19 GB, free: 2.155 GB / 2.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01607/99.78, allocations: 10.29 MB / 59.2 GB, free: 2.145 GB / 2.92 GB Notification: Performance of simCode: alias equations: time 0.01213/99.79, allocations: 4.364 MB / 59.2 GB, free: 2.14 GB / 2.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008846/99.8, allocations: 1.335 MB / 59.2 GB, free: 2.139 GB / 2.92 GB Notification: Performance of SimCode: time 1.382e-06/99.8, allocations: 0 / 59.2 GB, free: 2.139 GB / 2.92 GB Notification: Performance of Templates: time 0.429/100.2, allocations: 287.5 MB / 59.48 GB, free: 1.858 GB / 2.92 GB make -j1 -f Modelica_3.1_Modelica.Blocks.Examples.Rectifier12pulseFFT.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Blocks.Examples.Rectifier12pulseFFT.pipe ; mkfifo Modelica_3.1_Modelica.Blocks.Examples.Rectifier12pulseFFT.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Blocks.Examples.Rectifier12pulseFFT.pipe >> ../files/Modelica_3.1_Modelica.Blocks.Examples.Rectifier12pulseFFT.sim & ./Modelica_3.1_Modelica.Blocks.Examples.Rectifier12pulseFFT -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Blocks.Examples.Rectifier12pulseFFT.pipe 2>&1) Environment - environmentSimulation: