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.00138/0.00138, allocations: 115.5 kB / 17.69 MB, free: 5.312 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.001686/0.001686, allocations: 191 kB / 18.63 MB, free: 4.379 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.459/1.459, allocations: 205.1 MB / 224.5 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1948/0.1948, allocations: 37.98 MB / 309.8 MB, free: 5.984 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.002494/0.002495, allocations: 67.91 kB / 376.8 MB, free: 2.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.2393, allocations: 55.25 MB / 432 MB, free: 19.48 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.00652/0.2458, allocations: 7.439 MB / 439.5 MB, free: 12.02 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00478/0.2506, allocations: 4.48 MB / 443.9 MB, free: 7.52 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005184/0.2512, allocations: 15.94 kB / 444 MB, free: 7.504 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002102/0.2533, allocations: 1.03 MB / 445 MB, free: 6.473 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002517/0.2559, allocations: 1.277 MB / 446.3 MB, free: 5.191 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007865/0.2567, allocations: 343 kB / 446.6 MB, free: 4.855 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001382/0.2581, allocations: 1.395 MB / 448 MB, free: 3.457 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008518/0.2589, allocations: 0.8086 MB / 448.8 MB, free: 2.637 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008771/0.2598, allocations: 0.6381 MB / 449.4 MB, free: 1.996 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009731/0.2608, allocations: 0.736 MB / 450.2 MB, free: 1.258 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001425/0.261, allocations: 80 kB / 450.3 MB, free: 1.18 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0023/0.2633, allocations: 1.52 MB / 451.8 MB, free: 15.65 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000683/0.264, allocations: 0.6002 MB / 452.4 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009472/0.2649, allocations: 0.5676 MB / 452.9 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002494/0.2674, allocations: 1.885 MB / 454.8 MB, free: 12.59 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.2674, allocations: 7.984 kB / 454.8 MB, free: 12.59 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.2674, allocations: 0 / 454.8 MB, free: 12.59 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.421e-05/0.2675, allocations: 0 / 454.8 MB, free: 12.59 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.001798/0.2693, allocations: 1.328 MB / 456.2 MB, free: 11.21 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.2693, allocations: 19.89 kB / 456.2 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003663/0.273, allocations: 0.5341 MB / 456.7 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001036/0.274, allocations: 0.5675 MB / 457.3 MB, free: 10.05 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.649e-05/0.2741, allocations: 66.36 kB / 457.4 MB, free: 9.98 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001562/0.2743, allocations: 92.34 kB / 457.4 MB, free: 9.891 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002035/0.2763, allocations: 1.501 MB / 458.9 MB, free: 8.352 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.216e-05/0.2763, allocations: 11.92 kB / 459 MB, free: 8.34 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.691e-05/0.2764, allocations: 31.98 kB / 459 MB, free: 8.309 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001012/0.2766, allocations: 98.02 kB / 459.1 MB, free: 8.211 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002167/0.2787, allocations: 1.546 MB / 460.6 MB, free: 6.656 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.007176/0.2859, allocations: 4.892 MB / 465.5 MB, free: 1.555 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001694/0.2876, allocations: 1.176 MB / 466.7 MB, free: 372 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001001/0.2886, allocations: 0.7691 MB / 467.5 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.684e-05/0.2887, allocations: 24.89 kB / 467.5 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.661e-05/0.2888, allocations: 47.56 kB / 467.5 MB, free: 15.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=107): time 3.727e-06/0.2888, allocations: 0 / 467.5 MB, free: 15.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=108): time 0.007169/0.296, allocations: 3.681 MB / 471.2 MB, free: 11.78 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.683e-05/0.296, allocations: 94.03 kB / 471.3 MB, free: 11.67 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004993/0.2966, allocations: 473.8 kB / 471.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.044e-05/0.2966, allocations: 41.7 kB / 471.8 MB, free: 11.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00028/0.2969, allocations: 419.5 kB / 472.2 MB, free: 10.74 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003063/0.2972, allocations: 370.6 kB / 472.6 MB, free: 10.37 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002891/0.2975, allocations: 206.8 kB / 472.8 MB, free: 10.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.2977, allocations: 382.8 kB / 473.2 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007553/0.2985, allocations: 0.5335 MB / 473.7 MB, free: 9.246 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009527/0.2994, allocations: 0.7539 MB / 474.4 MB, free: 8.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001871/0.3013, allocations: 1.396 MB / 475.8 MB, free: 6.938 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/0.3013, allocations: 7.938 kB / 475.9 MB, free: 6.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002907/0.3042, allocations: 1.81 MB / 477.7 MB, free: 5.105 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/0.3043, allocations: 8 kB / 477.7 MB, free: 5.098 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.3043, allocations: 4 kB / 477.7 MB, free: 5.094 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001085/0.3054, allocations: 406.6 kB / 478.1 MB, free: 4.691 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008462/0.3062, allocations: 235.6 kB / 478.3 MB, free: 4.461 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006835/0.3131, allocations: 6.067 MB / 484.4 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007237/0.3138, allocations: 67.84 kB / 484.4 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.542e-05/0.3139, allocations: 47.98 kB / 484.5 MB, free: 13.97 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.0004975/0.3144, allocations: 361.5 kB / 484.8 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000126/0.3146, allocations: 71.16 kB / 484.9 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002846/0.3174, allocations: 1.814 MB / 486.7 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.959e-06/0.3174, allocations: 12 kB / 486.7 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.3175, allocations: 7.938 kB / 486.7 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/0.3175, allocations: 11.97 kB / 486.7 MB, free: 11.68 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.005534/0.323, allocations: 3.457 MB / 490.2 MB, free: 8.094 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.734e-06/0.323, allocations: 4.438 kB / 490.2 MB, free: 8.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006945/0.3237, allocations: 195.7 kB / 490.4 MB, free: 7.898 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008698/0.3246, allocations: 349.4 kB / 490.7 MB, free: 7.551 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.945e-05/0.3247, allocations: 35.92 kB / 490.8 MB, free: 7.516 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006154/0.3309, allocations: 5.775 MB / 496.6 MB, free: 1.445 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.662e-06/0.3309, allocations: 7.938 kB / 496.6 MB, free: 1.438 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002752/0.3337, allocations: 1.829 MB / 498.4 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002156/0.3339, allocations: 160.2 kB / 498.5 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001/0.334, allocations: 27.98 kB / 498.6 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004832/0.3345, allocations: 47.95 kB / 498.6 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001782/0.3347, allocations: 92.75 kB / 498.7 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.649e-05/0.3348, allocations: 36 kB / 498.7 MB, free: 15.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003287/0.3351, allocations: 331 kB / 499.1 MB, free: 14.84 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3351, allocations: 0 / 499.1 MB, free: 14.84 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001061/0.3362, allocations: 400 kB / 499.5 MB, free: 14.45 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.0001658/0.3364, allocations: 134.9 kB / 499.6 MB, free: 14.3 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002437/0.3388, allocations: 1.76 MB / 0.4896 GB, free: 12.52 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.3388, allocations: 0 / 0.4896 GB, free: 12.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001351/0.3402, allocations: 1.073 MB / 0.4906 GB, free: 11.42 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006654/0.3408, allocations: 126.9 kB / 0.4908 GB, free: 11.3 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003092/0.344, allocations: 2.2 MB / 0.4929 GB, free: 9.031 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000739/0.3447, allocations: 1.174 MB / 0.4941 GB, free: 7.832 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004893/0.3452, allocations: 241.4 kB / 0.4943 GB, free: 7.594 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002062/0.3454, allocations: 63.42 kB / 0.4944 GB, free: 7.531 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3454, allocations: 0 / 0.4944 GB, free: 7.531 MB / 382.1 MB Notification: Performance of Templates: time 0.01861/0.3641, allocations: 12.43 MB / 0.5065 GB, free: 11.13 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 gbode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe 2>&1)