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.0009173/0.0009174, allocations: 87.73 kB / 16.31 MB, free: 6.457 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.0009748/0.0009749, allocations: 184.1 kB / 17.21 MB, free: 6.32 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.336/1.336, allocations: 205.4 MB / 223.4 MB, free: 5.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.2993/0.2993, allocations: 38.05 MB / 309.7 MB, free: 9.004 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.0005798/0.0005799, allocations: 12 kB / 376.5 MB, free: 15.25 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1062, allocations: 56.33 MB / 432.9 MB, free: 6.82 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.006672/0.113, allocations: 6.753 MB / 439.6 MB, free: 44 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005062/0.1181, allocations: 4.163 MB / 443.8 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004075/0.1185, allocations: 15.94 kB / 443.8 MB, free: 11.85 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003564/0.1189, allocations: 131 kB / 443.9 MB, free: 11.72 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002054/0.1209, allocations: 0.8911 MB / 444.8 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006465/0.1216, allocations: 235.4 kB / 445 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001777/0.1234, allocations: 1.913 MB / 446.9 MB, free: 8.676 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002033/0.1254, allocations: 1.173 MB / 448.1 MB, free: 7.477 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008337/0.1263, allocations: 489.7 kB / 448.6 MB, free: 6.996 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007666/0.1271, allocations: 0.6581 MB / 449.3 MB, free: 6.336 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.917e-05/0.1271, allocations: 32 kB / 449.3 MB, free: 6.305 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001438/0.1286, allocations: 0.744 MB / 450 MB, free: 5.559 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003846/0.129, allocations: 442.9 kB / 450.5 MB, free: 5.125 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001787/0.1292, allocations: 181.2 kB / 450.6 MB, free: 4.941 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001131/0.1303, allocations: 1.025 MB / 451.7 MB, free: 3.914 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.1303, allocations: 4 kB / 451.7 MB, free: 3.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1303, allocations: 0 / 451.7 MB, free: 3.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.218e-05/0.1303, allocations: 0 / 451.7 MB, free: 3.91 MB / 382.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.001335/0.1317, allocations: 0.9951 MB / 452.7 MB, free: 2.863 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.1317, allocations: 8.031 kB / 452.7 MB, free: 2.855 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002733/0.1345, allocations: 390.5 kB / 453.1 MB, free: 2.473 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000636/0.1351, allocations: 461.6 kB / 453.5 MB, free: 1.984 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.906e-05/0.1352, allocations: 57.98 kB / 453.6 MB, free: 1.926 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001164/0.1353, allocations: 75.97 kB / 453.6 MB, free: 1.852 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001734/0.137, allocations: 1.172 MB / 454.8 MB, free: 0.6562 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.65e-05/0.1371, allocations: 3.906 kB / 454.8 MB, free: 0.6523 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.443e-05/0.1372, allocations: 31.98 kB / 454.8 MB, free: 0.6211 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.143e-05/0.1373, allocations: 81.94 kB / 454.9 MB, free: 0.5391 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1811/0.3184, allocations: 1.23 MB / 456.2 MB, free: 50.89 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004463/0.3229, allocations: 3.531 MB / 459.7 MB, free: 50.08 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001463/0.3244, allocations: 1.058 MB / 460.7 MB, free: 50.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006881/0.3251, allocations: 0.653 MB / 461.4 MB, free: 50 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.335e-05/0.3252, allocations: 14.17 kB / 461.4 MB, free: 50 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.3252, allocations: 49.11 kB / 461.5 MB, free: 49.96 MB / 382.1 MB Notification: Performance of pre-optimization done (n=91): time 3.387e-06/0.3252, allocations: 6.656 kB / 461.5 MB, free: 49.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=92): time 0.005519/0.3307, allocations: 3.043 MB / 464.5 MB, free: 49.25 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.081e-05/0.3308, allocations: 87.86 kB / 464.6 MB, free: 49.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003268/0.3312, allocations: 375.3 kB / 465 MB, free: 48.96 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.519e-05/0.3312, allocations: 44.52 kB / 465 MB, free: 48.92 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001491/0.3314, allocations: 312.1 kB / 465.3 MB, free: 48.67 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000204/0.3316, allocations: 316.7 kB / 465.6 MB, free: 48.43 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.143e-05/0.3316, allocations: 19.41 kB / 465.6 MB, free: 48.41 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.437e-05/0.3317, allocations: 361.7 kB / 466 MB, free: 48.08 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005346/0.3323, allocations: 467.6 kB / 466.4 MB, free: 47.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005811/0.3329, allocations: 0.5675 MB / 467 MB, free: 47.67 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006695/0.3336, allocations: 0.5385 MB / 467.6 MB, free: 47.46 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.3336, allocations: 0 / 467.6 MB, free: 47.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002133/0.3357, allocations: 1.467 MB / 469 MB, free: 46.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.883e-05/0.3358, allocations: 6.781 kB / 469 MB, free: 46.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.3358, allocations: 3.938 kB / 469 MB, free: 46.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008305/0.3366, allocations: 332.9 kB / 469.4 MB, free: 46.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006431/0.3373, allocations: 182.1 kB / 469.5 MB, free: 46.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004057/0.3413, allocations: 3.867 MB / 473.4 MB, free: 44.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005093/0.3419, allocations: 45.89 kB / 473.4 MB, free: 44.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.658e-05/0.342, allocations: 40.06 kB / 473.5 MB, free: 44.36 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 26} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003501/0.3423, allocations: 295.1 kB / 473.8 MB, free: 44.16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.136e-05/0.3424, allocations: 65.73 kB / 473.8 MB, free: 44.13 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002383/0.3448, allocations: 1.55 MB / 475.4 MB, free: 43.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/0.3448, allocations: 10.77 kB / 475.4 MB, free: 43.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.3448, allocations: 6.562 kB / 475.4 MB, free: 43.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.187e-05/0.3449, allocations: 10 kB / 475.4 MB, free: 43.52 MB / 382.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.003946/0.3488, allocations: 3.028 MB / 478.4 MB, free: 42.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.3489, allocations: 3.406 kB / 478.4 MB, free: 42.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005599/0.3494, allocations: 170.1 kB / 478.6 MB, free: 42.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006675/0.3501, allocations: 278 kB / 478.9 MB, free: 42.06 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-05/0.3502, allocations: 28.58 kB / 478.9 MB, free: 42.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003625/0.3538, allocations: 3.629 MB / 482.5 MB, free: 39.75 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.3538, allocations: 3.734 kB / 482.5 MB, free: 39.75 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00198/0.3558, allocations: 1.582 MB / 484.1 MB, free: 38.99 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001573/0.356, allocations: 146.3 kB / 484.3 MB, free: 38.86 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.349e-05/0.3561, allocations: 21.12 kB / 484.3 MB, free: 38.85 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000375/0.3565, allocations: 44.75 kB / 484.3 MB, free: 38.83 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/0.3566, allocations: 77.12 kB / 484.4 MB, free: 38.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.01e-05/0.3567, allocations: 38.45 kB / 484.4 MB, free: 38.81 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002096/0.3569, allocations: 260.1 kB / 484.7 MB, free: 38.67 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3569, allocations: 0 / 484.7 MB, free: 38.67 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008665/0.3577, allocations: 304.7 kB / 485 MB, free: 38.64 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 (82): * Single equations (assignments): 80 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001345/0.3579, allocations: 128.9 kB / 485.1 MB, free: 38.53 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001717/0.3596, allocations: 1.387 MB / 486.5 MB, free: 37.99 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.3596, allocations: 0 / 486.5 MB, free: 37.99 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009735/0.3606, allocations: 0.8409 MB / 487.3 MB, free: 37.61 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000656/0.3613, allocations: 105.8 kB / 487.5 MB, free: 37.56 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002505/0.3638, allocations: 2.086 MB / 489.5 MB, free: 36.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005279/0.3644, allocations: 1.066 MB / 490.6 MB, free: 35.67 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004422/0.3648, allocations: 183 kB / 490.8 MB, free: 35.65 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002079/0.365, allocations: 67.2 kB / 490.8 MB, free: 35.64 MB / 382.1 MB Notification: Performance of SimCode: time 8.42e-07/0.365, allocations: 0 / 490.8 MB, free: 35.64 MB / 382.1 MB Notification: Performance of Templates: time 0.01661/0.3816, allocations: 9.066 MB / 499.9 MB, free: 35.07 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: