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.001594/0.001594, allocations: 107.6 kB / 17.06 MB, free: 5.824 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.001804/0.001804, allocations: 192 kB / 18 MB, free: 4.977 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.54/1.54, allocations: 205.1 MB / 223.9 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.1854/0.1854, allocations: 38 MB / 309.2 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.001429/0.001429, allocations: 71.88 kB / 431.9 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1489, allocations: 55.23 MB / 487.1 MB, free: 8.348 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.01017/0.1591, allocations: 7.449 MB / 494.6 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007028/0.1662, allocations: 4.48 MB / 499 MB, free: 12.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009482/0.1672, allocations: 16 kB / 499.1 MB, free: 12.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002647/0.17, allocations: 1.027 MB / 0.4884 GB, free: 11.31 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003758/0.1738, allocations: 1.277 MB / 0.4896 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00119/0.175, allocations: 339 kB / 0.4899 GB, free: 9.699 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002223/0.1772, allocations: 1.402 MB / 0.4913 GB, free: 8.293 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001418/0.1786, allocations: 0.8086 MB / 0.4921 GB, free: 7.473 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001683/0.1803, allocations: 0.6342 MB / 0.4927 GB, free: 6.836 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009868/0.1813, allocations: 0.7398 MB / 0.4934 GB, free: 6.094 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001225/0.1815, allocations: 84 kB / 0.4935 GB, free: 6.012 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003546/0.185, allocations: 1.52 MB / 0.495 GB, free: 4.488 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006403/0.1857, allocations: 0.6001 MB / 0.4956 GB, free: 3.887 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006577/0.1864, allocations: 0.5715 MB / 0.4961 GB, free: 3.312 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003593/0.19, allocations: 1.874 MB / 0.498 GB, free: 1.434 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.047e-05/0.19, allocations: 0 / 0.498 GB, free: 1.434 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.957e-06/0.19, allocations: 0 / 0.498 GB, free: 1.434 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.357e-05/0.19, allocations: 0 / 0.498 GB, free: 1.434 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.002382/0.1924, allocations: 1.342 MB / 0.4993 GB, free: 40 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.931e-05/0.1925, allocations: 11.89 kB / 0.4993 GB, free: 28 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0039/0.1964, allocations: 0.5459 MB / 0.4998 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001183/0.1976, allocations: 0.556 MB / 0.5004 GB, free: 14.88 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.587e-05/0.1977, allocations: 70.34 kB / 0.5004 GB, free: 14.81 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000179/0.1979, allocations: 84.36 kB / 0.5005 GB, free: 14.73 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002546/0.2004, allocations: 1.501 MB / 0.502 GB, free: 13.19 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.086e-05/0.2005, allocations: 11.91 kB / 0.502 GB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/0.2006, allocations: 39.98 kB / 0.502 GB, free: 13.14 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001226/0.2007, allocations: 98 kB / 0.5021 GB, free: 13.04 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002403/0.2031, allocations: 1.546 MB / 0.5036 GB, free: 11.49 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.007723/0.2109, allocations: 4.892 MB / 0.5084 GB, free: 6.387 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001789/0.2127, allocations: 1.176 MB / 0.5096 GB, free: 5.191 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001001/0.2137, allocations: 0.7646 MB / 0.5103 GB, free: 4.422 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.346e-05/0.2138, allocations: 17.06 kB / 0.5103 GB, free: 4.406 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.933e-05/0.2138, allocations: 47.55 kB / 0.5104 GB, free: 4.352 MB / 398.1 MB Notification: Performance of pre-optimization done (n=107): time 4.849e-06/0.2138, allocations: 0 / 0.5104 GB, free: 4.352 MB / 398.1 MB Notification: Performance of matching and sorting (n=108): time 0.007956/0.2218, allocations: 3.677 MB / 0.514 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.539e-05/0.2219, allocations: 90.11 kB / 0.514 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006825/0.2226, allocations: 465.8 kB / 0.5145 GB, free: 52 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001307/0.2228, allocations: 49.81 kB / 0.5145 GB, free: 15.99 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004624/0.2232, allocations: 431.4 kB / 0.515 GB, free: 15.56 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004248/0.2237, allocations: 366.6 kB / 0.5153 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003396/0.224, allocations: 194.9 kB / 0.5155 GB, free: 15.01 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001823/0.2242, allocations: 386.8 kB / 0.5159 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007797/0.225, allocations: 0.5374 MB / 0.5164 GB, free: 14.08 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001008/0.226, allocations: 0.7617 MB / 0.5171 GB, free: 13.24 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00192/0.2279, allocations: 1.404 MB / 0.5185 GB, free: 11.76 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.243e-06/0.228, allocations: 3.938 kB / 0.5185 GB, free: 11.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003102/0.2311, allocations: 1.809 MB / 0.5203 GB, free: 9.934 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.962e-05/0.2311, allocations: 11.91 kB / 0.5203 GB, free: 9.922 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.472e-05/0.2311, allocations: 7.938 kB / 0.5203 GB, free: 9.914 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001195/0.2323, allocations: 417.8 kB / 0.5207 GB, free: 9.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008781/0.2332, allocations: 235.6 kB / 0.5209 GB, free: 9.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007958/0.2412, allocations: 6.059 MB / 0.5268 GB, free: 2.902 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001076/0.2423, allocations: 63.94 kB / 0.5269 GB, free: 2.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.721e-05/0.2424, allocations: 43.98 kB / 0.5269 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.000784/0.2432, allocations: 365.4 kB / 0.5273 GB, free: 2.43 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001539/0.2434, allocations: 71.16 kB / 0.5273 GB, free: 2.359 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003018/0.2464, allocations: 1.81 MB / 0.5291 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.204e-05/0.2464, allocations: 12 kB / 0.5291 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.2465, allocations: 15.94 kB / 0.5291 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.249e-05/0.2465, allocations: 3.984 kB / 0.5291 GB, free: 0.5078 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.3643/0.6108, allocations: 3.453 MB / 0.5325 GB, free: 50.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.279e-05/0.6108, allocations: 5.281 kB / 0.5325 GB, free: 50.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007829/0.6116, allocations: 189.3 kB / 0.5327 GB, free: 50.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009592/0.6126, allocations: 354 kB / 0.533 GB, free: 50.29 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.216e-05/0.6127, allocations: 25.7 kB / 0.5331 GB, free: 50.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006734/0.6194, allocations: 5.785 MB / 0.5387 GB, free: 46.41 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/0.6194, allocations: 4.938 kB / 0.5387 GB, free: 46.41 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003568/0.623, allocations: 1.835 MB / 0.5405 GB, free: 45.6 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002369/0.6233, allocations: 158.4 kB / 0.5407 GB, free: 45.5 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.93e-05/0.6234, allocations: 25.02 kB / 0.5407 GB, free: 45.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005023/0.6239, allocations: 52.05 kB / 0.5407 GB, free: 45.47 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002309/0.6241, allocations: 95.53 kB / 0.5408 GB, free: 45.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.783e-05/0.6242, allocations: 37.48 kB / 0.5409 GB, free: 45.44 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004598/0.6247, allocations: 324.1 kB / 0.5412 GB, free: 45.29 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.142e-06/0.6247, allocations: 1.062 kB / 0.5412 GB, free: 45.29 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00169/0.6264, allocations: 397.4 kB / 0.5415 GB, free: 45.26 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.0002129/0.6266, allocations: 131.5 kB / 0.5417 GB, free: 45.14 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003448/0.6301, allocations: 1.754 MB / 0.5434 GB, free: 44.4 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.6301, allocations: 3.938 kB / 0.5434 GB, free: 44.4 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001818/0.6319, allocations: 1.072 MB / 0.5444 GB, free: 43.88 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008508/0.6328, allocations: 128.9 kB / 0.5446 GB, free: 43.81 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004359/0.6371, allocations: 2.208 MB / 0.5467 GB, free: 42.82 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001312/0.6385, allocations: 1.171 MB / 0.5479 GB, free: 42.07 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0007796/0.6393, allocations: 235.9 kB / 0.5481 GB, free: 42.05 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002569/0.6395, allocations: 67.64 kB / 0.5482 GB, free: 42.04 MB / 414.1 MB Notification: Performance of SimCode: time 1.613e-06/0.6395, allocations: 0 / 0.5482 GB, free: 42.04 MB / 414.1 MB Notification: Performance of Templates: time 0.02288/0.6624, allocations: 12.74 MB / 0.5606 GB, free: 35.89 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)