Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.MultiPhase.Examples.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.Rectifier") translateModel(Modelica.Electrical.MultiPhase.Examples.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001217/0.001217, allocations: 179.6 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.223/1.223, allocations: 194.5 MB / 211.6 MB, free: 3.043 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001642/0.001642, allocations: 115.8 kB / 256.9 MB, free: 4.348 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003324/0.0003325, allocations: 8 kB / 310.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0792/0.07955, allocations: 44.49 MB / 355.1 MB, free: 2.355 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2292/0.3088, allocations: 76.29 MB / 431.3 MB, free: 13.34 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001966/0.3091, allocations: 80.84 kB / 431.4 MB, free: 13.3 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03435/0.3434, allocations: 16.37 MB / 447.8 MB, free: 15.47 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.056e-06/0.3435, allocations: 7.875 kB / 447.8 MB, free: 15.46 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.317e-05/0.3436, allocations: 27.98 kB / 447.8 MB, free: 15.44 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.002383/0.346, allocations: 1.281 MB / 449.1 MB, free: 14.11 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.346, allocations: 8.031 kB / 449.1 MB, free: 14.1 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001847/0.3462, allocations: 118.6 kB / 449.2 MB, free: 13.98 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001168/0.3474, allocations: 0.7206 MB / 449.9 MB, free: 13.21 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.241e-05/0.3474, allocations: 66 kB / 450 MB, free: 13.15 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001234/0.3476, allocations: 87.94 kB / 450.1 MB, free: 13.06 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001682/0.3493, allocations: 1.209 MB / 451.3 MB, free: 11.8 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.984e-05/0.3493, allocations: 8 kB / 451.3 MB, free: 11.8 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.166e-05/0.3494, allocations: 36 kB / 451.3 MB, free: 11.76 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.351e-05/0.3494, allocations: 20 kB / 451.4 MB, free: 11.74 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001541/0.351, allocations: 1.058 MB / 452.4 MB, free: 10.69 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005019/0.356, allocations: 3.775 MB / 456.2 MB, free: 6.82 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001674/0.3577, allocations: 1.98 MB / 458.2 MB, free: 4.605 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.65e-05/0.3577, allocations: 8.656 kB / 458.2 MB, free: 4.598 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/0.3578, allocations: 39.16 kB / 458.2 MB, free: 4.551 MB / 330.7 MB Notification: Performance of pre-optimization done (n=71): time 2.705e-06/0.3578, allocations: 0 / 458.2 MB, free: 4.551 MB / 330.7 MB Notification: Performance of matching and sorting (n=72): time 0.005327/0.3631, allocations: 3.248 MB / 461.5 MB, free: 1.184 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.533e-05/0.3632, allocations: 60.06 kB / 461.5 MB, free: 1.113 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006802/0.3638, allocations: 0.6154 MB / 462.1 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.55e-05/0.3639, allocations: 37.7 kB / 462.2 MB, free: 460 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002475/0.3641, allocations: 404.1 kB / 462.6 MB, free: 48 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001807/0.3643, allocations: 244.5 kB / 462.8 MB, free: 15.8 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.078e-05/0.3644, allocations: 16 kB / 462.8 MB, free: 15.79 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.3645, allocations: 382.8 kB / 463.2 MB, free: 15.4 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005005/0.365, allocations: 365 kB / 463.6 MB, free: 15.05 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005591/0.3656, allocations: 429.3 kB / 464 MB, free: 14.62 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005256/0.3661, allocations: 391 kB / 464.4 MB, free: 14.24 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.3662, allocations: 0 / 464.4 MB, free: 14.24 MB / 346.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001669/0.3678, allocations: 1.206 MB / 465.6 MB, free: 13.01 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.3679, allocations: 8 kB / 465.6 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.3679, allocations: 0 / 465.6 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000939/0.3688, allocations: 474.9 kB / 466 MB, free: 12.53 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003706/0.3692, allocations: 87.88 kB / 466.1 MB, free: 12.44 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007606/0.3768, allocations: 8.593 MB / 474.7 MB, free: 3.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000416/0.3773, allocations: 39.98 kB / 474.8 MB, free: 3.281 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.49e-05/0.3773, allocations: 16 kB / 474.8 MB, free: 3.266 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * 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 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0006595/0.378, allocations: 397.5 kB / 475.2 MB, free: 2.867 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.3781, allocations: 83.16 kB / 475.2 MB, free: 2.785 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001879/0.3783, allocations: 102.8 kB / 475.3 MB, free: 2.68 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.688e-06/0.3783, allocations: 4 kB / 475.3 MB, free: 2.676 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/0.3783, allocations: 4 kB / 475.4 MB, free: 2.672 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.3783, allocations: 3.984 kB / 475.4 MB, free: 2.668 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003675/0.382, allocations: 2.504 MB / 477.9 MB, free: 92 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.382, allocations: 0 / 477.9 MB, free: 92 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003497/0.3824, allocations: 83.95 kB / 477.9 MB, free: 8 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008939/0.3833, allocations: 455.3 kB / 478.4 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.436e-05/0.3834, allocations: 19.98 kB / 478.4 MB, free: 15.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007386/0.3907, allocations: 8.523 MB / 486.9 MB, free: 6.469 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3908, allocations: 0 / 486.9 MB, free: 6.469 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002395/0.3932, allocations: 1.881 MB / 488.8 MB, free: 4.543 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000383/0.3936, allocations: 232.2 kB / 489 MB, free: 4.297 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.809e-05/0.3937, allocations: 16 kB / 489 MB, free: 4.281 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003308/0.394, allocations: 39.97 kB / 489.1 MB, free: 4.242 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001647/0.3942, allocations: 76.44 kB / 489.2 MB, free: 4.168 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.752e-05/0.3942, allocations: 16 kB / 489.2 MB, free: 4.152 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005633/0.3948, allocations: 0.4948 MB / 489.7 MB, free: 3.66 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3948, allocations: 0 / 489.7 MB, free: 3.66 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009636/0.3958, allocations: 248 kB / 489.9 MB, free: 3.418 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (supplyL.inductor[2].i,supplyL.inductor[3].i,cDC1.v,cDC2.v) * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * 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 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001618/0.3959, allocations: 129 kB / 490 MB, free: 3.285 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001894/0.3978, allocations: 1.488 MB / 491.5 MB, free: 1.746 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3978, allocations: 0 / 491.5 MB, free: 1.746 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00124/0.3991, allocations: 1.092 MB / 492.6 MB, free: 0.5977 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007194/0.3998, allocations: 193.8 kB / 492.8 MB, free: 428 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003399/0.4032, allocations: 2.635 MB / 495.4 MB, free: 13.75 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007812/0.404, allocations: 1.255 MB / 496.7 MB, free: 12.47 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003156/0.4043, allocations: 122.3 kB / 496.8 MB, free: 12.35 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/0.4045, allocations: 47.44 kB / 496.9 MB, free: 12.3 MB / 378.7 MB Notification: Performance of SimCode: time 8.72e-07/0.4045, allocations: 0 / 496.9 MB, free: 12.3 MB / 378.7 MB Notification: Performance of Templates: time 0.02082/0.4253, allocations: 14.92 MB / 0.4998 GB, free: 13.39 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.Rectifier.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.Rectifier.sim & ./Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe 2>&1)