Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.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.Generic.Network.NetworkOpened,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened") translateModel(PowerSystems.Examples.Generic.Network.NetworkOpened,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 107.9 kB / 17.06 MB, free: 6.004 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.00107/0.00107, allocations: 191 kB / 18 MB, free: 5.09 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.456/1.456, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.197/0.197, allocations: 38.04 MB / 329.9 MB, free: 8.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 63.91 kB / 458.1 MB, free: 6.859 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4105/0.4119, allocations: 58.06 MB / 0.5041 GB, free: 8.082 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.01179/0.4238, allocations: 7.678 MB / 0.5116 GB, free: 2.699 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01008/0.4339, allocations: 4.738 MB / 0.5162 GB, free: 15.37 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001041/0.435, allocations: 13.84 kB / 0.5162 GB, free: 15.37 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003912/0.4389, allocations: 1.079 MB / 0.5173 GB, free: 14.72 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005625/0.4446, allocations: 1.266 MB / 0.5185 GB, free: 14.05 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001985/0.4466, allocations: 367.4 kB / 0.5189 GB, free: 13.88 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003903/0.4505, allocations: 1.461 MB / 0.5203 GB, free: 13.28 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001479/0.452, allocations: 0.6632 MB / 0.5209 GB, free: 12.99 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002016/0.4541, allocations: 0.6394 MB / 0.5216 GB, free: 12.7 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001707/0.4558, allocations: 0.7113 MB / 0.5223 GB, free: 12.4 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003443/0.4561, allocations: 66.25 kB / 0.5223 GB, free: 12.4 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003812/0.46, allocations: 1.424 MB / 0.5237 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009375/0.4609, allocations: 0.4906 MB / 0.5242 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001296/0.4622, allocations: 460.8 kB / 0.5246 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004688/0.4669, allocations: 1.546 MB / 0.5261 GB, free: 10.87 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.467, allocations: 0 / 0.5261 GB, free: 10.87 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.467, allocations: 0 / 0.5261 GB, free: 10.87 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.39e-05/0.467, allocations: 0 / 0.5261 GB, free: 10.87 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.00392/0.471, allocations: 1.19 MB / 0.5273 GB, free: 10.02 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.471, allocations: 13.28 kB / 0.5273 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004075/0.4751, allocations: 423.8 kB / 0.5277 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001362/0.4765, allocations: 0.4906 MB / 0.5282 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.916e-05/0.4766, allocations: 57.8 kB / 0.5283 GB, free: 9.57 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004154/0.477, allocations: 76.8 kB / 0.5283 GB, free: 9.543 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0031/0.4801, allocations: 1.23 MB / 0.5295 GB, free: 9.062 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.576e-05/0.4802, allocations: 10.84 kB / 0.5295 GB, free: 9.055 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001221/0.4803, allocations: 30.08 kB / 0.5296 GB, free: 9.031 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001359/0.4805, allocations: 75.52 kB / 0.5296 GB, free: 9.016 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002602/0.4831, allocations: 1.309 MB / 0.5309 GB, free: 8.402 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007348/0.4904, allocations: 3.686 MB / 0.5345 GB, free: 5.867 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002038/0.4925, allocations: 1.093 MB / 0.5356 GB, free: 5.305 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001081/0.4936, allocations: 0.6392 MB / 0.5362 GB, free: 4.98 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.923e-05/0.4937, allocations: 22 kB / 0.5362 GB, free: 4.969 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.459e-05/0.4938, allocations: 39.5 kB / 0.5363 GB, free: 4.926 MB / 398.1 MB Notification: Performance of pre-optimization done (n=92): time 4.017e-06/0.4938, allocations: 1.062 kB / 0.5363 GB, free: 4.926 MB / 398.1 MB Notification: Performance of matching and sorting (n=93): time 0.007688/0.5015, allocations: 3.172 MB / 0.5394 GB, free: 3.223 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.226e-05/0.5016, allocations: 91.73 kB / 0.5395 GB, free: 3.121 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005805/0.5022, allocations: 370.1 kB / 0.5398 GB, free: 2.895 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.286e-05/0.5023, allocations: 40.36 kB / 0.5398 GB, free: 2.852 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002707/0.5026, allocations: 333.9 kB / 0.5402 GB, free: 2.555 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004083/0.503, allocations: 333.4 kB / 0.5405 GB, free: 2.266 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003623/0.5034, allocations: 161.6 kB / 0.5406 GB, free: 2.172 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002084/0.5036, allocations: 369.6 kB / 0.541 GB, free: 1.816 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008887/0.5045, allocations: 465.4 kB / 0.5414 GB, free: 1.598 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001086/0.5056, allocations: 0.5746 MB / 0.542 GB, free: 1.25 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00181/0.5074, allocations: 1.123 MB / 0.5431 GB, free: 436 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.5074, allocations: 0 / 0.5431 GB, free: 436 kB / 398.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002758/0.5102, allocations: 1.481 MB / 0.5445 GB, free: 14.93 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.606e-05/0.5102, allocations: 4 kB / 0.5445 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/0.5103, allocations: 8.203 kB / 0.5446 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001076/0.5113, allocations: 340.5 kB / 0.5449 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007269/0.5121, allocations: 195.6 kB / 0.5451 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005833/0.5179, allocations: 4.181 MB / 0.5491 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007654/0.5187, allocations: 48.02 kB / 0.5492 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001313/0.5189, allocations: 35.98 kB / 0.5492 GB, free: 9.969 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (82): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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 {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007567/0.5196, allocations: 301.5 kB / 0.5495 GB, free: 9.664 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000216/0.5198, allocations: 59.62 kB / 0.5496 GB, free: 9.605 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002921/0.5228, allocations: 1.551 MB / 0.5511 GB, free: 8.039 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/0.5228, allocations: 12 kB / 0.5511 GB, free: 8.027 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.5228, allocations: 4 kB / 0.5511 GB, free: 8.023 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/0.5228, allocations: 3.984 kB / 0.5511 GB, free: 8.02 MB / 414.1 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 postOpt removeSimpleEquations (simulation): time 0.005292/0.5281, allocations: 3.019 MB / 0.5541 GB, free: 4.871 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-06/0.5282, allocations: 4 kB / 0.5541 GB, free: 4.867 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000634/0.5288, allocations: 163.7 kB / 0.5542 GB, free: 4.707 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008628/0.5297, allocations: 281 kB / 0.5545 GB, free: 4.43 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-05/0.5298, allocations: 31.98 kB / 0.5545 GB, free: 4.398 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005267/0.535, allocations: 3.9 MB / 0.5583 GB, free: 356 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/0.5351, allocations: 4 kB / 0.5583 GB, free: 352 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002849/0.5379, allocations: 1.579 MB / 0.5599 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000344/0.5383, allocations: 152.6 kB / 0.56 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001414/0.5384, allocations: 24 kB / 0.56 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005447/0.539, allocations: 39.97 kB / 0.5601 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001764/0.5392, allocations: 84.75 kB / 0.5602 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.29e-05/0.5393, allocations: 39.98 kB / 0.5602 GB, free: 14.34 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003659/0.5396, allocations: 267.1 kB / 0.5604 GB, free: 14.09 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5397, allocations: 0 / 0.5604 GB, free: 14.09 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001503/0.5412, allocations: 308 kB / 0.5607 GB, free: 13.79 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 simulation (82): * Single equations (assignments): 80 * Array equations: 0 * 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 {(2,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002303/0.5414, allocations: 127.1 kB / 0.5609 GB, free: 13.65 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002688/0.5441, allocations: 1.398 MB / 0.5622 GB, free: 12.25 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.5441, allocations: 0 / 0.5622 GB, free: 12.25 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001361/0.5455, allocations: 0.8482 MB / 0.5631 GB, free: 11.38 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009175/0.5464, allocations: 110.4 kB / 0.5632 GB, free: 11.28 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00394/0.5504, allocations: 1.831 MB / 0.5649 GB, free: 9.367 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009418/0.5513, allocations: 1.079 MB / 0.566 GB, free: 8.258 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004807/0.5518, allocations: 188.7 kB / 0.5662 GB, free: 8.074 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000234/0.5521, allocations: 63.41 kB / 0.5662 GB, free: 8.012 MB / 430.1 MB Notification: Performance of SimCode: time 4.61e-07/0.5521, allocations: 0 / 0.5662 GB, free: 8.012 MB / 430.1 MB Notification: Performance of Templates: time 0.01971/0.5718, allocations: 10.36 MB / 0.5764 GB, free: 13.66 MB / 446.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.sim & ./PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe 2>&1)