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.001231/0.001231, allocations: 117.8 kB / 17.7 MB, free: 5.305 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.001092/0.001092, allocations: 191 kB / 18.63 MB, free: 4.375 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.605/1.605, allocations: 205.1 MB / 224.5 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1803/0.1803, allocations: 37.98 MB / 309.8 MB, free: 5.98 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.001427/0.001428, allocations: 67.91 kB / 376.8 MB, free: 2.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.287/0.2885, allocations: 55.24 MB / 432 MB, free: 19.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.006588/0.2951, allocations: 7.439 MB / 439.5 MB, free: 12.04 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004704/0.2998, allocations: 4.487 MB / 443.9 MB, free: 7.531 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003445/0.3002, allocations: 12 kB / 444 MB, free: 7.52 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002077/0.3023, allocations: 1.034 MB / 445 MB, free: 6.484 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002712/0.3051, allocations: 1.269 MB / 446.3 MB, free: 5.211 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009208/0.306, allocations: 351 kB / 446.6 MB, free: 4.867 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001215/0.3072, allocations: 1.395 MB / 448 MB, free: 3.469 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008752/0.3081, allocations: 0.8008 MB / 448.8 MB, free: 2.656 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007194/0.3088, allocations: 0.6381 MB / 449.4 MB, free: 2.016 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006774/0.3095, allocations: 0.7438 MB / 450.2 MB, free: 1.27 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.833e-05/0.3096, allocations: 80 kB / 450.3 MB, free: 1.191 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003283/0.3129, allocations: 1.516 MB / 451.8 MB, free: 15.67 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007128/0.3137, allocations: 0.6118 MB / 452.4 MB, free: 15.06 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006379/0.3143, allocations: 0.5677 MB / 453 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002645/0.317, allocations: 1.878 MB / 454.8 MB, free: 12.61 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.847e-06/0.317, allocations: 0 / 454.8 MB, free: 12.61 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.926e-06/0.317, allocations: 0 / 454.8 MB, free: 12.61 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.862e-05/0.317, allocations: 0 / 454.8 MB, free: 12.61 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.002188/0.3192, allocations: 1.338 MB / 456.2 MB, free: 11.22 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.3193, allocations: 11.89 kB / 456.2 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003816/0.3231, allocations: 0.538 MB / 456.7 MB, free: 10.67 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001037/0.3241, allocations: 0.5675 MB / 457.3 MB, free: 10.06 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.332e-05/0.3242, allocations: 66.36 kB / 457.4 MB, free: 9.992 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000158/0.3244, allocations: 88.36 kB / 457.4 MB, free: 9.906 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0023/0.3267, allocations: 1.501 MB / 458.9 MB, free: 8.367 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.076e-05/0.3267, allocations: 3.938 kB / 458.9 MB, free: 8.363 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.897e-05/0.3268, allocations: 39.98 kB / 459 MB, free: 8.324 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001667/0.327, allocations: 102 kB / 459.1 MB, free: 8.223 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002429/0.3294, allocations: 1.546 MB / 460.6 MB, free: 6.668 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.007678/0.3371, allocations: 4.888 MB / 465.5 MB, free: 1.57 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001805/0.3389, allocations: 1.176 MB / 466.7 MB, free: 388 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001017/0.34, allocations: 0.7685 MB / 467.5 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.306e-05/0.3401, allocations: 17.06 kB / 467.5 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.018e-05/0.3401, allocations: 55.55 kB / 467.5 MB, free: 15.53 MB / 350.1 MB Notification: Performance of pre-optimization done (n=107): time 3.266e-06/0.3401, allocations: 0 / 467.5 MB, free: 15.53 MB / 350.1 MB Notification: Performance of matching and sorting (n=108): time 0.007595/0.3477, allocations: 3.689 MB / 471.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.756e-05/0.3478, allocations: 86.11 kB / 471.3 MB, free: 11.69 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005398/0.3484, allocations: 473.8 kB / 471.8 MB, free: 11.22 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.421e-05/0.3484, allocations: 45.69 kB / 471.8 MB, free: 11.17 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002652/0.3487, allocations: 419.5 kB / 472.2 MB, free: 10.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002941/0.349, allocations: 366.6 kB / 472.6 MB, free: 10.39 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003033/0.3493, allocations: 202.9 kB / 472.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002191/0.3496, allocations: 386.8 kB / 473.2 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007454/0.3503, allocations: 0.5335 MB / 473.7 MB, free: 9.262 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008672/0.3512, allocations: 0.7539 MB / 474.4 MB, free: 8.426 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001715/0.3529, allocations: 1.392 MB / 475.8 MB, free: 6.957 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.3529, allocations: 7.938 kB / 475.8 MB, free: 6.949 MB / 350.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.00286/0.3558, allocations: 1.813 MB / 477.7 MB, free: 5.121 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.3558, allocations: 4 kB / 477.7 MB, free: 5.117 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.3558, allocations: 8 kB / 477.7 MB, free: 5.109 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001107/0.357, allocations: 406.8 kB / 478.1 MB, free: 4.707 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008822/0.3578, allocations: 235.6 kB / 478.3 MB, free: 4.477 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007212/0.3651, allocations: 6.064 MB / 484.4 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007805/0.3659, allocations: 67.78 kB / 484.4 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.951e-05/0.366, allocations: 48.05 kB / 484.5 MB, free: 13.99 MB / 366.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.0005965/0.3666, allocations: 365.4 kB / 484.8 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001388/0.3667, allocations: 71.16 kB / 484.9 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00306/0.3698, allocations: 1.807 MB / 486.7 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.207e-05/0.3698, allocations: 12 kB / 486.7 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.956e-06/0.3698, allocations: 7.938 kB / 486.7 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/0.3699, allocations: 3.984 kB / 486.7 MB, free: 11.71 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.005809/0.3757, allocations: 3.481 MB / 490.2 MB, free: 8.102 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.578e-06/0.3757, allocations: 7.938 kB / 490.2 MB, free: 8.094 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007373/0.3764, allocations: 187.7 kB / 490.4 MB, free: 7.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009131/0.3774, allocations: 349.7 kB / 490.7 MB, free: 7.562 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.004e-05/0.3775, allocations: 31.92 kB / 490.8 MB, free: 7.531 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007679/0.3851, allocations: 5.778 MB / 496.6 MB, free: 1.457 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.624e-06/0.3852, allocations: 4 kB / 496.6 MB, free: 1.453 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003069/0.3883, allocations: 1.829 MB / 498.4 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003139/0.3886, allocations: 156.2 kB / 498.5 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001179/0.3887, allocations: 24 kB / 498.6 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005154/0.3892, allocations: 55.94 kB / 498.6 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001958/0.3894, allocations: 88.77 kB / 498.7 MB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.189e-05/0.3895, allocations: 43.98 kB / 498.7 MB, free: 15.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004428/0.39, allocations: 327 kB / 499.1 MB, free: 14.86 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.39, allocations: 0 / 499.1 MB, free: 14.86 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001367/0.3914, allocations: 396 kB / 499.5 MB, free: 14.47 MB / 382.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.0002006/0.3916, allocations: 138.5 kB / 499.6 MB, free: 14.32 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00265/0.3942, allocations: 1.759 MB / 0.4896 GB, free: 12.54 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.3943, allocations: 0 / 0.4896 GB, free: 12.54 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001566/0.3958, allocations: 1.073 MB / 0.4906 GB, free: 11.44 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007618/0.3966, allocations: 133.7 kB / 0.4908 GB, free: 11.32 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00357/0.4002, allocations: 2.201 MB / 0.4929 GB, free: 9.043 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009325/0.4011, allocations: 1.174 MB / 0.4941 GB, free: 7.844 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005607/0.4017, allocations: 237.4 kB / 0.4943 GB, free: 7.609 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002308/0.4019, allocations: 63.41 kB / 0.4944 GB, free: 7.547 MB / 382.1 MB Notification: Performance of SimCode: time 1.212e-06/0.4019, allocations: 4 kB / 0.4944 GB, free: 7.543 MB / 382.1 MB Notification: Performance of Templates: time 0.02139/0.4233, allocations: 12.42 MB / 0.5065 GB, free: 11.14 MB / 398.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 -s cvode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe 2>&1)