Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.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.QuasiStationary.SinglePhase.Examples.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00927/0.00927, allocations: 166.5 kB / 15.11 MB, free: 5.969 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.423/1.423, allocations: 170.8 MB / 186.6 MB, free: 0.9688 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.001957/0.001957, allocations: 114.6 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004446/0.0004446, allocations: 12 kB / 274.1 MB, free: 10.06 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2425/0.243, allocations: 38.76 MB / 312.9 MB, free: 38.94 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0959/0.339, allocations: 75.67 MB / 388.6 MB, free: 14.84 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003288/0.3394, allocations: 83.95 kB / 388.6 MB, free: 14.75 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05093/0.3903, allocations: 19.67 MB / 408.3 MB, free: 10.91 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.3904, allocations: 0 / 408.3 MB, free: 10.91 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.799e-05/0.3904, allocations: 23.94 kB / 408.3 MB, free: 10.88 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.003041/0.3935, allocations: 1.158 MB / 409.5 MB, free: 9.672 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.3935, allocations: 8.031 kB / 409.5 MB, free: 9.664 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000566/0.3941, allocations: 142.7 kB / 409.6 MB, free: 9.523 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008502/0.395, allocations: 0.4906 MB / 410.1 MB, free: 8.992 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.128e-05/0.3951, allocations: 73.94 kB / 410.2 MB, free: 8.922 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001494/0.3952, allocations: 95.97 kB / 410.3 MB, free: 8.828 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001625/0.3969, allocations: 0.8987 MB / 411.2 MB, free: 7.902 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.754e-05/0.3969, allocations: 4 kB / 411.2 MB, free: 7.898 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.815e-05/0.397, allocations: 47.94 kB / 411.3 MB, free: 7.852 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.855e-05/0.397, allocations: 23.94 kB / 411.3 MB, free: 7.828 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001367/0.3984, allocations: 0.7105 MB / 412 MB, free: 7.121 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004856/0.4033, allocations: 3.252 MB / 415.2 MB, free: 3.727 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001406/0.4047, allocations: 0.9282 MB / 416.2 MB, free: 2.73 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.923e-05/0.4048, allocations: 4.562 kB / 416.2 MB, free: 2.727 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007807/0.4055, allocations: 445.8 kB / 416.6 MB, free: 2.262 MB / 314.7 MB Notification: Performance of pre-optimization done (n=69): time 2.364e-06/0.4056, allocations: 0 / 416.6 MB, free: 2.262 MB / 314.7 MB Notification: Performance of matching and sorting (n=69): time 0.004204/0.4098, allocations: 1.542 MB / 418.2 MB, free: 0.668 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001201/0.4099, allocations: 200.5 kB / 418.3 MB, free: 440 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004968/0.4104, allocations: 381 kB / 418.7 MB, free: 52 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.99e-05/0.4105, allocations: 45.69 kB / 418.8 MB, free: 0 / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1635/0.574, allocations: 381 kB / 419.1 MB, free: 80.73 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003118/0.5744, allocations: 223.8 kB / 419.4 MB, free: 80.61 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.044e-05/0.5744, allocations: 15.03 kB / 419.4 MB, free: 80.61 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.5746, allocations: 369.6 kB / 419.7 MB, free: 80.3 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006/0.5752, allocations: 234 kB / 420 MB, free: 80.3 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007346/0.5759, allocations: 442.5 kB / 420.4 MB, free: 80.07 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006429/0.5766, allocations: 276 kB / 420.7 MB, free: 80.07 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.805e-06/0.5766, allocations: 2 kB / 420.7 MB, free: 80.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001908/0.5785, allocations: 0.9229 MB / 421.6 MB, free: 79.98 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.5785, allocations: 6.875 kB / 421.6 MB, free: 79.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/0.5786, allocations: 5.5 kB / 421.6 MB, free: 79.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008603/0.5794, allocations: 270.7 kB / 421.9 MB, free: 79.96 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004567/0.5799, allocations: 118.9 kB / 422 MB, free: 79.96 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005021/0.5849, allocations: 4.461 MB / 426.4 MB, free: 77.24 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007591/0.5857, allocations: 98.8 kB / 426.5 MB, free: 77.22 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.213e-05/0.5858, allocations: 30.5 kB / 426.6 MB, free: 77.22 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.iDC2.mean.y,iDC2.mean.y,$PRE.iAC.mean1.y,iAC.mean1.y,$PRE.iAC.mean2.y,iAC.mean2.y,rectifierAC.idealDiode1.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode4.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 63 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 17,2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0004882/0.5863, allocations: 245.1 kB / 426.8 MB, free: 77.1 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001402/0.5865, allocations: 64.91 kB / 426.9 MB, free: 77.07 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00178/0.5882, allocations: 0.8496 MB / 427.7 MB, free: 76.98 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/0.5883, allocations: 16.95 kB / 427.7 MB, free: 76.98 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.5883, allocations: 0 / 427.7 MB, free: 76.98 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.333e-06/0.5883, allocations: 1.25 kB / 427.7 MB, free: 76.98 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002889/0.5912, allocations: 1.667 MB / 429.4 MB, free: 76.64 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.5912, allocations: 2.281 kB / 429.4 MB, free: 76.64 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003776/0.5916, allocations: 75.06 kB / 429.5 MB, free: 76.64 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008131/0.5924, allocations: 259.4 kB / 429.7 MB, free: 76.62 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.543e-05/0.5925, allocations: 13.41 kB / 429.7 MB, free: 76.62 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004807/0.5973, allocations: 4.442 MB / 434.2 MB, free: 73.48 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.5973, allocations: 0 / 434.2 MB, free: 73.48 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001948/0.5993, allocations: 1.223 MB / 435.4 MB, free: 72.9 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002424/0.5995, allocations: 196.2 kB / 435.6 MB, free: 72.74 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.299e-05/0.5996, allocations: 16.66 kB / 435.6 MB, free: 72.73 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003945/0.6, allocations: 53.66 kB / 435.7 MB, free: 72.71 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001364/0.6002, allocations: 59.81 kB / 435.7 MB, free: 72.7 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.631e-05/0.6002, allocations: 19.56 kB / 435.7 MB, free: 72.7 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002897/0.6005, allocations: 297.3 kB / 436 MB, free: 72.55 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6005, allocations: 4 kB / 436 MB, free: 72.55 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009579/0.6015, allocations: 285.6 kB / 436.3 MB, free: 72.47 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (voltageQS.pin_p.reference.gamma,iAC.mean1.x,iAC.mean2.x,iDC2.mean.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,iAC.mean1.y,iAC.mean2.y,rectifierAC.idealDiode1.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode4.off,iDC2.mean.y) * Number of discrete states: 3 (iAC.mean1.x,iAC.mean2.x,iDC2.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,4 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002382/0.6017, allocations: 145.8 kB / 436.5 MB, free: 72.37 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001445/0.6032, allocations: 0.9754 MB / 437.4 MB, free: 71.88 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.6032, allocations: 0 / 437.4 MB, free: 71.88 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008055/0.604, allocations: 0.6801 MB / 438.1 MB, free: 71.48 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004262/0.6044, allocations: 93.3 kB / 438.2 MB, free: 71.44 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002094/0.6065, allocations: 1.802 MB / 440 MB, free: 70.35 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/0.6069, allocations: 0.986 MB / 441 MB, free: 69.63 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002504/0.6071, allocations: 58.7 kB / 441.1 MB, free: 69.62 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.847e-05/0.6072, allocations: 35.41 kB / 441.1 MB, free: 69.61 MB / 314.7 MB Notification: Performance of SimCode: time 3.11e-07/0.6073, allocations: 0 / 441.1 MB, free: 69.61 MB / 314.7 MB Notification: Performance of Templates: time 0.01378/0.621, allocations: 10.21 MB / 451.3 MB, free: 68.57 MB / 314.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.sim & ./Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe 2>&1)