Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.NetworkLoop_dq0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001107, allocations: 109.2 kB / 17.75 MB, free: 5.223 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.00112/0.00112, allocations: 190.4 kB / 18.67 MB, free: 4.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.323/1.323, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1755/0.1755, allocations: 37.99 MB / 309.9 MB, free: 5.953 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 71.91 kB / 432.6 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08563/0.08707, allocations: 55.24 MB / 487.8 MB, free: 8.344 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.0079/0.095, allocations: 7.449 MB / 495.2 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005544/0.1006, allocations: 4.476 MB / 499.7 MB, free: 12.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003045/0.1009, allocations: 15.94 kB / 499.7 MB, free: 12.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002402/0.1033, allocations: 1.031 MB / 0.489 GB, free: 11.31 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002545/0.1059, allocations: 1.273 MB / 0.4903 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007876/0.1067, allocations: 339 kB / 0.4906 GB, free: 9.699 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001402/0.1081, allocations: 1.406 MB / 0.492 GB, free: 8.289 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009817/0.1091, allocations: 0.8008 MB / 0.4928 GB, free: 7.477 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007868/0.1099, allocations: 0.642 MB / 0.4934 GB, free: 6.832 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007943/0.1107, allocations: 0.736 MB / 0.4941 GB, free: 6.094 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001078/0.1108, allocations: 87.94 kB / 0.4942 GB, free: 6.008 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002412/0.1133, allocations: 1.524 MB / 0.4957 GB, free: 4.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005106/0.1138, allocations: 0.6001 MB / 0.4963 GB, free: 3.879 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005716/0.1144, allocations: 0.5677 MB / 0.4968 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002293/0.1167, allocations: 1.878 MB / 0.4986 GB, free: 1.426 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1167, allocations: 0 / 0.4986 GB, free: 1.426 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1167, allocations: 0 / 0.4986 GB, free: 1.426 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.308e-05/0.1167, allocations: 0 / 0.4986 GB, free: 1.426 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.001798/0.1185, allocations: 1.338 MB / 0.5 GB, free: 36 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.1186, allocations: 15.89 kB / 0.5 GB, free: 20 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00395/0.1225, allocations: 0.5419 MB / 0.5005 GB, free: 15.47 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009914/0.1235, allocations: 0.5599 MB / 0.501 GB, free: 14.87 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.859e-05/0.1236, allocations: 62.38 kB / 0.5011 GB, free: 14.81 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000147/0.1237, allocations: 84.36 kB / 0.5012 GB, free: 14.73 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002109/0.1259, allocations: 1.505 MB / 0.5027 GB, free: 13.19 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.043e-05/0.1259, allocations: 11.91 kB / 0.5027 GB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/0.126, allocations: 39.98 kB / 0.5027 GB, free: 13.14 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001159/0.1261, allocations: 98 kB / 0.5028 GB, free: 13.04 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002257/0.1284, allocations: 1.55 MB / 0.5043 GB, free: 11.48 MB / 398.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 preOpt removeSimpleEquations (simulation): time 0.007133/0.1355, allocations: 4.888 MB / 0.5091 GB, free: 6.383 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001727/0.1373, allocations: 1.18 MB / 0.5102 GB, free: 5.184 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009873/0.1383, allocations: 0.7646 MB / 0.511 GB, free: 4.414 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.074e-05/0.1384, allocations: 17.06 kB / 0.511 GB, free: 4.398 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.013e-05/0.1384, allocations: 43.56 kB / 0.511 GB, free: 4.348 MB / 398.1 MB Notification: Performance of pre-optimization done (n=107): time 3.307e-06/0.1384, allocations: 0 / 0.511 GB, free: 4.348 MB / 398.1 MB Notification: Performance of matching and sorting (n=108): time 0.007447/0.1459, allocations: 3.673 MB / 0.5146 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.853e-05/0.1459, allocations: 90.11 kB / 0.5147 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005582/0.1465, allocations: 469.8 kB / 0.5152 GB, free: 48 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001596/0.1467, allocations: 49.81 kB / 0.5152 GB, free: 15.99 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002723/0.1469, allocations: 427.3 kB / 0.5156 GB, free: 15.57 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003035/0.1473, allocations: 370.6 kB / 0.516 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003029/0.1476, allocations: 198.9 kB / 0.5162 GB, free: 15 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.1478, allocations: 386.8 kB / 0.5165 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007888/0.1486, allocations: 0.5296 MB / 0.517 GB, free: 14.08 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009565/0.1495, allocations: 0.7656 MB / 0.5178 GB, free: 13.24 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001873/0.1514, allocations: 1.4 MB / 0.5192 GB, free: 11.76 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.1514, allocations: 4 kB / 0.5192 GB, free: 11.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002961/0.1544, allocations: 1.805 MB / 0.5209 GB, free: 9.938 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.641e-05/0.1544, allocations: 11.98 kB / 0.5209 GB, free: 9.926 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/0.1544, allocations: 7.938 kB / 0.5209 GB, free: 9.918 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001121/0.1556, allocations: 409.9 kB / 0.5213 GB, free: 9.512 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008878/0.1565, allocations: 239.6 kB / 0.5216 GB, free: 9.277 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006884/0.1634, allocations: 6.067 MB / 0.5275 GB, free: 2.902 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000709/0.1641, allocations: 67.92 kB / 0.5276 GB, free: 2.836 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.663e-05/0.1642, allocations: 47.98 kB / 0.5276 GB, free: 2.789 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (105): * Single equations (assignments): 103 * Array equations: 0 * 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): 2 systems {(2,26,100.0%), (1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005092/0.1647, allocations: 361.4 kB / 0.5279 GB, free: 2.426 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001339/0.1649, allocations: 71.16 kB / 0.528 GB, free: 2.355 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003077/0.168, allocations: 1.81 MB / 0.5298 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.491e-05/0.168, allocations: 7.969 kB / 0.5298 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.168, allocations: 4 kB / 0.5298 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002009/0.1682, allocations: 152.2 kB / 0.5299 GB, free: 364 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.1683, allocations: 20 kB / 0.53 GB, free: 344 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004876/0.1688, allocations: 59.92 kB / 0.53 GB, free: 284 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001528/0.169, allocations: 92.84 kB / 0.5301 GB, free: 188 kB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.1835/0.3524, allocations: 2.002 MB / 0.5321 GB, free: 51.37 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003097/0.3556, allocations: 2.206 MB / 0.5342 GB, free: 50.7 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008094/0.3564, allocations: 0.6146 MB / 0.5348 GB, free: 50.51 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003455/0.3568, allocations: 324.9 kB / 0.5351 GB, free: 50.36 MB / 414.1 MB Notification: Performance of Backend: time 7.92e-07/0.3568, allocations: 0 / 0.5351 GB, free: 50.36 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003786/0.3606, allocations: 1.976 MB / 0.537 GB, free: 49.73 MB / 414.1 MB Notification: Performance of SimCode: time 0.002615/0.3632, allocations: 2.356 MB / 0.5394 GB, free: 48.39 MB / 414.1 MB Notification: Performance of Templates: time 0.02746/0.3907, allocations: 19.88 MB / 0.5588 GB, free: 39.07 MB / 414.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.sim & ./PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe 2>&1)