Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.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.AC3ph.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier") translateModel(PowerSystems.Examples.AC3ph.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001513/0.001513, allocations: 188.6 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.35/1.35, allocations: 194.3 MB / 203.1 MB, free: 9.316 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.001735/0.001735, allocations: 113.4 kB / 248.1 MB, free: 6.344 MB / 203.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1718/0.1718, allocations: 37.92 MB / 330.9 MB, free: 7.316 MB / 283.1 MB Notification: Performance of FrontEnd - loaded program: time 1.219e-05/1.222e-05, allocations: 0 / 390.4 MB, free: 78.24 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08084/0.08087, allocations: 53.26 MB / 443.6 MB, free: 25.09 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3349/0.4159, allocations: 104.3 MB / 0.5351 GB, free: 4.086 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000225/0.4161, allocations: 87.7 kB / 0.5352 GB, free: 4.043 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.06523/0.4814, allocations: 23.11 MB / 0.5577 GB, free: 0.5156 MB / 363.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4814, allocations: 0 / 0.5577 GB, free: 0.5156 MB / 363.1 MB Notification: Performance of Transformations before backend: time 5.374e-05/0.4815, allocations: 24.16 kB / 0.5577 GB, free: 0.4922 MB / 363.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.003022/0.4845, allocations: 1.171 MB / 0.5589 GB, free: 15.33 MB / 379.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.4846, allocations: 8.031 kB / 0.5589 GB, free: 15.32 MB / 379.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009585/0.4855, allocations: 151 kB / 0.559 GB, free: 15.17 MB / 379.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003549/0.4891, allocations: 1.241 MB / 0.5603 GB, free: 14.12 MB / 379.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002531/0.4894, allocations: 150.5 kB / 0.5604 GB, free: 13.95 MB / 379.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000211/0.4896, allocations: 48 kB / 0.5604 GB, free: 13.91 MB / 379.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001773/0.4914, allocations: 1.035 MB / 0.5615 GB, free: 13.23 MB / 379.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001817/0.4932, allocations: 1.174 MB / 0.5626 GB, free: 12.3 MB / 379.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.469e-05/0.4933, allocations: 7.984 kB / 0.5626 GB, free: 12.29 MB / 379.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.447e-05/0.4933, allocations: 0.75 kB / 0.5626 GB, free: 12.29 MB / 379.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.911e-05/0.4934, allocations: 57.25 kB / 0.5627 GB, free: 12.24 MB / 379.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007116/0.5006, allocations: 4.785 MB / 0.5673 GB, free: 8.121 MB / 379.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001292/0.5019, allocations: 0.9294 MB / 0.5682 GB, free: 7.449 MB / 379.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007767/0.5027, allocations: 0.5526 MB / 0.5688 GB, free: 7.086 MB / 379.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.443e-05/0.5028, allocations: 12.55 kB / 0.5688 GB, free: 7.074 MB / 379.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.722e-05/0.5028, allocations: 45.38 kB / 0.5688 GB, free: 7.023 MB / 379.1 MB Notification: Performance of pre-optimization done (n=74): time 3.807e-06/0.5028, allocations: 0 / 0.5688 GB, free: 7.023 MB / 379.1 MB Notification: Performance of matching and sorting (n=75): time 0.003684/0.5065, allocations: 2.316 MB / 0.5711 GB, free: 5.172 MB / 379.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.839e-05/0.5066, allocations: 85.67 kB / 0.5712 GB, free: 5.07 MB / 379.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000392/0.507, allocations: 331.9 kB / 0.5715 GB, free: 4.805 MB / 379.1 MB Notification: Performance of collectPreVariables (initialization): time 5.718e-05/0.507, allocations: 29.73 kB / 0.5715 GB, free: 4.77 MB / 379.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002276/0.5073, allocations: 395.2 kB / 0.5719 GB, free: 4.457 MB / 379.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002056/0.5075, allocations: 251.4 kB / 0.5721 GB, free: 4.238 MB / 379.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.536e-05/0.5076, allocations: 0 / 0.5721 GB, free: 4.238 MB / 379.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.5077, allocations: 371.6 kB / 0.5725 GB, free: 3.891 MB / 379.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000576/0.5083, allocations: 434.4 kB / 0.5729 GB, free: 3.617 MB / 379.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007696/0.5091, allocations: 0.607 MB / 0.5735 GB, free: 3.109 MB / 379.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007988/0.5099, allocations: 0.506 MB / 0.574 GB, free: 2.766 MB / 379.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/0.5099, allocations: 0 / 0.574 GB, free: 2.766 MB / 379.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.003626/0.5135, allocations: 1.801 MB / 0.5758 GB, free: 1.309 MB / 379.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/0.5136, allocations: 8 kB / 0.5758 GB, free: 1.301 MB / 379.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003305/0.5169, allocations: 1.577 MB / 0.5773 GB, free: 15.89 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001273/0.5182, allocations: 0.5286 MB / 0.5778 GB, free: 15.36 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006717/0.5189, allocations: 151.7 kB / 0.578 GB, free: 15.21 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007805/0.5267, allocations: 5.914 MB / 0.5837 GB, free: 9.062 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007714/0.5275, allocations: 72 kB / 0.5838 GB, free: 8.992 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001335/0.5277, allocations: 32 kB / 0.5838 GB, free: 8.961 MB / 395.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 72 * Array equations: 2 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {4 16} Notification: Performance of prepare postOptimizeDAE: time 0.0002345/0.5279, allocations: 120.8 kB / 0.584 GB, free: 8.836 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001799/0.5281, allocations: 59.28 kB / 0.584 GB, free: 8.777 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00191/0.53, allocations: 1.12 MB / 0.5851 GB, free: 7.629 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.118e-05/0.5301, allocations: 23.98 kB / 0.5851 GB, free: 7.605 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.5301, allocations: 4 kB / 0.5851 GB, free: 7.602 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.156e-06/0.5301, allocations: 0 / 0.5851 GB, free: 7.602 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003497/0.5336, allocations: 2.162 MB / 0.5872 GB, free: 5.359 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.692e-06/0.5336, allocations: 3.953 kB / 0.5872 GB, free: 5.355 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003092/0.5367, allocations: 0.64 MB / 0.5879 GB, free: 4.715 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.807e-05/0.5368, allocations: 20.86 kB / 0.5879 GB, free: 4.691 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.86e-05/0.5369, allocations: 7.984 kB / 0.5879 GB, free: 4.684 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001015/0.5379, allocations: 1.337 MB / 0.5892 GB, free: 3.23 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.5379, allocations: 0 / 0.5892 GB, free: 3.23 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002532/0.5405, allocations: 1.853 MB / 0.591 GB, free: 1.301 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002389/0.5407, allocations: 128.3 kB / 0.5911 GB, free: 1.156 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001239/0.5409, allocations: 4 kB / 0.5911 GB, free: 1.152 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005771/0.5415, allocations: 63.91 kB / 0.5912 GB, free: 1.09 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001599/0.5416, allocations: 64.47 kB / 0.5913 GB, free: 1.027 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-05/0.5417, allocations: 20 kB / 0.5913 GB, free: 1.008 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.000326/0.542, allocations: 251 kB / 0.5915 GB, free: 0.7656 MB / 395.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.542, allocations: 0 / 0.5915 GB, free: 0.7656 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0009959/0.543, allocations: 223.9 kB / 0.5917 GB, free: 0.5469 MB / 395.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (ind.i[1],ind.i[2],ind.i[3],meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],meterDC.pav) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 62 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002998/0.5433, allocations: 150.9 kB / 0.5919 GB, free: 400 kB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.002221/0.5456, allocations: 1.384 MB / 0.5932 GB, free: 14.99 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.5456, allocations: 0 / 0.5932 GB, free: 14.99 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002551/0.5482, allocations: 1.055 MB / 0.5943 GB, free: 13.93 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006618/0.5488, allocations: 93.83 kB / 0.5944 GB, free: 13.84 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00365/0.5525, allocations: 1.866 MB / 0.5962 GB, free: 11.93 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007453/0.5533, allocations: 1.099 MB / 0.5972 GB, free: 10.8 MB / 411.1 MB Notification: Performance of simCode: alias equations: time 0.0006535/0.5539, allocations: 197.1 kB / 0.5974 GB, free: 10.61 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000221/0.5542, allocations: 55.42 kB / 0.5975 GB, free: 10.55 MB / 411.1 MB Notification: Performance of SimCode: time 8.21e-07/0.5542, allocations: 0 / 0.5975 GB, free: 10.55 MB / 411.1 MB Notification: Performance of Templates: time 0.01914/0.5733, allocations: 10.93 MB / 0.6082 GB, free: 15.64 MB / 427.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe 2>&1)