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.001446/0.001446, allocations: 187.1 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.264/1.264, allocations: 194.3 MB / 203.1 MB, free: 9.328 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001639/0.001639, allocations: 127.1 kB / 248.1 MB, free: 6.32 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.61e-05/1.612e-05, allocations: 4 kB / 298.1 MB, free: 8.262 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.082/0.08203, allocations: 44.5 MB / 342.6 MB, free: 11.66 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2705/0.3526, allocations: 75.53 MB / 418.1 MB, free: 20.28 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001983/0.3528, allocations: 75.77 kB / 418.2 MB, free: 20.24 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.04023/0.393, allocations: 16.24 MB / 434.4 MB, free: 6.848 MB / 315.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3931, allocations: 0 / 434.4 MB, free: 6.848 MB / 315.1 MB Notification: Performance of Transformations before backend: time 9.94e-05/0.3932, allocations: 27.98 kB / 434.4 MB, free: 6.82 MB / 315.1 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.002443/0.3957, allocations: 1.158 MB / 435.6 MB, free: 5.68 MB / 315.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.3957, allocations: 8.031 kB / 435.6 MB, free: 5.672 MB / 315.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003491/0.3961, allocations: 122.6 kB / 435.7 MB, free: 5.551 MB / 315.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00134/0.3974, allocations: 0.7159 MB / 436.4 MB, free: 4.922 MB / 315.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.984e-05/0.3975, allocations: 24 kB / 436.5 MB, free: 4.898 MB / 315.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001573/0.3976, allocations: 59.84 kB / 436.5 MB, free: 4.84 MB / 315.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001486/0.3991, allocations: 0.9535 MB / 437.5 MB, free: 4.238 MB / 315.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001487/0.4006, allocations: 1.055 MB / 438.5 MB, free: 3.441 MB / 315.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.017e-05/0.4007, allocations: 0 / 438.5 MB, free: 3.441 MB / 315.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.205e-05/0.4008, allocations: 0 / 438.5 MB, free: 3.441 MB / 315.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.421e-05/0.4008, allocations: 20 kB / 438.5 MB, free: 3.422 MB / 315.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004756/0.4055, allocations: 3.61 MB / 442.2 MB, free: 0.5742 MB / 315.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001474/0.407, allocations: 1.924 MB / 444.1 MB, free: 14.83 MB / 331.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008037/0.4078, allocations: 0.6306 MB / 444.7 MB, free: 14.39 MB / 331.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.53e-05/0.4079, allocations: 8.781 kB / 444.7 MB, free: 14.38 MB / 331.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.4079, allocations: 39.09 kB / 444.8 MB, free: 14.34 MB / 331.1 MB Notification: Performance of pre-optimization done (n=71): time 1.954e-06/0.4079, allocations: 0 / 444.8 MB, free: 14.34 MB / 331.1 MB Notification: Performance of matching and sorting (n=72): time 0.003068/0.411, allocations: 2.077 MB / 446.8 MB, free: 12.68 MB / 331.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/0.4111, allocations: 60.19 kB / 446.9 MB, free: 12.61 MB / 331.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006551/0.4117, allocations: 0.5635 MB / 447.5 MB, free: 12.17 MB / 331.1 MB Notification: Performance of collectPreVariables (initialization): time 4.106e-05/0.4118, allocations: 33.7 kB / 447.5 MB, free: 12.13 MB / 331.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002236/0.412, allocations: 405.9 kB / 447.9 MB, free: 11.84 MB / 331.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001561/0.4122, allocations: 228.6 kB / 448.1 MB, free: 11.64 MB / 331.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.98e-05/0.4122, allocations: 3.938 kB / 448.1 MB, free: 11.64 MB / 331.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.4124, allocations: 385.3 kB / 448.5 MB, free: 11.28 MB / 331.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003836/0.4128, allocations: 326.9 kB / 448.8 MB, free: 11.07 MB / 331.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004106/0.4132, allocations: 376.7 kB / 449.2 MB, free: 10.82 MB / 331.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004287/0.4136, allocations: 369.8 kB / 449.5 MB, free: 10.58 MB / 331.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.4136, allocations: 0 / 449.5 MB, free: 10.58 MB / 331.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001503/0.4151, allocations: 1.096 MB / 450.6 MB, free: 9.754 MB / 331.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.4152, allocations: 4 kB / 450.6 MB, free: 9.75 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.4152, allocations: 4 kB / 450.6 MB, free: 9.746 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009419/0.4161, allocations: 443.8 kB / 451.1 MB, free: 9.414 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004009/0.4165, allocations: 99.19 kB / 451.2 MB, free: 9.32 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007673/0.4242, allocations: 8.175 MB / 459.3 MB, free: 1.723 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00036/0.4246, allocations: 23.91 kB / 459.4 MB, free: 1.699 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-05/0.4247, allocations: 20 kB / 459.4 MB, free: 1.68 MB / 331.1 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.000153/0.4248, allocations: 120.7 kB / 459.5 MB, free: 1.555 MB / 331.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.425, allocations: 79.12 kB / 459.6 MB, free: 1.477 MB / 331.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002122/0.4252, allocations: 90.91 kB / 459.7 MB, free: 1.387 MB / 331.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.4252, allocations: 12.52 kB / 459.7 MB, free: 1.375 MB / 331.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.4252, allocations: 4 kB / 459.7 MB, free: 1.371 MB / 331.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.4252, allocations: 3.984 kB / 459.7 MB, free: 1.367 MB / 331.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003506/0.4287, allocations: 2.262 MB / 462 MB, free: 15.04 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/0.4287, allocations: 0 / 462 MB, free: 15.04 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003643/0.4291, allocations: 83.84 kB / 462 MB, free: 14.96 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008564/0.43, allocations: 447 kB / 462.5 MB, free: 14.51 MB / 347.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.728e-05/0.4301, allocations: 11.92 kB / 462.5 MB, free: 14.5 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007416/0.4375, allocations: 8.091 MB / 470.6 MB, free: 5.941 MB / 347.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.838e-06/0.4375, allocations: 0 / 470.6 MB, free: 5.941 MB / 347.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002209/0.4397, allocations: 1.744 MB / 472.3 MB, free: 4.148 MB / 347.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000389/0.4401, allocations: 228.2 kB / 472.5 MB, free: 3.906 MB / 347.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/0.4403, allocations: 7.984 kB / 472.6 MB, free: 3.898 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003676/0.4406, allocations: 27.97 kB / 472.6 MB, free: 3.871 MB / 347.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001786/0.4408, allocations: 68.45 kB / 472.6 MB, free: 3.805 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.854e-05/0.4409, allocations: 16 kB / 472.7 MB, free: 3.789 MB / 347.1 MB Notification: Performance of sorting global known variables: time 0.0005914/0.4415, allocations: 454.8 kB / 473.1 MB, free: 3.348 MB / 347.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4415, allocations: 0 / 473.1 MB, free: 3.348 MB / 347.1 MB Notification: Performance of remove unused functions: time 0.001109/0.4426, allocations: 224 kB / 473.3 MB, free: 3.129 MB / 347.1 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.00019/0.4428, allocations: 111.1 kB / 473.4 MB, free: 3.012 MB / 347.1 MB Notification: Performance of simCode: created initialization part: time 0.001905/0.4447, allocations: 1.359 MB / 474.8 MB, free: 1.609 MB / 347.1 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.4447, allocations: 4 kB / 474.8 MB, free: 1.605 MB / 347.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001293/0.446, allocations: 1.016 MB / 475.8 MB, free: 0.5508 MB / 347.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007975/0.4468, allocations: 166 kB / 476 MB, free: 400 kB / 347.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003163/0.45, allocations: 1.772 MB / 477.7 MB, free: 14.58 MB / 363.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001012/0.451, allocations: 1.26 MB / 479 MB, free: 13.29 MB / 363.1 MB Notification: Performance of simCode: alias equations: time 0.0003263/0.4514, allocations: 122 kB / 479.1 MB, free: 13.17 MB / 363.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001215/0.4515, allocations: 47.38 kB / 479.2 MB, free: 13.12 MB / 363.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4515, allocations: 0 / 479.2 MB, free: 13.12 MB / 363.1 MB Notification: Performance of Templates: time 0.02374/0.4753, allocations: 13.22 MB / 492.4 MB, free: 15.94 MB / 379.1 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)