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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 109 kB / 17.06 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 200 kB / 18 MB, free: 5.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1788/0.1788, allocations: 38.03 MB / 329.9 MB, free: 8.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 67.88 kB / 458.1 MB, free: 6.824 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5027/0.5041, allocations: 58.06 MB / 0.5041 GB, free: 8.105 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.008005/0.5122, allocations: 6.764 MB / 0.5107 GB, free: 3.398 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004423/0.5166, allocations: 2.142 MB / 0.5128 GB, free: 1.898 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006288/0.5173, allocations: 26.81 kB / 0.5128 GB, free: 1.887 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001887/0.5192, allocations: 0.5152 MB / 0.5133 GB, free: 1.574 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001691/0.5209, allocations: 0.5527 MB / 0.5139 GB, free: 1.281 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001745/0.5226, allocations: 364.9 kB / 0.5142 GB, free: 1.117 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00263/0.5253, allocations: 1.301 MB / 0.5155 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001482/0.5268, allocations: 0.7384 MB / 0.5162 GB, free: 224 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001432/0.5282, allocations: 0.5383 MB / 0.5167 GB, free: 15.98 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001935/0.5302, allocations: 0.692 MB / 0.5174 GB, free: 15.72 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003726/0.5306, allocations: 98.78 kB / 0.5175 GB, free: 15.72 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0017/0.5323, allocations: 0.5168 MB / 0.518 GB, free: 15.61 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007873/0.5331, allocations: 463 kB / 0.5185 GB, free: 15.44 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000923/0.534, allocations: 0.5194 MB / 0.519 GB, free: 15.13 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003009/0.5371, allocations: 1.463 MB / 0.5204 GB, free: 14.61 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.5371, allocations: 1.859 kB / 0.5204 GB, free: 14.61 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.5371, allocations: 0 / 0.5204 GB, free: 14.61 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.395e-05/0.5372, allocations: 0 / 0.5204 GB, free: 14.61 MB / 398.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.004927/0.5421, allocations: 1.379 MB / 0.5217 GB, free: 13.77 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.929e-05/0.5422, allocations: 14.19 kB / 0.5218 GB, free: 13.76 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001005/0.5432, allocations: 145.8 kB / 0.5219 GB, free: 13.71 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001529/0.5447, allocations: 0.6928 MB / 0.5226 GB, free: 13.29 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002598/0.545, allocations: 170.5 kB / 0.5227 GB, free: 13.16 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002459/0.5453, allocations: 99.75 kB / 0.5228 GB, free: 13.12 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002563/0.5478, allocations: 1.367 MB / 0.5242 GB, free: 12.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.008e-05/0.5479, allocations: 7.156 kB / 0.5242 GB, free: 12.51 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001467/0.548, allocations: 31.5 kB / 0.5242 GB, free: 12.49 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001744/0.5482, allocations: 68.77 kB / 0.5243 GB, free: 12.47 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002626/0.5509, allocations: 1.294 MB / 0.5255 GB, free: 12.07 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008845/0.5597, allocations: 4.912 MB / 0.5303 GB, free: 8.555 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002327/0.5621, allocations: 1.135 MB / 0.5314 GB, free: 7.91 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001207/0.5633, allocations: 0.6154 MB / 0.532 GB, free: 7.598 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.256e-05/0.5634, allocations: 15.17 kB / 0.532 GB, free: 7.59 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.243e-05/0.5634, allocations: 38.91 kB / 0.5321 GB, free: 7.547 MB / 398.1 MB Notification: Performance of pre-optimization done (n=72): time 3.206e-06/0.5635, allocations: 0 / 0.5321 GB, free: 7.547 MB / 398.1 MB Notification: Performance of matching and sorting (n=73): time 0.007718/0.5712, allocations: 3.192 MB / 0.5352 GB, free: 5.648 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.966e-05/0.5713, allocations: 96.31 kB / 0.5353 GB, free: 5.539 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00064/0.5719, allocations: 467.4 kB / 0.5357 GB, free: 5.254 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.36e-05/0.572, allocations: 35.02 kB / 0.5358 GB, free: 5.215 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002943/0.5723, allocations: 406.4 kB / 0.5362 GB, free: 4.855 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002512/0.5726, allocations: 260.7 kB / 0.5364 GB, free: 4.629 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003217/0.5729, allocations: 154.7 kB / 0.5366 GB, free: 4.539 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002055/0.5731, allocations: 375.8 kB / 0.5369 GB, free: 4.18 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001096/0.5742, allocations: 0.4931 MB / 0.5374 GB, free: 3.938 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001151/0.5754, allocations: 0.6817 MB / 0.5381 GB, free: 3.457 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002022/0.5774, allocations: 1.219 MB / 0.5393 GB, free: 2.707 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.5774, allocations: 13.25 kB / 0.5393 GB, free: 2.695 MB / 398.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.004742/0.5822, allocations: 1.981 MB / 0.5412 GB, free: 1.629 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.006e-05/0.5822, allocations: 8.906 kB / 0.5412 GB, free: 1.629 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003915/0.5862, allocations: 1.713 MB / 0.5429 GB, free: 272 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001828/0.588, allocations: 0.6518 MB / 0.5435 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006052/0.5886, allocations: 155.8 kB / 0.5437 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01134/0.6, allocations: 7.425 MB / 0.5509 GB, free: 7.762 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008908/0.6009, allocations: 71.91 kB / 0.551 GB, free: 7.691 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.507e-05/0.601, allocations: 32 kB / 0.551 GB, free: 7.66 MB / 414.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 73 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0005606/0.6015, allocations: 309.6 kB / 0.5513 GB, free: 7.348 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001549/0.6017, allocations: 67.61 kB / 0.5514 GB, free: 7.281 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00235/0.6041, allocations: 1.297 MB / 0.5526 GB, free: 5.957 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.14e-05/0.6041, allocations: 19.94 kB / 0.5527 GB, free: 5.938 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.6041, allocations: 0 / 0.5527 GB, free: 5.938 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/0.6041, allocations: 3.984 kB / 0.5527 GB, free: 5.934 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004042/0.6082, allocations: 2.405 MB / 0.555 GB, free: 3.438 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.686e-06/0.6082, allocations: 3.938 kB / 0.555 GB, free: 3.434 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00264/0.6109, allocations: 0.4916 MB / 0.5555 GB, free: 2.941 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001269/0.611, allocations: 40.83 kB / 0.5555 GB, free: 2.898 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-05/0.6111, allocations: 12 kB / 0.5555 GB, free: 2.887 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001272/0.6123, allocations: 1.634 MB / 0.5571 GB, free: 1.113 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.6124, allocations: 0 / 0.5571 GB, free: 1.113 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003347/0.6157, allocations: 2.013 MB / 0.5591 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002256/0.616, allocations: 136.7 kB / 0.5592 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001154/0.6161, allocations: 12 kB / 0.5593 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005183/0.6166, allocations: 63.91 kB / 0.5593 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001768/0.6168, allocations: 72.34 kB / 0.5594 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.505e-05/0.6169, allocations: 16 kB / 0.5594 GB, free: 14.74 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003978/0.6173, allocations: 326.8 kB / 0.5597 GB, free: 14.42 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.6173, allocations: 0 / 0.5597 GB, free: 14.42 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001079/0.6183, allocations: 236 kB / 0.5599 GB, free: 14.19 MB / 430.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 64 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002367/0.6186, allocations: 127.2 kB / 0.5601 GB, free: 14.06 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002949/0.6216, allocations: 1.57 MB / 0.5616 GB, free: 12.46 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.6216, allocations: 0 / 0.5616 GB, free: 12.46 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002701/0.6243, allocations: 1.002 MB / 0.5626 GB, free: 11.44 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009482/0.6252, allocations: 168 kB / 0.5627 GB, free: 11.28 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004015/0.6293, allocations: 2.289 MB / 0.565 GB, free: 8.949 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006612/0.63, allocations: 1.071 MB / 0.566 GB, free: 7.852 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005751/0.6305, allocations: 209.5 kB / 0.5662 GB, free: 7.645 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002045/0.6308, allocations: 55.42 kB / 0.5663 GB, free: 7.594 MB / 430.1 MB Notification: Performance of SimCode: time 8.31e-07/0.6308, allocations: 0 / 0.5663 GB, free: 7.594 MB / 430.1 MB Notification: Performance of Templates: time 0.0242/0.655, allocations: 13.65 MB / 0.5796 GB, free: 10.02 MB / 446.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)