Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.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.QuasiStationary.SinglePhase.Examples.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001595/0.001595, allocations: 182.1 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.729/1.729, allocations: 194.3 MB / 208.4 MB, free: 6.711 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.001693/0.001693, allocations: 118.3 kB / 253.5 MB, free: 9.586 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.942e-05/2.952e-05, allocations: 0 / 304.9 MB, free: 29.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1017, allocations: 44.51 MB / 349.4 MB, free: 1.234 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3768/0.4786, allocations: 82.25 MB / 431.7 MB, free: 9.238 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001867/0.4788, allocations: 85.02 kB / 431.8 MB, free: 9.223 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05134/0.5302, allocations: 22.18 MB / 454 MB, free: 10.7 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.5302, allocations: 3.938 kB / 454 MB, free: 10.69 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.621e-05/0.5302, allocations: 24 kB / 454 MB, free: 10.67 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: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.002772/0.533, allocations: 1.146 MB / 455.1 MB, free: 9.551 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.5331, allocations: 8.031 kB / 455.1 MB, free: 9.543 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002598/0.5357, allocations: 373.7 kB / 455.5 MB, free: 9.207 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008133/0.5365, allocations: 0.5228 MB / 456 MB, free: 8.742 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.332e-05/0.5366, allocations: 74.14 kB / 456.1 MB, free: 8.699 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001418/0.5367, allocations: 104.1 kB / 456.2 MB, free: 8.633 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001718/0.5385, allocations: 0.9944 MB / 457.2 MB, free: 7.93 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.196e-05/0.5385, allocations: 7.859 kB / 457.2 MB, free: 7.922 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.49e-05/0.5386, allocations: 44.31 kB / 457.3 MB, free: 7.91 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.346e-05/0.5387, allocations: 24 kB / 457.3 MB, free: 7.887 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001435/0.5401, allocations: 0.8398 MB / 458.1 MB, free: 7.34 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005503/0.5456, allocations: 3.785 MB / 461.9 MB, free: 4.23 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00242/0.5481, allocations: 2.435 MB / 464.3 MB, free: 1.758 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007147/0.5488, allocations: 427.4 kB / 464.8 MB, free: 1.473 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001142/0.5489, allocations: 97.86 kB / 464.8 MB, free: 1.359 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007054/0.5496, allocations: 464.3 kB / 465.3 MB, free: 0.9961 MB / 314.7 MB Notification: Performance of pre-optimization done (n=86): time 2.605e-06/0.5496, allocations: 0 / 465.3 MB, free: 0.9961 MB / 314.7 MB Notification: Performance of matching and sorting (n=86): time 0.001677/0.5513, allocations: 0.8365 MB / 466.1 MB, free: 380 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001063/0.5514, allocations: 202.7 kB / 466.3 MB, free: 136 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005021/0.552, allocations: 406.6 kB / 466.7 MB, free: 15.81 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.879e-05/0.552, allocations: 43.27 kB / 466.8 MB, free: 15.78 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003154/0.5523, allocations: 429.4 kB / 467.2 MB, free: 15.44 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002174/0.5526, allocations: 277.4 kB / 467.5 MB, free: 15.2 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.886e-05/0.5526, allocations: 18.25 kB / 467.5 MB, free: 15.2 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.5528, allocations: 382.8 kB / 467.9 MB, free: 14.84 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003769/0.5532, allocations: 241.3 kB / 468.1 MB, free: 14.7 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005389/0.5537, allocations: 491.5 kB / 468.6 MB, free: 14.23 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004738/0.5542, allocations: 299.4 kB / 468.9 MB, free: 14.04 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/0.5542, allocations: 4 kB / 468.9 MB, free: 14.03 MB / 330.7 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.00165/0.5559, allocations: 1.01 MB / 469.9 MB, free: 13.26 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.5559, allocations: 11.98 kB / 469.9 MB, free: 13.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.516e-05/0.5559, allocations: 8 kB / 469.9 MB, free: 13.24 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007915/0.5567, allocations: 263.8 kB / 470.2 MB, free: 12.98 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005889/0.5573, allocations: 167.7 kB / 470.3 MB, free: 12.81 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005083/0.5624, allocations: 4.38 MB / 474.7 MB, free: 8.168 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008203/0.5633, allocations: 115.1 kB / 474.8 MB, free: 8.055 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.413e-05/0.5633, allocations: 40 kB / 474.8 MB, free: 8.016 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 88 * 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.0002186/0.5636, allocations: 160.7 kB / 475 MB, free: 7.852 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001137/0.5637, allocations: 79.09 kB / 475.1 MB, free: 7.773 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001804/0.5655, allocations: 0.9152 MB / 476 MB, free: 6.84 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.05e-05/0.5655, allocations: 19.94 kB / 476 MB, free: 6.82 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.5655, allocations: 0 / 476 MB, free: 6.82 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/0.5656, allocations: 3.984 kB / 476 MB, free: 6.816 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002911/0.5685, allocations: 1.894 MB / 477.9 MB, free: 4.852 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.211e-06/0.5685, allocations: 3.984 kB / 477.9 MB, free: 4.848 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004475/0.569, allocations: 99.89 kB / 478 MB, free: 4.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007361/0.5697, allocations: 261.7 kB / 478.3 MB, free: 4.488 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.422e-05/0.5698, allocations: 28.12 kB / 478.3 MB, free: 4.461 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004816/0.5746, allocations: 4.337 MB / 482.6 MB, free: 15.86 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.5746, allocations: 0 / 482.6 MB, free: 15.86 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002268/0.5769, allocations: 1.306 MB / 483.9 MB, free: 14.51 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003551/0.5773, allocations: 216 kB / 484.2 MB, free: 14.28 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.541e-05/0.5774, allocations: 16 kB / 484.2 MB, free: 14.26 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004766/0.5778, allocations: 55.95 kB / 484.2 MB, free: 14.21 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001771/0.578, allocations: 68.64 kB / 484.3 MB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.936e-05/0.5781, allocations: 27.98 kB / 484.3 MB, free: 14.11 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003891/0.5785, allocations: 309.6 kB / 484.6 MB, free: 13.81 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5785, allocations: 3.938 kB / 484.6 MB, free: 13.81 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001192/0.5797, allocations: 327.2 kB / 484.9 MB, free: 13.49 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (currentSensorQS.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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 54 * 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.0003315/0.58, allocations: 179.1 kB / 485.1 MB, free: 13.3 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00175/0.5818, allocations: 1.023 MB / 486.1 MB, free: 12.25 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.5818, allocations: 0 / 486.1 MB, free: 12.25 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001042/0.5829, allocations: 0.708 MB / 486.9 MB, free: 11.53 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005176/0.5834, allocations: 108.1 kB / 487 MB, free: 11.42 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004201/0.5876, allocations: 1.693 MB / 488.6 MB, free: 9.695 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006174/0.5882, allocations: 1.01 MB / 489.7 MB, free: 8.66 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004116/0.5887, allocations: 89.55 kB / 489.7 MB, free: 8.57 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001342/0.5888, allocations: 47.42 kB / 489.8 MB, free: 8.523 MB / 346.7 MB Notification: Performance of SimCode: time 8.31e-07/0.5888, allocations: 0 / 489.8 MB, free: 8.523 MB / 346.7 MB Notification: Performance of Templates: time 0.02/0.6088, allocations: 11.22 MB / 0.4893 GB, free: 13.28 MB / 362.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.sim & ./Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe 2>&1)