Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008305/0.0008305, allocations: 90 kB / 16.65 MB, free: 6.172 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.001007/0.001007, allocations: 181.4 kB / 17.56 MB, free: 5.852 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.457/1.457, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.2034/0.2034, allocations: 38.05 MB / 310.1 MB, free: 5.988 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.0005851/0.000585, allocations: 16 kB / 377.2 MB, free: 2.797 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3141/0.3147, allocations: 56.33 MB / 433.5 MB, free: 18.68 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.005386/0.3202, allocations: 7.174 MB / 440.7 MB, free: 11.48 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004722/0.325, allocations: 4.461 MB / 445.1 MB, free: 7 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004034/0.3254, allocations: 15.94 kB / 445.1 MB, free: 6.984 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003377/0.3257, allocations: 135 kB / 445.3 MB, free: 6.852 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002281/0.328, allocations: 1.145 MB / 446.4 MB, free: 5.703 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007765/0.3288, allocations: 283.3 kB / 446.7 MB, free: 5.426 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001805/0.3306, allocations: 2.588 MB / 449.3 MB, free: 2.832 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001964/0.3326, allocations: 1.256 MB / 450.5 MB, free: 1.555 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008858/0.3335, allocations: 481.7 kB / 451 MB, free: 1.082 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007806/0.3343, allocations: 0.6814 MB / 451.7 MB, free: 408 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.134e-05/0.3344, allocations: 32 kB / 451.7 MB, free: 376 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002673/0.337, allocations: 1.59 MB / 453.3 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003978/0.3375, allocations: 438.9 kB / 453.7 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003664/0.3378, allocations: 419.6 kB / 454.1 MB, free: 13.92 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001755/0.3396, allocations: 1.507 MB / 455.7 MB, free: 12.41 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.3396, allocations: 0 / 455.7 MB, free: 12.41 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3396, allocations: 3.938 kB / 455.7 MB, free: 12.41 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.006e-05/0.3396, allocations: 0 / 455.7 MB, free: 12.41 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.001395/0.341, allocations: 0.9836 MB / 456.6 MB, free: 11.37 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.3411, allocations: 8.031 kB / 456.7 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002921/0.344, allocations: 391.4 kB / 457 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006972/0.3447, allocations: 478.6 kB / 457.5 MB, free: 10.48 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.811e-05/0.3448, allocations: 58.34 kB / 457.6 MB, free: 10.42 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001417/0.345, allocations: 72.36 kB / 457.6 MB, free: 10.35 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001918/0.3469, allocations: 1.184 MB / 458.8 MB, free: 9.141 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.955e-05/0.3469, allocations: 0 / 458.8 MB, free: 9.141 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.469e-05/0.347, allocations: 31.98 kB / 458.8 MB, free: 9.109 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001101/0.3471, allocations: 73.95 kB / 458.9 MB, free: 9.039 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001908/0.3491, allocations: 1.241 MB / 460.2 MB, free: 7.797 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005409/0.3545, allocations: 3.531 MB / 463.7 MB, free: 4.168 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001614/0.3561, allocations: 1.065 MB / 464.8 MB, free: 3.09 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008303/0.357, allocations: 0.6605 MB / 465.4 MB, free: 2.422 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.271e-05/0.357, allocations: 16.97 kB / 465.4 MB, free: 2.402 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.897e-05/0.3571, allocations: 43.56 kB / 465.5 MB, free: 2.352 MB / 334.1 MB Notification: Performance of pre-optimization done (n=91): time 3.306e-06/0.3571, allocations: 0 / 465.5 MB, free: 2.352 MB / 334.1 MB Notification: Performance of matching and sorting (n=92): time 0.006565/0.3637, allocations: 3.11 MB / 468.6 MB, free: 15.21 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.64e-05/0.3638, allocations: 90.11 kB / 468.7 MB, free: 15.11 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004496/0.3642, allocations: 361.6 kB / 469 MB, free: 14.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.697e-05/0.3643, allocations: 41.7 kB / 469.1 MB, free: 14.7 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001999/0.3645, allocations: 312.2 kB / 469.4 MB, free: 14.39 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002887/0.3648, allocations: 323.4 kB / 469.7 MB, free: 14.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.3649, allocations: 69.69 kB / 469.8 MB, free: 14 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.3651, allocations: 370.8 kB / 470.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000627/0.3657, allocations: 465.7 kB / 470.6 MB, free: 13.17 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007264/0.3664, allocations: 0.5695 MB / 471.1 MB, free: 12.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001474/0.3679, allocations: 1.117 MB / 472.3 MB, free: 11.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.3679, allocations: 0 / 472.3 MB, free: 11.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002349/0.3703, allocations: 1.473 MB / 473.7 MB, free: 9.941 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.79e-05/0.3703, allocations: 8 kB / 473.7 MB, free: 9.934 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.3704, allocations: 0 / 473.7 MB, free: 9.934 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009611/0.3713, allocations: 340.7 kB / 474.1 MB, free: 9.598 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007047/0.372, allocations: 179.7 kB / 474.2 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005169/0.3772, allocations: 3.887 MB / 478.1 MB, free: 5.375 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000599/0.3778, allocations: 43.95 kB / 478.2 MB, free: 5.332 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.265e-05/0.3779, allocations: 39.98 kB / 478.2 MB, free: 5.293 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (80): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004797/0.3784, allocations: 293.5 kB / 478.5 MB, free: 4.996 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/0.3785, allocations: 63.28 kB / 478.6 MB, free: 4.934 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002621/0.3812, allocations: 1.567 MB / 480.1 MB, free: 3.352 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/0.3812, allocations: 12 kB / 480.1 MB, free: 3.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/0.3812, allocations: 4 kB / 480.1 MB, free: 3.336 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/0.3812, allocations: 7.969 kB / 480.2 MB, free: 3.328 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.004775/0.386, allocations: 3.032 MB / 483.2 MB, free: 172 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.845e-06/0.386, allocations: 8.062 kB / 483.2 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006846/0.3867, allocations: 167.8 kB / 483.4 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007814/0.3875, allocations: 280.5 kB / 483.6 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.486e-05/0.3876, allocations: 31.98 kB / 483.7 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00462/0.3922, allocations: 3.611 MB / 487.3 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.167e-06/0.3922, allocations: 4 kB / 487.3 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002431/0.3947, allocations: 1.596 MB / 488.9 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002492/0.3949, allocations: 148.3 kB / 489 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.153e-05/0.395, allocations: 23.98 kB / 489 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004496/0.3955, allocations: 39.97 kB / 489.1 MB, free: 10.03 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001636/0.3957, allocations: 84.77 kB / 489.2 MB, free: 9.949 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.343e-05/0.3958, allocations: 39.98 kB / 489.2 MB, free: 9.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003053/0.3961, allocations: 259.1 kB / 489.5 MB, free: 9.656 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3961, allocations: 7.938 kB / 489.5 MB, free: 9.648 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009647/0.397, allocations: 300 kB / 489.8 MB, free: 9.355 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 (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.0001999/0.3973, allocations: 135 kB / 489.9 MB, free: 9.215 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002266/0.3995, allocations: 1.389 MB / 491.3 MB, free: 7.816 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.3995, allocations: 0 / 491.3 MB, free: 7.816 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001189/0.4007, allocations: 0.8477 MB / 492.1 MB, free: 6.961 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008159/0.4016, allocations: 106.8 kB / 492.2 MB, free: 6.855 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00297/0.4045, allocations: 2.164 MB / 494.4 MB, free: 4.617 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007582/0.4053, allocations: 1.068 MB / 495.5 MB, free: 3.523 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004329/0.4058, allocations: 184.6 kB / 495.6 MB, free: 3.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001972/0.406, allocations: 63.41 kB / 495.7 MB, free: 3.277 MB / 366.1 MB Notification: Performance of SimCode: time 1.022e-06/0.406, allocations: 0 / 495.7 MB, free: 3.277 MB / 366.1 MB Notification: Performance of Templates: time 0.01634/0.4223, allocations: 9.309 MB / 0.4932 GB, free: 10 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.makefile Environment - environmentSimulation: (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.sim & ./PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe 2>&1) Environment - environmentSimulation: