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.001476/0.001476, allocations: 112.5 kB / 17.68 MB, free: 5.469 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.001796/0.001796, allocations: 192 kB / 18.61 MB, free: 4.543 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.517/1.517, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.2056/0.2056, allocations: 38 MB / 309.8 MB, free: 5.961 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.001538/0.001538, allocations: 68.47 kB / 376.8 MB, free: 2.918 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2255/0.2271, allocations: 55.25 MB / 432 MB, free: 19.49 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.007116/0.2343, allocations: 7.42 MB / 439.4 MB, free: 12.05 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004477/0.2388, allocations: 4.437 MB / 443.9 MB, free: 7.59 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002797/0.2391, allocations: 12 kB / 443.9 MB, free: 7.578 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001902/0.241, allocations: 1.034 MB / 444.9 MB, free: 6.543 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002024/0.2431, allocations: 1.203 MB / 446.1 MB, free: 5.336 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007036/0.2438, allocations: 319.1 kB / 446.4 MB, free: 5.023 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001191/0.245, allocations: 1.402 MB / 447.8 MB, free: 3.617 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007177/0.2457, allocations: 0.6534 MB / 448.5 MB, free: 2.961 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005923/0.2463, allocations: 0.6107 MB / 449.1 MB, free: 2.348 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006096/0.2469, allocations: 0.6775 MB / 449.8 MB, free: 1.668 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.758e-05/0.247, allocations: 68 kB / 449.8 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001984/0.249, allocations: 1.333 MB / 451.2 MB, free: 272 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003699/0.2494, allocations: 483 kB / 451.6 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003965/0.2498, allocations: 441.9 kB / 452.1 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001597/0.2514, allocations: 1.449 MB / 453.5 MB, free: 13.91 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.2514, allocations: 0 / 453.5 MB, free: 13.91 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.2514, allocations: 0 / 453.5 MB, free: 13.91 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.07e-05/0.2514, allocations: 0 / 453.5 MB, free: 13.91 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.001551/0.253, allocations: 1.137 MB / 454.7 MB, free: 12.72 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.253, allocations: 15.88 kB / 454.7 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002932/0.256, allocations: 383.4 kB / 455.1 MB, free: 12.33 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008002/0.2568, allocations: 490.6 kB / 455.5 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.504e-05/0.2568, allocations: 54.36 kB / 455.6 MB, free: 11.76 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001286/0.257, allocations: 72.36 kB / 455.7 MB, free: 11.69 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00165/0.2586, allocations: 1.18 MB / 456.8 MB, free: 10.49 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.481e-05/0.2587, allocations: 0 / 456.8 MB, free: 10.49 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.532e-05/0.2588, allocations: 35.98 kB / 456.9 MB, free: 10.45 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001029/0.2589, allocations: 73.95 kB / 456.9 MB, free: 10.38 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001698/0.2606, allocations: 1.241 MB / 458.2 MB, free: 9.141 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005148/0.2657, allocations: 3.499 MB / 461.7 MB, free: 5.539 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001572/0.2673, allocations: 1.057 MB / 462.7 MB, free: 4.465 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008441/0.2682, allocations: 0.6604 MB / 463.4 MB, free: 3.801 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.346e-05/0.2683, allocations: 20.97 kB / 463.4 MB, free: 3.777 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.715e-05/0.2683, allocations: 47.78 kB / 463.5 MB, free: 3.723 MB / 334.1 MB Notification: Performance of pre-optimization done (n=91): time 2.855e-06/0.2683, allocations: 3.938 kB / 463.5 MB, free: 3.719 MB / 334.1 MB Notification: Performance of matching and sorting (n=92): time 0.006312/0.2747, allocations: 3.087 MB / 466.6 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.123e-05/0.2747, allocations: 86.11 kB / 466.6 MB, free: 0.5 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003466/0.2751, allocations: 369.5 kB / 467 MB, free: 136 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.257e-05/0.2751, allocations: 41.7 kB / 467 MB, free: 88 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001796/0.2753, allocations: 312.2 kB / 467.4 MB, free: 15.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002322/0.2756, allocations: 319.3 kB / 467.7 MB, free: 15.46 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002246/0.2758, allocations: 154.6 kB / 467.8 MB, free: 15.3 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.276, allocations: 370.8 kB / 468.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006236/0.2766, allocations: 465.7 kB / 468.6 MB, free: 14.47 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006838/0.2773, allocations: 0.5657 MB / 469.2 MB, free: 13.88 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001442/0.2787, allocations: 1.117 MB / 470.3 MB, free: 12.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2787, allocations: 0 / 470.3 MB, free: 12.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002264/0.281, allocations: 1.477 MB / 471.8 MB, free: 11.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.281, allocations: 8 kB / 471.8 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.281, allocations: 4 kB / 471.8 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008965/0.2819, allocations: 333.9 kB / 472.1 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006679/0.2826, allocations: 183.7 kB / 472.3 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00522/0.2879, allocations: 4.191 MB / 476.5 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004702/0.2883, allocations: 43.95 kB / 476.5 MB, free: 6.328 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-05/0.2884, allocations: 39.98 kB / 476.6 MB, free: 6.289 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.0004547/0.2889, allocations: 293.6 kB / 476.9 MB, free: 5.992 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/0.289, allocations: 59.34 kB / 476.9 MB, free: 5.934 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002572/0.2916, allocations: 1.559 MB / 478.5 MB, free: 4.363 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.849e-06/0.2916, allocations: 8 kB / 478.5 MB, free: 4.355 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.2916, allocations: 4 kB / 478.5 MB, free: 4.352 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.21e-05/0.2916, allocations: 11.98 kB / 478.5 MB, free: 4.34 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.005031/0.2967, allocations: 3.031 MB / 481.5 MB, free: 1.172 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-05/0.2967, allocations: 12.05 kB / 481.6 MB, free: 1.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006613/0.2974, allocations: 163.8 kB / 481.7 MB, free: 1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008079/0.2982, allocations: 284.5 kB / 482 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-05/0.2983, allocations: 27.98 kB / 482 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005163/0.3035, allocations: 3.908 MB / 485.9 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/0.3035, allocations: 4 kB / 485.9 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002483/0.306, allocations: 1.598 MB / 487.5 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001873/0.3062, allocations: 140.3 kB / 487.7 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.325e-05/0.3063, allocations: 23.94 kB / 487.7 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004246/0.3067, allocations: 55.83 kB / 487.7 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001403/0.3069, allocations: 76.89 kB / 487.8 MB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.79e-05/0.3069, allocations: 32 kB / 487.8 MB, free: 10.62 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002693/0.3072, allocations: 263.1 kB / 488.1 MB, free: 10.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3072, allocations: 3.938 kB / 488.1 MB, free: 10.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009324/0.3082, allocations: 304 kB / 488.4 MB, free: 10.06 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.0001571/0.3083, allocations: 131 kB / 488.5 MB, free: 9.926 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002094/0.3104, allocations: 1.408 MB / 489.9 MB, free: 8.508 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.3104, allocations: 0.5625 kB / 489.9 MB, free: 8.508 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001151/0.3116, allocations: 0.8387 MB / 490.8 MB, free: 7.66 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006572/0.3123, allocations: 113.2 kB / 490.9 MB, free: 7.555 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002743/0.315, allocations: 1.778 MB / 492.7 MB, free: 5.703 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007448/0.3158, allocations: 1.075 MB / 493.7 MB, free: 4.602 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004108/0.3162, allocations: 180.6 kB / 493.9 MB, free: 4.422 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000194/0.3164, allocations: 67.41 kB / 494 MB, free: 4.355 MB / 366.1 MB Notification: Performance of SimCode: time 1.142e-06/0.3164, allocations: 0 / 494 MB, free: 4.355 MB / 366.1 MB Notification: Performance of Templates: time 0.01566/0.3321, allocations: 10.11 MB / 0.4923 GB, free: 10.28 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.makefile (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 -s gbode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe 2>&1)