Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) 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(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001899/0.001899, allocations: 180 kB / 17.4 MB, free: 4.414 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.432/1.432, allocations: 194.5 MB / 212.6 MB, free: 2.93 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.001639/0.001639, allocations: 117.7 kB / 257.9 MB, free: 4.273 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1791/0.1791, allocations: 38.01 MB / 341.1 MB, free: 1.184 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004561/0.0004563, allocations: 12 kB / 405 MB, free: 68.47 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1063, allocations: 53.23 MB / 458.3 MB, free: 15.23 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3889/0.4952, allocations: 95.23 MB / 0.5405 GB, free: 15.7 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002797/0.4956, allocations: 103.8 kB / 0.5406 GB, free: 15.64 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03878/0.5343, allocations: 14.03 MB / 0.5543 GB, free: 3.551 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.5344, allocations: 0 / 0.5543 GB, free: 3.551 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.022e-05/0.5344, allocations: 19.41 kB / 0.5543 GB, free: 3.535 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.002219/0.5367, allocations: 0.958 MB / 0.5553 GB, free: 2.566 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.5367, allocations: 8.031 kB / 0.5553 GB, free: 2.559 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002833/0.537, allocations: 76.09 kB / 0.5553 GB, free: 2.484 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00185/0.5389, allocations: 0.7872 MB / 0.5561 GB, free: 1.785 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00021/0.5391, allocations: 128.8 kB / 0.5562 GB, free: 1.672 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001411/0.5392, allocations: 53.56 kB / 0.5563 GB, free: 1.637 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001525/0.5408, allocations: 0.789 MB / 0.5571 GB, free: 1.023 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.179e-05/0.5408, allocations: 4 kB / 0.5571 GB, free: 1.02 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.768e-05/0.5409, allocations: 30.05 kB / 0.5571 GB, free: 1.008 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.441e-05/0.5409, allocations: 12 kB / 0.5571 GB, free: 0.9961 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001446/0.5424, allocations: 0.7002 MB / 0.5578 GB, free: 500 kB / 362.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004584/0.547, allocations: 2.738 MB / 0.5605 GB, free: 14.15 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001734/0.5487, allocations: 0.9172 MB / 0.5614 GB, free: 13.36 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005514/0.5493, allocations: 340.6 kB / 0.5617 GB, free: 13.12 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.652e-05/0.5493, allocations: 4 kB / 0.5617 GB, free: 13.11 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.682e-05/0.5494, allocations: 42.31 kB / 0.5617 GB, free: 13.07 MB / 378.7 MB Notification: Performance of pre-optimization done (n=38): time 2.866e-06/0.5494, allocations: 0 / 0.5617 GB, free: 13.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=39): time 0.003714/0.5531, allocations: 1.986 MB / 0.5637 GB, free: 11.31 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.164e-05/0.5532, allocations: 85.05 kB / 0.5637 GB, free: 11.21 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005247/0.5537, allocations: 418.6 kB / 0.5641 GB, free: 10.88 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.863e-05/0.5537, allocations: 36.3 kB / 0.5642 GB, free: 10.84 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000238/0.554, allocations: 319.1 kB / 0.5645 GB, free: 10.61 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001328/0.5541, allocations: 141.4 kB / 0.5646 GB, free: 10.49 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.291e-05/0.5542, allocations: 11.06 kB / 0.5646 GB, free: 10.48 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.5543, allocations: 360.5 kB / 0.565 GB, free: 10.14 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004911/0.5548, allocations: 249.3 kB / 0.5652 GB, free: 9.965 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005295/0.5554, allocations: 357.4 kB / 0.5656 GB, free: 9.641 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009605/0.5563, allocations: 0.6003 MB / 0.5661 GB, free: 9.152 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.5564, allocations: 0 / 0.5661 GB, free: 9.152 MB / 378.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001329/0.5577, allocations: 0.7934 MB / 0.5669 GB, free: 8.492 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.5577, allocations: 8 kB / 0.5669 GB, free: 8.484 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.5577, allocations: 256 / 0.5669 GB, free: 8.484 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000254/0.558, allocations: 75.62 kB / 0.567 GB, free: 8.414 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001434/0.5594, allocations: 374.9 kB / 0.5674 GB, free: 8.051 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005786/0.5652, allocations: 6.111 MB / 0.5733 GB, free: 1.699 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004868/0.5658, allocations: 46.89 kB / 0.5734 GB, free: 1.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-05/0.5658, allocations: 15.62 kB / 0.5734 GB, free: 1.648 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004426/0.5663, allocations: 245.1 kB / 0.5736 GB, free: 1.449 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/0.5664, allocations: 47.38 kB / 0.5737 GB, free: 1.402 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001376/0.5678, allocations: 0.7429 MB / 0.5744 GB, free: 0.8008 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.273e-06/0.5678, allocations: 4 kB / 0.5744 GB, free: 0.7969 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.5678, allocations: 7.875 kB / 0.5744 GB, free: 0.7891 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/0.5678, allocations: 11.92 kB / 0.5744 GB, free: 0.7773 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002641/0.5705, allocations: 1.517 MB / 0.5759 GB, free: 15.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.5705, allocations: 0 / 0.5759 GB, free: 15.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001576/0.5721, allocations: 403 kB / 0.5763 GB, free: 15.11 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002116/0.5723, allocations: 68.22 kB / 0.5763 GB, free: 15.04 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.185e-05/0.5724, allocations: 15.11 kB / 0.5764 GB, free: 15.04 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002126/0.5745, allocations: 2.835 MB / 0.5791 GB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.5745, allocations: 0 / 0.5791 GB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001806/0.5763, allocations: 1.139 MB / 0.5802 GB, free: 11.13 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000167/0.5765, allocations: 123.6 kB / 0.5804 GB, free: 10.99 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.654e-05/0.5766, allocations: 9.812 kB / 0.5804 GB, free: 10.99 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000325/0.5769, allocations: 47.39 kB / 0.5804 GB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/0.577, allocations: 35.64 kB / 0.5804 GB, free: 10.91 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.734e-05/0.5771, allocations: 11.75 kB / 0.5805 GB, free: 10.91 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003722/0.5775, allocations: 291.4 kB / 0.5807 GB, free: 10.68 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5775, allocations: 0 / 0.5807 GB, free: 10.68 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007615/0.5782, allocations: 147.2 kB / 0.5809 GB, free: 10.55 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (ind.i[1],ind.i[2],meterAC.pav,meterDC.pav) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002279/0.5785, allocations: 123 kB / 0.581 GB, free: 10.43 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002554/0.581, allocations: 1.107 MB / 0.5821 GB, free: 9.441 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.5811, allocations: 0 / 0.5821 GB, free: 9.441 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001794/0.5829, allocations: 0.8203 MB / 0.5829 GB, free: 8.68 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008449/0.5837, allocations: 133.5 kB / 0.583 GB, free: 8.582 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003228/0.587, allocations: 1.719 MB / 0.5847 GB, free: 6.965 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007025/0.5877, allocations: 0.9512 MB / 0.5856 GB, free: 6.012 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004004/0.5881, allocations: 100.5 kB / 0.5857 GB, free: 5.91 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001249/0.5882, allocations: 39.31 kB / 0.5857 GB, free: 5.875 MB / 394.7 MB Notification: Performance of SimCode: time 4.41e-07/0.5882, allocations: 0 / 0.5857 GB, free: 5.875 MB / 394.7 MB Notification: Performance of Templates: time 0.01404/0.6023, allocations: 7.122 MB / 0.5927 GB, free: 14.76 MB / 410.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe 2>&1)