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.0007729/0.0007731, allocations: 86.81 kB / 16.31 MB, free: 5.676 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.0008453/0.0008454, allocations: 183 kB / 17.21 MB, free: 5.59 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.316/1.316, allocations: 205.4 MB / 223.4 MB, free: 13.15 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1681/0.1681, allocations: 38.03 MB / 309.7 MB, free: 6.121 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.0005516/0.0005518, allocations: 12 kB / 376.5 MB, free: 3.191 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2185/0.2191, allocations: 56.34 MB / 432.8 MB, free: 18.85 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.004597/0.2237, allocations: 6.769 MB / 439.6 MB, free: 12.06 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003907/0.2277, allocations: 4.214 MB / 443.8 MB, free: 7.828 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003347/0.228, allocations: 15.94 kB / 443.8 MB, free: 7.812 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003124/0.2284, allocations: 135 kB / 444 MB, free: 7.68 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001765/0.2301, allocations: 0.9537 MB / 444.9 MB, free: 6.723 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006241/0.2308, allocations: 263.3 kB / 445.2 MB, free: 6.465 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001314/0.2321, allocations: 1.921 MB / 447.1 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001729/0.2338, allocations: 1.274 MB / 448.4 MB, free: 3.242 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008303/0.2347, allocations: 0.4938 MB / 448.9 MB, free: 2.746 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007219/0.2354, allocations: 0.7401 MB / 449.6 MB, free: 2.004 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.795e-05/0.2355, allocations: 40 kB / 449.6 MB, free: 1.965 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001696/0.2372, allocations: 0.9196 MB / 450.6 MB, free: 1.043 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003711/0.2376, allocations: 0.5768 MB / 451.1 MB, free: 476 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001618/0.2377, allocations: 217.2 kB / 451.4 MB, free: 252 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001521/0.2393, allocations: 1.348 MB / 452.7 MB, free: 14.89 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2393, allocations: 0 / 452.7 MB, free: 14.89 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2393, allocations: 0 / 452.7 MB, free: 14.89 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.536e-05/0.2393, allocations: 0 / 452.7 MB, free: 14.89 MB / 334.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.001598/0.2409, allocations: 1.17 MB / 453.9 MB, free: 13.67 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.241, allocations: 12.03 kB / 453.9 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003459/0.2444, allocations: 0.541 MB / 454.4 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008055/0.2452, allocations: 0.5432 MB / 455 MB, free: 12.53 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.346e-05/0.2453, allocations: 69.98 kB / 455 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001386/0.2455, allocations: 83.98 kB / 455.1 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002198/0.2477, allocations: 1.485 MB / 456.6 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.036e-05/0.2477, allocations: 19.92 kB / 456.6 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.172e-05/0.2478, allocations: 39.94 kB / 456.7 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001166/0.2479, allocations: 102 kB / 456.8 MB, free: 10.7 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002179/0.2501, allocations: 1.534 MB / 458.3 MB, free: 9.152 MB / 334.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.007104/0.2572, allocations: 4.943 MB / 463.2 MB, free: 4 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001649/0.2589, allocations: 1.172 MB / 464.4 MB, free: 2.812 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009443/0.2599, allocations: 0.7572 MB / 465.2 MB, free: 2.051 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.493e-05/0.26, allocations: 25.05 kB / 465.2 MB, free: 2.027 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.26, allocations: 51.5 kB / 465.2 MB, free: 1.969 MB / 334.1 MB Notification: Performance of pre-optimization done (n=107): time 3.306e-06/0.26, allocations: 0 / 465.2 MB, free: 1.969 MB / 334.1 MB Notification: Performance of matching and sorting (n=108): time 0.006861/0.2669, allocations: 3.65 MB / 468.9 MB, free: 14.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.185e-05/0.267, allocations: 98.03 kB / 469 MB, free: 14.15 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004843/0.2674, allocations: 469.8 kB / 469.4 MB, free: 13.69 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.623e-05/0.2675, allocations: 41.7 kB / 469.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002508/0.2678, allocations: 427.4 kB / 469.9 MB, free: 13.21 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002903/0.2681, allocations: 374.6 kB / 470.3 MB, free: 12.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.865e-05/0.2681, allocations: 20 kB / 470.3 MB, free: 12.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.2683, allocations: 382.8 kB / 470.7 MB, free: 12.44 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007308/0.269, allocations: 0.5335 MB / 471.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008541/0.2699, allocations: 0.7501 MB / 471.9 MB, free: 11.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008788/0.2708, allocations: 0.6548 MB / 472.6 MB, free: 10.42 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.2708, allocations: 4 kB / 472.6 MB, free: 10.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002714/0.2735, allocations: 1.794 MB / 474.4 MB, free: 8.613 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.2735, allocations: 8 kB / 474.4 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.2736, allocations: 4 kB / 474.4 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009657/0.2745, allocations: 409.6 kB / 474.8 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008093/0.2754, allocations: 235.6 kB / 475 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006097/0.2815, allocations: 5.61 MB / 480.7 MB, free: 2.059 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006519/0.2821, allocations: 71.92 kB / 480.7 MB, free: 1.988 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001167/0.2823, allocations: 47.98 kB / 480.8 MB, free: 1.941 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 26,(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005177/0.2828, allocations: 353.4 kB / 481.1 MB, free: 1.586 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001418/0.2829, allocations: 71.16 kB / 481.2 MB, free: 1.516 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002951/0.2859, allocations: 1.803 MB / 483 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/0.2859, allocations: 16 kB / 483 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.2859, allocations: 4 kB / 483 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.384e-05/0.286, allocations: 11.97 kB / 483 MB, free: 15.67 MB / 366.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.005093/0.2911, allocations: 3.462 MB / 486.5 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.425e-06/0.2911, allocations: 4 kB / 486.5 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006926/0.2918, allocations: 184.2 kB / 486.7 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008476/0.2926, allocations: 361.3 kB / 487 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.511e-05/0.2927, allocations: 24 kB / 487 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0057/0.2984, allocations: 5.34 MB / 492.4 MB, free: 5.883 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.2985, allocations: 7.984 kB / 492.4 MB, free: 5.875 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002761/0.3012, allocations: 1.808 MB / 494.2 MB, free: 4 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002557/0.3015, allocations: 164.1 kB / 494.4 MB, free: 3.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001344/0.3017, allocations: 31.98 kB / 494.4 MB, free: 3.789 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004981/0.3022, allocations: 51.89 kB / 494.4 MB, free: 3.738 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001646/0.3023, allocations: 92.77 kB / 494.5 MB, free: 3.645 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.571e-05/0.3024, allocations: 36 kB / 494.6 MB, free: 3.609 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003613/0.3028, allocations: 327.1 kB / 494.9 MB, free: 3.293 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.172e-06/0.3028, allocations: 0 / 494.9 MB, free: 3.293 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001217/0.304, allocations: 399.9 kB / 495.3 MB, free: 2.902 MB / 366.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 7,(2,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001805/0.3042, allocations: 127.1 kB / 495.4 MB, free: 2.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002539/0.3068, allocations: 1.748 MB / 497.1 MB, free: 1.004 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.3068, allocations: 0 / 497.1 MB, free: 1.004 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001511/0.3083, allocations: 1.073 MB / 498.2 MB, free: 15.9 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008151/0.3091, allocations: 123.4 kB / 498.3 MB, free: 15.78 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003944/0.3131, allocations: 2.583 MB / 0.4892 GB, free: 13.13 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000988/0.3141, allocations: 1.174 MB / 0.4903 GB, free: 11.93 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006434/0.3148, allocations: 237.4 kB / 0.4906 GB, free: 11.69 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002429/0.315, allocations: 71.34 kB / 0.4906 GB, free: 11.62 MB / 382.1 MB Notification: Performance of SimCode: time 6.72e-07/0.315, allocations: 0 / 0.4906 GB, free: 11.62 MB / 382.1 MB Notification: Performance of Templates: time 0.01699/0.332, allocations: 11.19 MB / 0.5016 GB, free: 472 kB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: