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.001204/0.001204, allocations: 182 kB / 13.64 MB, free: 1.676 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.375/1.375, allocations: 194.2 MB / 208.4 MB, free: 6.715 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.001617/0.001618, allocations: 116.8 kB / 253.5 MB, free: 9.578 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.618e-05/2.631e-05, allocations: 8 kB / 304.9 MB, free: 29.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07247/0.07251, allocations: 44.5 MB / 349.4 MB, free: 1.258 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2702/0.3427, allocations: 76.2 MB / 425.6 MB, free: 10.76 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001886/0.343, allocations: 80.7 kB / 425.7 MB, free: 10.74 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03579/0.3788, allocations: 16.42 MB / 442.1 MB, free: 4.184 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3788, allocations: 0 / 442.1 MB, free: 4.184 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.892e-05/0.3789, allocations: 24 kB / 442.2 MB, free: 4.16 MB / 298.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.001968/0.3809, allocations: 1.158 MB / 443.3 MB, free: 3.02 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.3809, allocations: 12.03 kB / 443.3 MB, free: 3.008 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002838/0.3812, allocations: 118.6 kB / 443.4 MB, free: 2.891 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001135/0.3823, allocations: 0.711 MB / 444.2 MB, free: 2.273 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.405e-05/0.3824, allocations: 68.62 kB / 444.2 MB, free: 2.238 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001313/0.3825, allocations: 86.72 kB / 444.3 MB, free: 2.18 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001512/0.384, allocations: 1.178 MB / 445.5 MB, free: 1.336 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.3841, allocations: 0 / 445.5 MB, free: 1.336 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.726e-05/0.3842, allocations: 35.62 kB / 445.5 MB, free: 1.328 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.386e-05/0.3842, allocations: 24 kB / 445.5 MB, free: 1.305 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001293/0.3855, allocations: 1.008 MB / 446.5 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005064/0.3905, allocations: 3.775 MB / 450.3 MB, free: 13.71 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001674/0.3922, allocations: 1.948 MB / 452.3 MB, free: 11.94 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00078/0.393, allocations: 0.6358 MB / 452.9 MB, free: 11.51 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.13e-05/0.3931, allocations: 8.781 kB / 452.9 MB, free: 11.5 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.3931, allocations: 50.11 kB / 453 MB, free: 11.45 MB / 314.7 MB Notification: Performance of pre-optimization done (n=71): time 2.175e-06/0.3931, allocations: 0 / 453 MB, free: 11.45 MB / 314.7 MB Notification: Performance of matching and sorting (n=72): time 0.003192/0.3963, allocations: 2.204 MB / 455.2 MB, free: 9.723 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/0.3964, allocations: 60.19 kB / 455.2 MB, free: 9.652 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000759/0.3972, allocations: 0.6053 MB / 455.8 MB, free: 9.18 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.943e-05/0.3972, allocations: 39.33 kB / 455.9 MB, free: 9.145 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002458/0.3975, allocations: 405 kB / 456.3 MB, free: 8.859 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001722/0.3977, allocations: 240.5 kB / 456.5 MB, free: 8.66 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.899e-05/0.3977, allocations: 15.56 kB / 456.5 MB, free: 8.656 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.3979, allocations: 382.6 kB / 456.9 MB, free: 8.301 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004355/0.3983, allocations: 344.2 kB / 457.2 MB, free: 8.078 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004593/0.3988, allocations: 403.1 kB / 457.6 MB, free: 7.801 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004628/0.3992, allocations: 374.5 kB / 458 MB, free: 7.551 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3992, allocations: 4 kB / 458 MB, free: 7.547 MB / 314.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001572/0.4008, allocations: 1.156 MB / 459.1 MB, free: 6.691 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.4009, allocations: 8 kB / 459.2 MB, free: 6.684 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.4009, allocations: 4.062 kB / 459.2 MB, free: 6.68 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001023/0.4019, allocations: 451 kB / 459.6 MB, free: 6.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004131/0.4023, allocations: 99.69 kB / 459.7 MB, free: 6.246 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008076/0.4104, allocations: 8.447 MB / 468.1 MB, free: 13.88 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005067/0.411, allocations: 36.25 kB / 468.2 MB, free: 13.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.296e-05/0.411, allocations: 24 kB / 468.2 MB, free: 13.82 MB / 330.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 () * 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.0001797/0.4112, allocations: 140.7 kB / 468.3 MB, free: 13.68 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001729/0.4114, allocations: 83.05 kB / 468.4 MB, free: 13.59 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002786/0.4117, allocations: 98.75 kB / 468.5 MB, free: 13.49 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.4117, allocations: 15.94 kB / 468.5 MB, free: 13.48 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.452e-05/0.4117, allocations: 4 kB / 468.5 MB, free: 13.47 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.4118, allocations: 3.984 kB / 468.5 MB, free: 13.47 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004065/0.4158, allocations: 2.452 MB / 471 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.197e-06/0.4158, allocations: 0 / 471 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003589/0.4162, allocations: 91.94 kB / 471.1 MB, free: 10.87 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009472/0.4172, allocations: 455 kB / 471.5 MB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.166e-05/0.4172, allocations: 12 kB / 471.5 MB, free: 10.4 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007583/0.4248, allocations: 8.373 MB / 479.9 MB, free: 1.488 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.4249, allocations: 4.547 kB / 479.9 MB, free: 1.484 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002453/0.4273, allocations: 1.81 MB / 481.7 MB, free: 15.63 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004693/0.4278, allocations: 236.1 kB / 482 MB, free: 15.38 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/0.4279, allocations: 20 kB / 482 MB, free: 15.36 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003784/0.4283, allocations: 35.95 kB / 482 MB, free: 15.32 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001707/0.4285, allocations: 72.45 kB / 482.1 MB, free: 15.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.863e-05/0.4285, allocations: 19.94 kB / 482.1 MB, free: 15.23 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006426/0.4292, allocations: 0.4936 MB / 482.6 MB, free: 14.74 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4292, allocations: 0 / 482.6 MB, free: 14.74 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001001/0.4302, allocations: 248 kB / 482.8 MB, free: 14.5 MB / 346.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 () * 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.0001687/0.4304, allocations: 115.1 kB / 482.9 MB, free: 14.38 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001913/0.4323, allocations: 1.437 MB / 484.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.4323, allocations: 0 / 484.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001323/0.4337, allocations: 1.06 MB / 485.4 MB, free: 11.78 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007848/0.4345, allocations: 196 kB / 485.6 MB, free: 11.59 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002928/0.4374, allocations: 1.81 MB / 487.4 MB, free: 9.746 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000825/0.4382, allocations: 1.255 MB / 488.7 MB, free: 8.461 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003143/0.4386, allocations: 130.2 kB / 488.8 MB, free: 8.332 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/0.4387, allocations: 51.42 kB / 488.9 MB, free: 8.281 MB / 346.7 MB Notification: Performance of SimCode: time 3.91e-07/0.4387, allocations: 0 / 488.9 MB, free: 8.281 MB / 346.7 MB Notification: Performance of Templates: time 0.02323/0.4619, allocations: 14.92 MB / 0.492 GB, free: 9.355 MB / 362.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)