Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2.2_Modelica.Blocks.Examples.Rectifier12pulseFFT") translateModel(Modelica.Blocks.Examples.Rectifier12pulseFFT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001093/0.001093, allocations: 90.61 kB / 16.3 MB, free: 6.133 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.00117/0.001171, allocations: 184 kB / 17.2 MB, free: 6.016 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.471/1.471, allocations: 205.4 MB / 223.4 MB, free: 13.18 MB / 190.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.0006558/0.0006562, allocations: 12 kB / 280.1 MB, free: 3.75 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1063, allocations: 47.58 MB / 327.7 MB, free: 4.105 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Rectifier12pulseFFT): time 0.009139/0.1155, allocations: 8.786 MB / 336.5 MB, free: 11.28 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008479/0.124, allocations: 3.801 MB / 340.3 MB, free: 7.473 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002373/0.1264, allocations: 67.56 kB / 340.3 MB, free: 7.406 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002355/0.1288, allocations: 0.6452 MB / 341 MB, free: 6.758 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003925/0.1328, allocations: 1.54 MB / 342.5 MB, free: 5.215 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001637/0.1344, allocations: 475.2 kB / 343 MB, free: 4.75 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.006085/0.1405, allocations: 3.502 MB / 346.5 MB, free: 1.242 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003729/0.1442, allocations: 2.886 MB / 349.4 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003442/0.1477, allocations: 2.073 MB / 351.5 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004363/0.1521, allocations: 2.551 MB / 354 MB, free: 9.664 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007285/0.1528, allocations: 283.9 kB / 354.3 MB, free: 9.387 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001751/0.1546, allocations: 0.523 MB / 354.8 MB, free: 8.863 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003542/0.1581, allocations: 4.814 MB / 359.6 MB, free: 4.035 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002929/0.1611, allocations: 2.559 MB / 362.2 MB, free: 1.461 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01218/0.1733, allocations: 12.38 MB / 374.6 MB, free: 5.043 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.1733, allocations: 0 / 374.6 MB, free: 5.043 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.975e-06/0.1733, allocations: 0 / 374.6 MB, free: 5.043 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0005105/0.1739, allocations: 3.844 kB / 374.6 MB, free: 5.043 MB / 318.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.4086/0.5825, allocations: 16.88 MB / 391.4 MB, free: 37.55 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.5825, allocations: 9.625 kB / 391.4 MB, free: 37.55 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006239/0.5888, allocations: 1.721 MB / 393.2 MB, free: 36.56 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009752/0.5986, allocations: 3.933 MB / 397.1 MB, free: 33.84 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001929/0.5988, allocations: 293.9 kB / 397.4 MB, free: 33.71 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006018/0.5994, allocations: 387.6 kB / 397.8 MB, free: 33.37 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03533/0.6347, allocations: 29.51 MB / 427.3 MB, free: 3.789 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.414e-05/0.6349, allocations: 0 / 427.3 MB, free: 3.789 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003995/0.6353, allocations: 163 kB / 427.4 MB, free: 3.633 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001687/0.6355, allocations: 208 kB / 427.6 MB, free: 3.426 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03144/0.6669, allocations: 26.69 MB / 454.3 MB, free: 8.711 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03989/0.7068, allocations: 22.28 MB / 476.6 MB, free: 2.359 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2626/0.9695, allocations: 85.78 MB / 0.5492 GB, free: 123.5 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000396/0.9699, allocations: 139.3 kB / 0.5493 GB, free: 123.4 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02767/0.9976, allocations: 30.64 MB / 0.5793 GB, free: 108.5 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5058): time 4.919e-06/0.9976, allocations: 0 / 0.5793 GB, free: 108.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=5065): time 12.66/13.66, allocations: 2.905 GB / 3.485 GB, free: 1.594 GB / 1.904 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003741/13.67, allocations: 7.361 MB / 3.492 GB, free: 1.587 GB / 1.904 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003571/13.67, allocations: 2.637 MB / 3.494 GB, free: 1.585 GB / 1.904 GB Notification: Performance of collectPreVariables (initialization): time 0.004386/13.67, allocations: 3.948 MB / 3.498 GB, free: 1.581 GB / 1.904 GB Notification: Performance of collectInitialEqns (initialization): time 0.001549/13.68, allocations: 1.741 MB / 3.5 GB, free: 1.579 GB / 1.904 GB Notification: Performance of collectInitialBindings (initialization): time 0.02113/13.7, allocations: 21.63 MB / 3.521 GB, free: 1.558 GB / 1.904 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004826/13.7, allocations: 1.516 MB / 3.522 GB, free: 1.557 GB / 1.904 GB Notification: Performance of setup shared object (initialization): time 0.005312/13.71, allocations: 3.504 MB / 3.526 GB, free: 1.553 GB / 1.904 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04296/13.75, allocations: 26.86 MB / 3.552 GB, free: 1.527 GB / 1.904 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.06255/13.81, allocations: 58.47 MB / 3.609 GB, free: 1.455 GB / 1.904 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05279/13.86, allocations: 38.5 MB / 3.647 GB, free: 1.418 GB / 1.904 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.001627/13.87, allocations: 304 kB / 3.647 GB, free: 1.418 GB / 1.904 GB Notification: Performance of matching and sorting (n=9917) (initialization): time 0.1518/14.02, allocations: 87.73 MB / 3.733 GB, free: 1.332 GB / 1.904 GB Notification: Performance of prepare postOptimizeDAE: time 0.00291/14.02, allocations: 485.7 kB / 3.733 GB, free: 1.331 GB / 1.904 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003623/14.02, allocations: 1.035 MB / 3.734 GB, free: 1.33 GB / 1.904 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01028/14.04, allocations: 3.27 MB / 3.737 GB, free: 1.327 GB / 1.904 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03688/14.07, allocations: 10.72 MB / 3.748 GB, free: 1.317 GB / 1.904 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02536/14.1, allocations: 26.01 MB / 3.773 GB, free: 1.29 GB / 1.904 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03114/14.13, allocations: 2.496 MB / 3.776 GB, free: 1.287 GB / 1.904 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007825/14.14, allocations: 3.598 MB / 3.779 GB, free: 1.284 GB / 1.904 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.02831/14.16, allocations: 15.08 MB / 3.794 GB, free: 1.269 GB / 1.904 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005127/14.17, allocations: 2.346 MB / 3.796 GB, free: 1.267 GB / 1.904 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.595/21.76, allocations: 8.844 GB / 12.64 GB, free: 231.3 MB / 1.904 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.621e-05/21.76, allocations: 26.16 kB / 12.64 GB, free: 231.3 MB / 1.904 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-05/21.77, allocations: 12 kB / 12.64 GB, free: 231.3 MB / 1.904 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.258e-05/21.77, allocations: 17.11 kB / 12.64 GB, free: 231.2 MB / 1.904 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.637/30.4, allocations: 8.865 GB / 21.5 GB, free: 0.7075 GB / 1.904 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.767e-05/30.4, allocations: 4.531 kB / 21.5 GB, free: 0.7075 GB / 1.904 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001375/30.4, allocations: 293.9 kB / 21.51 GB, free: 0.7072 GB / 1.904 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005004/30.41, allocations: 1.618 MB / 21.51 GB, free: 0.7056 GB / 1.904 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003196/30.41, allocations: 0.6585 MB / 21.51 GB, free: 0.705 GB / 1.904 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01948/30.43, allocations: 23.63 MB / 21.53 GB, free: 0.681 GB / 1.904 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/30.43, allocations: 3.953 kB / 21.53 GB, free: 0.681 GB / 1.904 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.677/39.11, allocations: 8.898 GB / 30.43 GB, free: 1.13 GB / 1.904 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0145/39.12, allocations: 5.086 MB / 30.43 GB, free: 1.126 GB / 1.904 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003766/39.13, allocations: 0.6445 MB / 30.43 GB, free: 1.126 GB / 1.904 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008411/39.13, allocations: 0.7334 MB / 30.43 GB, free: 1.125 GB / 1.904 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004348/39.14, allocations: 0.6483 MB / 30.44 GB, free: 1.124 GB / 1.904 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002111/39.14, allocations: 0.6538 MB / 30.44 GB, free: 1.124 GB / 1.904 GB Notification: Performance of sorting global known variables: time 0.002762/39.14, allocations: 1.837 MB / 30.44 GB, free: 1.122 GB / 1.904 GB Notification: Performance of sort global known variables: time 5.01e-07/39.14, allocations: 0 / 30.44 GB, free: 1.122 GB / 1.904 GB Notification: Performance of remove unused functions: time 0.04632/39.19, allocations: 9.964 MB / 30.45 GB, free: 1.112 GB / 1.904 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.00494/39.2, allocations: 0.9882 MB / 30.45 GB, free: 1.111 GB / 1.904 GB Notification: Performance of simCode: created initialization part: time 0.1066/39.3, allocations: 84.23 MB / 30.53 GB, free: 1.029 GB / 1.904 GB Notification: Performance of simCode: created event and clocks part: time 1.52e-05/39.3, allocations: 8.828 kB / 30.53 GB, free: 1.029 GB / 1.904 GB Notification: Performance of simCode: created simulation system equations: time 58.76/98.06, allocations: 28.59 GB / 59.12 GB, free: 1.621 GB / 2.373 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01014/98.07, allocations: 1.479 MB / 59.12 GB, free: 1.62 GB / 2.373 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09112/98.16, allocations: 64.42 MB / 59.19 GB, free: 1.557 GB / 2.373 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01372/98.18, allocations: 10.28 MB / 59.2 GB, free: 1.547 GB / 2.373 GB Notification: Performance of simCode: alias equations: time 0.008134/98.18, allocations: 4.359 MB / 59.2 GB, free: 1.543 GB / 2.373 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00544/98.19, allocations: 1.339 MB / 59.2 GB, free: 1.542 GB / 2.373 GB Notification: Performance of SimCode: time 9.22e-07/98.19, allocations: 0 / 59.2 GB, free: 1.542 GB / 2.373 GB Notification: Performance of Templates: time 0.3739/98.56, allocations: 287.5 MB / 59.48 GB, free: 1.261 GB / 2.373 GB make -j1 -f Modelica_3.2.2_Modelica.Blocks.Examples.Rectifier12pulseFFT.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Blocks.Examples.Rectifier12pulseFFT.pipe ; mkfifo Modelica_3.2.2_Modelica.Blocks.Examples.Rectifier12pulseFFT.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Blocks.Examples.Rectifier12pulseFFT.pipe >> ../files/Modelica_3.2.2_Modelica.Blocks.Examples.Rectifier12pulseFFT.sim & ./Modelica_3.2.2_Modelica.Blocks.Examples.Rectifier12pulseFFT -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Blocks.Examples.Rectifier12pulseFFT.pipe 2>&1) Environment - environmentSimulation: