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.001229/0.001229, allocations: 95.08 kB / 16.3 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.001256/0.001257, allocations: 184.5 kB / 17.19 MB, free: 6.34 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.824/1.824, allocations: 205.4 MB / 223.3 MB, free: 13.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1889/0.1889, allocations: 38.03 MB / 309.7 MB, free: 6.145 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.0006313/0.0006314, allocations: 19.12 kB / 376.5 MB, free: 3.227 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3182/0.3188, allocations: 56.32 MB / 432.8 MB, free: 18.88 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.00534/0.3242, allocations: 6.48 MB / 439.3 MB, free: 12.38 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004003/0.3283, allocations: 4.031 MB / 443.3 MB, free: 8.328 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003156/0.3286, allocations: 23.88 kB / 443.3 MB, free: 8.305 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003003/0.3289, allocations: 143.2 kB / 443.5 MB, free: 8.164 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001735/0.3307, allocations: 0.6268 MB / 444.1 MB, free: 7.535 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007229/0.3314, allocations: 247.3 kB / 444.3 MB, free: 7.293 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006489/0.3321, allocations: 0.5808 MB / 444.9 MB, free: 6.711 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001645/0.3337, allocations: 1.173 MB / 446.1 MB, free: 5.516 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005077/0.3343, allocations: 386.6 kB / 446.5 MB, free: 5.137 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003742/0.3346, allocations: 346.9 kB / 446.8 MB, free: 4.797 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.83e-05/0.3347, allocations: 32 kB / 446.8 MB, free: 4.766 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001262/0.336, allocations: 0.6977 MB / 447.5 MB, free: 4.066 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002371/0.3362, allocations: 395.2 kB / 447.9 MB, free: 3.68 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001206/0.3363, allocations: 169.3 kB / 448.1 MB, free: 3.508 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009259/0.3373, allocations: 1.029 MB / 449.1 MB, free: 2.477 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.564e-06/0.3373, allocations: 4 kB / 449.1 MB, free: 2.473 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3373, allocations: 0 / 449.1 MB, free: 2.473 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.936e-06/0.3373, allocations: 0 / 449.1 MB, free: 2.473 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.001255/0.3386, allocations: 0.9912 MB / 450.1 MB, free: 1.43 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.3386, allocations: 8.031 kB / 450.1 MB, free: 1.422 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003004/0.3416, allocations: 434.5 kB / 450.5 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006708/0.3423, allocations: 469.5 kB / 451 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.135e-05/0.3424, allocations: 57.98 kB / 451.1 MB, free: 452 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.494e-05/0.3425, allocations: 64 kB / 451.1 MB, free: 388 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00163/0.3441, allocations: 1.168 MB / 452.3 MB, free: 15.18 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.419e-05/0.3441, allocations: 3.906 kB / 452.3 MB, free: 15.18 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.591e-05/0.3442, allocations: 39.88 kB / 452.3 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-05/0.3443, allocations: 69.95 kB / 452.4 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001696/0.346, allocations: 1.241 MB / 453.6 MB, free: 13.83 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005112/0.3511, allocations: 3.519 MB / 457.2 MB, free: 10.21 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001478/0.3526, allocations: 1.069 MB / 458.2 MB, free: 9.129 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.438e-05/0.3527, allocations: 21.03 kB / 458.2 MB, free: 9.109 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/0.3527, allocations: 47.5 kB / 458.3 MB, free: 9.055 MB / 334.1 MB Notification: Performance of pre-optimization done (n=91): time 2.304e-06/0.3527, allocations: 0 / 458.3 MB, free: 9.055 MB / 334.1 MB Notification: Performance of matching and sorting (n=92): time 0.005991/0.3587, allocations: 3.065 MB / 461.4 MB, free: 5.961 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.056e-05/0.3588, allocations: 90.11 kB / 461.4 MB, free: 5.852 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003956/0.3592, allocations: 361.5 kB / 461.8 MB, free: 5.492 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.104e-05/0.3593, allocations: 41.7 kB / 461.8 MB, free: 5.445 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001639/0.3594, allocations: 308.2 kB / 462.1 MB, free: 5.137 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002701/0.3597, allocations: 319.4 kB / 462.5 MB, free: 4.82 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.875e-05/0.3598, allocations: 16.03 kB / 462.5 MB, free: 4.805 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001933/0.36, allocations: 370.8 kB / 462.8 MB, free: 4.434 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006018/0.3606, allocations: 465.7 kB / 463.3 MB, free: 3.98 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000671/0.3613, allocations: 0.5579 MB / 463.8 MB, free: 3.395 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007209/0.362, allocations: 0.5417 MB / 464.4 MB, free: 2.852 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.362, allocations: 0 / 464.4 MB, free: 2.852 MB / 334.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002405/0.3644, allocations: 1.473 MB / 465.9 MB, free: 1.371 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.3645, allocations: 8 kB / 465.9 MB, free: 1.363 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.3645, allocations: 0 / 465.9 MB, free: 1.363 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009129/0.3654, allocations: 336.6 kB / 466.2 MB, free: 1.031 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000668/0.3661, allocations: 179.7 kB / 466.4 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005281/0.3714, allocations: 3.961 MB / 470.3 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004938/0.3719, allocations: 51.94 kB / 470.4 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.6e-05/0.372, allocations: 31.98 kB / 470.4 MB, free: 12.66 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 (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.0003974/0.3724, allocations: 293.5 kB / 470.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.3725, allocations: 63.31 kB / 470.8 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002853/0.3753, allocations: 1.559 MB / 472.3 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.686e-05/0.3754, allocations: 15.95 kB / 472.3 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.3754, allocations: 8 kB / 472.3 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/0.3754, allocations: 3.984 kB / 472.3 MB, free: 10.69 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.005153/0.3806, allocations: 3.024 MB / 475.4 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.817e-06/0.3806, allocations: 4 kB / 475.4 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006183/0.3812, allocations: 167.8 kB / 475.5 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007945/0.382, allocations: 288.8 kB / 475.8 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.109e-05/0.3821, allocations: 24 kB / 475.8 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004615/0.3867, allocations: 3.7 MB / 479.5 MB, free: 3.219 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/0.3868, allocations: 11.88 kB / 479.6 MB, free: 3.207 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0025/0.3893, allocations: 1.762 MB / 481.3 MB, free: 1.285 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002232/0.3895, allocations: 144.3 kB / 481.5 MB, free: 1.125 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.768e-05/0.3896, allocations: 24 kB / 481.5 MB, free: 1.102 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004174/0.39, allocations: 43.91 kB / 481.5 MB, free: 1.059 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001343/0.3902, allocations: 84.83 kB / 481.6 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.685e-05/0.3902, allocations: 32 kB / 481.6 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002869/0.3905, allocations: 259.1 kB / 481.9 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3905, allocations: 0 / 481.9 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009973/0.3915, allocations: 304 kB / 482.2 MB, free: 404 kB / 350.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.0001897/0.3917, allocations: 123.1 kB / 482.3 MB, free: 272 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002125/0.3939, allocations: 1.385 MB / 483.7 MB, free: 14.87 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.3939, allocations: 0.5625 kB / 483.7 MB, free: 14.87 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001117/0.395, allocations: 0.8391 MB / 484.5 MB, free: 14.01 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004763/0.3955, allocations: 102.9 kB / 484.6 MB, free: 13.92 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003129/0.3986, allocations: 2.078 MB / 486.7 MB, free: 11.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007293/0.3994, allocations: 1.085 MB / 487.8 MB, free: 10.65 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004464/0.3998, allocations: 188.5 kB / 488 MB, free: 10.47 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000193/0.4, allocations: 67.41 kB / 488.1 MB, free: 10.4 MB / 366.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4001, allocations: 0 / 488.1 MB, free: 10.4 MB / 366.1 MB Notification: Performance of Templates: time 0.01476/0.4148, allocations: 9.049 MB / 497.1 MB, free: 1.391 MB / 366.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: