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.001346/0.001346, allocations: 95.53 kB / 16.3 MB, free: 5.996 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.00134/0.00134, allocations: 185 kB / 17.2 MB, free: 5.914 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.749/1.749, allocations: 205.4 MB / 223.4 MB, free: 13.17 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1715/0.1715, allocations: 38.05 MB / 309.7 MB, free: 6.141 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.0005108/0.000511, allocations: 16 kB / 376.5 MB, free: 3.215 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2471/0.2476, allocations: 56.32 MB / 432.8 MB, free: 18.87 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.005472/0.2531, allocations: 6.488 MB / 439.3 MB, free: 12.36 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004924/0.2581, allocations: 4.082 MB / 443.4 MB, free: 8.262 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004364/0.2586, allocations: 19.94 kB / 443.4 MB, free: 8.242 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003778/0.259, allocations: 143.2 kB / 443.5 MB, free: 8.102 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00175/0.2607, allocations: 0.7048 MB / 444.2 MB, free: 7.395 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005953/0.2613, allocations: 255.4 kB / 444.5 MB, free: 7.145 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005963/0.2619, allocations: 0.5886 MB / 445.1 MB, free: 6.555 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001808/0.2638, allocations: 1.277 MB / 446.3 MB, free: 5.254 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005093/0.2643, allocations: 398.6 kB / 446.7 MB, free: 4.863 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003661/0.2647, allocations: 390.8 kB / 447.1 MB, free: 4.48 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.991e-05/0.2647, allocations: 40 kB / 447.2 MB, free: 4.441 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00146/0.2662, allocations: 0.8772 MB / 448 MB, free: 3.562 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002996/0.2665, allocations: 0.4989 MB / 448.5 MB, free: 3.062 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001592/0.2667, allocations: 217.2 kB / 448.7 MB, free: 2.844 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001102/0.2678, allocations: 1.333 MB / 450.1 MB, free: 1.508 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2678, allocations: 0 / 450.1 MB, free: 1.508 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.2678, allocations: 4 kB / 450.1 MB, free: 1.504 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.155e-05/0.2678, allocations: 0 / 450.1 MB, free: 1.504 MB / 318.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.001475/0.2693, allocations: 1.178 MB / 451.3 MB, free: 280 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.2693, allocations: 11.97 kB / 451.3 MB, free: 268 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003966/0.2733, allocations: 0.6424 MB / 451.9 MB, free: 15.62 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000989/0.2743, allocations: 0.5393 MB / 452.5 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.786e-05/0.2744, allocations: 62 kB / 452.5 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001623/0.2746, allocations: 87.98 kB / 452.6 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002209/0.2768, allocations: 1.457 MB / 454.1 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.073e-05/0.2768, allocations: 3.984 kB / 454.1 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001161/0.2769, allocations: 43.94 kB / 454.1 MB, free: 13.35 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001154/0.2771, allocations: 101.9 kB / 454.2 MB, free: 13.25 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00218/0.2793, allocations: 1.48 MB / 455.7 MB, free: 11.76 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.007268/0.2865, allocations: 4.872 MB / 460.6 MB, free: 6.676 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001748/0.2883, allocations: 1.159 MB / 461.7 MB, free: 5.5 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.108e-05/0.2884, allocations: 21.11 kB / 461.7 MB, free: 5.48 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.699e-05/0.2884, allocations: 55.56 kB / 461.8 MB, free: 5.418 MB / 334.1 MB Notification: Performance of pre-optimization done (n=107): time 2.805e-06/0.2884, allocations: 0 / 461.8 MB, free: 5.418 MB / 334.1 MB Notification: Performance of matching and sorting (n=108): time 0.007213/0.2957, allocations: 3.609 MB / 465.4 MB, free: 1.758 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.956e-05/0.2957, allocations: 90.11 kB / 465.5 MB, free: 1.652 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005188/0.2963, allocations: 469.7 kB / 465.9 MB, free: 1.184 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.365e-05/0.2963, allocations: 49.67 kB / 466 MB, free: 1.129 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002734/0.2966, allocations: 427.4 kB / 466.4 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000307/0.2969, allocations: 370.6 kB / 466.8 MB, free: 344 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.158e-05/0.297, allocations: 20 kB / 466.8 MB, free: 324 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.2972, allocations: 386.8 kB / 467.2 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007506/0.2979, allocations: 0.5179 MB / 467.7 MB, free: 15.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008872/0.2988, allocations: 0.7305 MB / 468.4 MB, free: 14.6 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009031/0.2997, allocations: 0.6471 MB / 469.1 MB, free: 13.96 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.2998, allocations: 4 kB / 469.1 MB, free: 13.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002875/0.3026, allocations: 1.771 MB / 470.8 MB, free: 12.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/0.3027, allocations: 8 kB / 470.8 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/0.3027, allocations: 8 kB / 470.9 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001082/0.3038, allocations: 409.5 kB / 471.3 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008921/0.3047, allocations: 235.6 kB / 471.5 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006922/0.3116, allocations: 5.731 MB / 477.2 MB, free: 5.488 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001175/0.3129, allocations: 75.94 kB / 477.3 MB, free: 5.414 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001029/0.313, allocations: 40 kB / 477.3 MB, free: 5.375 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.0008416/0.3138, allocations: 369.4 kB / 477.7 MB, free: 5.004 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000187/0.314, allocations: 71.16 kB / 477.8 MB, free: 4.934 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00304/0.3171, allocations: 1.775 MB / 479.5 MB, free: 3.145 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.351e-05/0.3171, allocations: 12 kB / 479.5 MB, free: 3.133 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.317e-06/0.3171, allocations: 8 kB / 479.6 MB, free: 3.125 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.522e-05/0.3171, allocations: 11.97 kB / 479.6 MB, free: 3.113 MB / 350.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.005975/0.3231, allocations: 3.427 MB / 483 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.949e-05/0.3232, allocations: 4 kB / 483 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007349/0.3239, allocations: 183.8 kB / 483.2 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009548/0.3249, allocations: 362.2 kB / 483.5 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.858e-05/0.325, allocations: 20 kB / 483.6 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006518/0.3315, allocations: 5.468 MB / 489 MB, free: 9.242 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.3315, allocations: 4 kB / 489 MB, free: 9.238 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00304/0.3346, allocations: 1.969 MB / 491 MB, free: 7.105 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002815/0.3349, allocations: 156.2 kB / 491.1 MB, free: 6.934 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/0.335, allocations: 24 kB / 491.2 MB, free: 6.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005078/0.3355, allocations: 55.94 kB / 491.2 MB, free: 6.855 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001734/0.3357, allocations: 100.7 kB / 491.3 MB, free: 6.758 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.259e-05/0.3357, allocations: 28 kB / 491.3 MB, free: 6.73 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004081/0.3361, allocations: 327.1 kB / 491.7 MB, free: 6.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3362, allocations: 0 / 491.7 MB, free: 6.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001249/0.3374, allocations: 392 kB / 492.1 MB, free: 6.027 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.0001866/0.3376, allocations: 131.1 kB / 492.2 MB, free: 5.891 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002523/0.3401, allocations: 1.709 MB / 493.9 MB, free: 4.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.3402, allocations: 0 / 493.9 MB, free: 4.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001418/0.3416, allocations: 1.066 MB / 495 MB, free: 3.074 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005664/0.3422, allocations: 102.9 kB / 495.1 MB, free: 2.969 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003452/0.3456, allocations: 2.588 MB / 497.6 MB, free: 324 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008631/0.3465, allocations: 1.192 MB / 498.8 MB, free: 15.1 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000577/0.3471, allocations: 241.4 kB / 499.1 MB, free: 14.86 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001945/0.3473, allocations: 63.42 kB / 499.1 MB, free: 14.8 MB / 382.1 MB Notification: Performance of SimCode: time 8.82e-07/0.3473, allocations: 4 kB / 499.1 MB, free: 14.79 MB / 382.1 MB Notification: Performance of Templates: time 0.01762/0.3649, allocations: 11.02 MB / 0.4982 GB, free: 3.812 MB / 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: