Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.MultiPhase.Examples.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.Rectifier") translateModel(Modelica.Electrical.MultiPhase.Examples.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001199/0.001199, allocations: 170 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.543/1.543, allocations: 170.6 MB / 183.8 MB, free: 11.42 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001644/0.001644, allocations: 107.5 kB / 223.2 MB, free: 4.043 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.235e-05/3.245e-05, allocations: 0 / 268.8 MB, free: 20.93 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07419/0.07424, allocations: 38.78 MB / 307.6 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2656/0.3399, allocations: 70.89 MB / 378.5 MB, free: 5.395 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001573/0.3401, allocations: 69.45 kB / 378.6 MB, free: 5.359 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04021/0.3803, allocations: 16.06 MB / 394.6 MB, free: 7.758 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.3803, allocations: 3.938 kB / 394.6 MB, free: 7.754 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.846e-05/0.3804, allocations: 31.92 kB / 394.7 MB, free: 7.723 MB / 282.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.001924/0.3823, allocations: 1.153 MB / 395.8 MB, free: 6.582 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.3824, allocations: 8.031 kB / 395.8 MB, free: 6.574 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001998/0.3826, allocations: 122.6 kB / 396 MB, free: 6.453 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001025/0.3836, allocations: 0.7226 MB / 396.7 MB, free: 5.82 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.178e-05/0.3837, allocations: 70.83 kB / 396.8 MB, free: 5.781 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001337/0.3838, allocations: 87.59 kB / 396.8 MB, free: 5.723 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001681/0.3855, allocations: 1.175 MB / 398 MB, free: 4.883 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.3855, allocations: 0 / 398 MB, free: 4.883 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.052e-05/0.3856, allocations: 36.88 kB / 398 MB, free: 4.875 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.682e-05/0.3857, allocations: 24 kB / 398.1 MB, free: 4.852 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001391/0.3871, allocations: 1.007 MB / 399.1 MB, free: 4.199 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005267/0.3923, allocations: 3.779 MB / 402.9 MB, free: 1.227 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001699/0.3941, allocations: 1.939 MB / 404.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007688/0.3948, allocations: 0.6291 MB / 405.4 MB, free: 15.03 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.388e-05/0.3949, allocations: 8.781 kB / 405.4 MB, free: 15.02 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/0.3949, allocations: 41.34 kB / 405.5 MB, free: 14.98 MB / 298.7 MB Notification: Performance of pre-optimization done (n=71): time 3.577e-06/0.3949, allocations: 0 / 405.5 MB, free: 14.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=72): time 0.00328/0.3982, allocations: 2.208 MB / 407.7 MB, free: 13.25 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/0.3983, allocations: 64.12 kB / 407.7 MB, free: 13.17 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007719/0.3991, allocations: 0.6312 MB / 408.4 MB, free: 12.68 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.629e-05/0.3991, allocations: 33.02 kB / 408.4 MB, free: 12.64 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002364/0.3994, allocations: 403.6 kB / 408.8 MB, free: 12.36 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001712/0.3996, allocations: 251.2 kB / 409 MB, free: 12.14 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.063e-05/0.3996, allocations: 14.12 kB / 409.1 MB, free: 12.14 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.3998, allocations: 383.1 kB / 409.4 MB, free: 11.79 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004412/0.4002, allocations: 340.9 kB / 409.8 MB, free: 11.56 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004935/0.4007, allocations: 395 kB / 410.2 MB, free: 11.17 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000528/0.4013, allocations: 373.9 kB / 410.5 MB, free: 10.8 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4013, allocations: 4 kB / 410.5 MB, free: 10.8 MB / 298.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001685/0.403, allocations: 1.162 MB / 411.7 MB, free: 9.617 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.403, allocations: 7.938 kB / 411.7 MB, free: 9.609 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.403, allocations: 4.062 kB / 411.7 MB, free: 9.605 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001016/0.404, allocations: 462.9 kB / 412.2 MB, free: 9.141 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004139/0.4045, allocations: 99.88 kB / 412.2 MB, free: 9.043 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008663/0.4131, allocations: 8.451 MB / 420.7 MB, free: 48 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000614/0.4138, allocations: 36.22 kB / 420.7 MB, free: 12 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.815e-05/0.4139, allocations: 20.05 kB / 420.8 MB, free: 15.99 MB / 314.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.0001971/0.4141, allocations: 148.8 kB / 420.9 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000119/0.4142, allocations: 71.16 kB / 421 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002766/0.4145, allocations: 106.9 kB / 421.1 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.4145, allocations: 15.94 kB / 421.1 MB, free: 15.65 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/0.4145, allocations: 0 / 421.1 MB, free: 15.65 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.4145, allocations: 3.984 kB / 421.1 MB, free: 15.64 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003719/0.4182, allocations: 2.457 MB / 423.5 MB, free: 13.12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.199e-06/0.4183, allocations: 3.984 kB / 423.6 MB, free: 13.11 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003625/0.4186, allocations: 83.95 kB / 423.6 MB, free: 13.03 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000931/0.4196, allocations: 451.3 kB / 424.1 MB, free: 12.58 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.834e-05/0.4197, allocations: 19.98 kB / 424.1 MB, free: 12.56 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007883/0.4275, allocations: 8.361 MB / 432.5 MB, free: 3.656 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.4276, allocations: 0 / 432.5 MB, free: 3.656 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002534/0.4301, allocations: 1.818 MB / 434.3 MB, free: 1.789 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004417/0.4306, allocations: 244.1 kB / 434.5 MB, free: 1.531 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.36e-05/0.4307, allocations: 12 kB / 434.5 MB, free: 1.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003542/0.431, allocations: 39.95 kB / 434.6 MB, free: 1.48 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001895/0.4312, allocations: 80.39 kB / 434.6 MB, free: 1.402 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.901e-05/0.4313, allocations: 16 kB / 434.7 MB, free: 1.387 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006281/0.4319, allocations: 0.503 MB / 435.2 MB, free: 0.8867 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4319, allocations: 0 / 435.2 MB, free: 0.8867 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001059/0.433, allocations: 252 kB / 435.4 MB, free: 0.6406 MB / 314.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.0001873/0.4332, allocations: 123.2 kB / 435.5 MB, free: 0.5078 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001882/0.4351, allocations: 1.43 MB / 437 MB, free: 15.02 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.4351, allocations: 4 kB / 437 MB, free: 15.02 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001281/0.4364, allocations: 1.06 MB / 438 MB, free: 13.91 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008584/0.4373, allocations: 197.9 kB / 438.2 MB, free: 13.72 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002931/0.4402, allocations: 1.814 MB / 440 MB, free: 11.88 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009252/0.4411, allocations: 1.259 MB / 441.3 MB, free: 10.59 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003582/0.4415, allocations: 122.3 kB / 441.4 MB, free: 10.47 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/0.4416, allocations: 43.44 kB / 441.4 MB, free: 10.43 MB / 330.7 MB Notification: Performance of SimCode: time 6.31e-07/0.4416, allocations: 11.88 kB / 441.5 MB, free: 10.41 MB / 330.7 MB Notification: Performance of Templates: time 0.02338/0.465, allocations: 14.9 MB / 456.4 MB, free: 11.49 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.Rectifier.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.Rectifier.sim & ./Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe 2>&1)