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.001641/0.001641, allocations: 111.8 kB / 17.74 MB, free: 5.336 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.002032/0.002032, allocations: 193.5 kB / 18.67 MB, free: 4.414 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.518/1.518, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1821/0.1821, allocations: 37.98 MB / 309.9 MB, free: 5.949 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.001346/0.001346, allocations: 67.91 kB / 432.5 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1025, allocations: 55.24 MB / 487.8 MB, free: 8.34 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.008752/0.1113, allocations: 7.449 MB / 495.2 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006005/0.1173, allocations: 4.48 MB / 499.7 MB, free: 12.35 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005651/0.1179, allocations: 12 kB / 499.7 MB, free: 12.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002642/0.1206, allocations: 1.035 MB / 0.489 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00326/0.1239, allocations: 1.277 MB / 0.4903 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001029/0.1249, allocations: 339 kB / 0.4906 GB, free: 9.688 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001902/0.1268, allocations: 1.399 MB / 0.492 GB, free: 8.285 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001201/0.128, allocations: 0.8008 MB / 0.4927 GB, free: 7.473 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001207/0.1292, allocations: 0.642 MB / 0.4934 GB, free: 6.828 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001231/0.1305, allocations: 0.7477 MB / 0.4941 GB, free: 6.078 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002001/0.1307, allocations: 76 kB / 0.4942 GB, free: 6.004 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002801/0.1335, allocations: 1.516 MB / 0.4957 GB, free: 4.484 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007316/0.1343, allocations: 0.6079 MB / 0.4962 GB, free: 3.875 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001114/0.1354, allocations: 0.5599 MB / 0.4968 GB, free: 3.312 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00317/0.1386, allocations: 1.885 MB / 0.4986 GB, free: 1.422 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1386, allocations: 0 / 0.4986 GB, free: 1.422 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.1386, allocations: 0 / 0.4986 GB, free: 1.422 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.733e-05/0.1386, allocations: 4 kB / 0.4986 GB, free: 1.418 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.002527/0.1412, allocations: 1.33 MB / 0.4999 GB, free: 36 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.1412, allocations: 11.89 kB / 0.4999 GB, free: 24 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004099/0.1453, allocations: 0.542 MB / 0.5005 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001205/0.1466, allocations: 0.5638 MB / 0.501 GB, free: 14.87 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.473e-05/0.1466, allocations: 62.38 kB / 0.5011 GB, free: 14.81 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002136/0.1469, allocations: 88.36 kB / 0.5012 GB, free: 14.73 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002466/0.1493, allocations: 1.509 MB / 0.5026 GB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.237e-05/0.1494, allocations: 3.906 kB / 0.5027 GB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.525e-05/0.1495, allocations: 35.98 kB / 0.5027 GB, free: 13.14 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001244/0.1496, allocations: 98 kB / 0.5028 GB, free: 13.04 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002424/0.152, 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.008231/0.1603, allocations: 4.896 MB / 0.5091 GB, free: 6.379 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001981/0.1623, allocations: 1.184 MB / 0.5102 GB, free: 5.176 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001029/0.1633, allocations: 0.7685 MB / 0.511 GB, free: 4.402 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.404e-05/0.1634, allocations: 17.06 kB / 0.511 GB, free: 4.387 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.699e-05/0.1635, allocations: 47.55 kB / 0.511 GB, free: 4.332 MB / 398.1 MB Notification: Performance of pre-optimization done (n=107): time 3.326e-06/0.1635, allocations: 4 kB / 0.511 GB, free: 4.328 MB / 398.1 MB Notification: Performance of matching and sorting (n=108): time 0.008428/0.1719, allocations: 3.673 MB / 0.5146 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.894e-05/0.172, allocations: 86.11 kB / 0.5147 GB, free: 0.5 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006779/0.1727, allocations: 481.8 kB / 0.5152 GB, free: 20 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.381e-05/0.1728, allocations: 41.7 kB / 0.5152 GB, free: 15.97 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003298/0.1731, allocations: 423.4 kB / 0.5156 GB, free: 15.55 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003917/0.1735, allocations: 370.6 kB / 0.516 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003471/0.1739, allocations: 198.9 kB / 0.5162 GB, free: 14.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002271/0.1741, allocations: 382.8 kB / 0.5165 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008767/0.175, allocations: 0.5374 MB / 0.517 GB, free: 14.06 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001042/0.1761, allocations: 0.7578 MB / 0.5178 GB, free: 13.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002026/0.1781, allocations: 1.4 MB / 0.5192 GB, free: 11.75 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-05/0.1781, allocations: 3.938 kB / 0.5192 GB, free: 11.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003287/0.1814, allocations: 1.809 MB / 0.5209 GB, free: 9.922 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.635e-05/0.1815, allocations: 4 kB / 0.5209 GB, free: 9.918 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.792e-05/0.1815, allocations: 8.5 kB / 0.5209 GB, free: 9.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00118/0.1827, allocations: 421.3 kB / 0.5213 GB, free: 9.492 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009297/0.1836, allocations: 231.6 kB / 0.5216 GB, free: 9.266 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008295/0.1919, allocations: 6.055 MB / 0.5275 GB, free: 2.902 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008549/0.1928, allocations: 63.94 kB / 0.5275 GB, free: 2.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001441/0.193, allocations: 43.98 kB / 0.5276 GB, free: 2.797 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.0005958/0.1936, allocations: 365.3 kB / 0.5279 GB, free: 2.43 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00017/0.1938, allocations: 71.22 kB / 0.528 GB, free: 2.359 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003248/0.197, allocations: 1.826 MB / 0.5298 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.144e-05/0.197, allocations: 12 kB / 0.5298 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.558e-05/0.1971, allocations: 7.938 kB / 0.5298 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/0.1971, allocations: 7.922 kB / 0.5298 GB, free: 0.4961 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.246/0.4431, allocations: 3.45 MB / 0.5332 GB, free: 50.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.648e-06/0.4431, allocations: 3.688 kB / 0.5332 GB, free: 50.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007724/0.4439, allocations: 191 kB / 0.5334 GB, free: 50.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009825/0.4449, allocations: 348.6 kB / 0.5337 GB, free: 50.32 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-05/0.445, allocations: 27.56 kB / 0.5337 GB, free: 50.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006216/0.4512, allocations: 5.788 MB / 0.5394 GB, free: 46.44 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.466e-06/0.4512, allocations: 4.516 kB / 0.5394 GB, free: 46.44 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003123/0.4544, allocations: 1.826 MB / 0.5412 GB, free: 45.63 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002355/0.4546, allocations: 159.9 kB / 0.5413 GB, free: 45.53 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.837e-05/0.4547, allocations: 26.97 kB / 0.5413 GB, free: 45.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005423/0.4553, allocations: 47.75 kB / 0.5414 GB, free: 45.5 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001963/0.4555, allocations: 96.38 kB / 0.5415 GB, free: 45.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.603e-05/0.4556, allocations: 36.97 kB / 0.5415 GB, free: 45.48 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004083/0.456, allocations: 330 kB / 0.5418 GB, free: 45.33 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.456, allocations: 0 / 0.5418 GB, free: 45.33 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001327/0.4573, allocations: 396.5 kB / 0.5422 GB, free: 45.29 MB / 414.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 (91): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {(1,7,100.0%), (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.0001902/0.4575, allocations: 133.3 kB / 0.5423 GB, free: 45.17 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002742/0.4603, allocations: 1.756 MB / 0.544 GB, free: 44.43 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.4603, allocations: 1.219 kB / 0.544 GB, free: 44.43 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001536/0.4618, allocations: 1.071 MB / 0.5451 GB, free: 43.91 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007911/0.4626, allocations: 137 kB / 0.5452 GB, free: 43.84 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003826/0.4665, allocations: 2.304 MB / 0.5475 GB, free: 42.78 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008596/0.4674, allocations: 1.173 MB / 0.5486 GB, free: 42.03 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003102/0.4677, allocations: 74.19 kB / 0.5487 GB, free: 42.02 MB / 414.1 MB Notification: Performance of SimCode: time 1.332e-06/0.4677, allocations: 0 / 0.5487 GB, free: 42.02 MB / 414.1 MB Notification: Performance of Templates: time 0.02229/0.49, allocations: 18.27 MB / 0.5665 GB, free: 30.38 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)