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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.002079/0.002079, allocations: 112.1 kB / 17.29 MB, free: 6.219 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.002538/0.002538, allocations: 197.3 kB / 18.21 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 3.182/3.182, allocations: 222.9 MB / 241.9 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.3629/0.3629, allocations: 38.02 MB / 330.1 MB, free: 8.988 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002733/0.002733, allocations: 62.41 kB / 398.9 MB, free: 34.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2015/0.2042, allocations: 58.06 MB / 457 MB, free: 8.434 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.01769/0.222, allocations: 7.619 MB / 464.6 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01204/0.2341, allocations: 4.416 MB / 469 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001144/0.2353, allocations: 19.88 kB / 469.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004458/0.2398, allocations: 0.9767 MB / 470 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006412/0.2462, allocations: 1.141 MB / 471.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001959/0.2482, allocations: 291.3 kB / 471.5 MB, free: 9.918 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003447/0.2517, allocations: 1.403 MB / 472.9 MB, free: 8.512 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002468/0.2543, allocations: 0.7469 MB / 473.6 MB, free: 7.758 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00223/0.2565, allocations: 0.6108 MB / 474.2 MB, free: 7.145 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001766/0.2584, allocations: 0.7399 MB / 475 MB, free: 6.402 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00034/0.2587, allocations: 64 kB / 475 MB, free: 6.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004545/0.2633, allocations: 1.336 MB / 476.4 MB, free: 5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001301/0.2646, allocations: 478.9 kB / 476.8 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001408/0.2661, allocations: 441.9 kB / 477.3 MB, free: 4.098 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003305/0.2694, allocations: 1.107 MB / 478.4 MB, free: 2.988 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.418e-06/0.2695, allocations: 0 / 478.4 MB, free: 2.988 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.006e-06/0.2695, allocations: 4 kB / 478.4 MB, free: 2.984 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.745e-05/0.2695, allocations: 0 / 478.4 MB, free: 2.984 MB / 350.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.003021/0.2726, allocations: 1.124 MB / 479.5 MB, free: 1.812 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.818e-05/0.2726, allocations: 11.89 kB / 479.5 MB, free: 1.801 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004651/0.2773, allocations: 383.4 kB / 479.9 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001843/0.2792, allocations: 478.7 kB / 480.3 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001426/0.2794, allocations: 58.36 kB / 480.4 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004928/0.2799, allocations: 64.38 kB / 480.5 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004196/0.2841, allocations: 1.18 MB / 481.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.764e-05/0.2842, allocations: 3.906 kB / 481.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002235/0.2844, allocations: 31.98 kB / 481.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002019/0.2847, allocations: 73.95 kB / 481.8 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003592/0.2883, allocations: 1.249 MB / 483 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008645/0.2969, allocations: 3.503 MB / 486.5 MB, free: 10.63 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002049/0.299, allocations: 1.066 MB / 487.6 MB, free: 9.547 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001155/0.3002, allocations: 0.6566 MB / 488.2 MB, free: 8.887 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.885e-05/0.3004, allocations: 20.97 kB / 488.2 MB, free: 8.863 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.355e-05/0.3005, allocations: 43.56 kB / 488.3 MB, free: 8.812 MB / 366.1 MB Notification: Performance of pre-optimization done (n=91): time 4.688e-06/0.3005, allocations: 0 / 488.3 MB, free: 8.812 MB / 366.1 MB Notification: Performance of matching and sorting (n=92): time 0.008483/0.309, allocations: 3.091 MB / 491.4 MB, free: 5.691 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.169e-05/0.3091, allocations: 86.11 kB / 491.5 MB, free: 5.59 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005232/0.3096, allocations: 365.5 kB / 491.8 MB, free: 5.227 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.317e-05/0.3098, allocations: 41.7 kB / 491.9 MB, free: 5.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002725/0.31, allocations: 316.1 kB / 492.2 MB, free: 4.863 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003771/0.3104, allocations: 311.4 kB / 492.5 MB, free: 4.555 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000317/0.3107, allocations: 158.5 kB / 492.6 MB, free: 4.395 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002113/0.311, allocations: 370.8 kB / 493 MB, free: 4.023 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001187/0.3122, allocations: 473.7 kB / 493.5 MB, free: 3.559 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001394/0.3136, allocations: 0.5695 MB / 494 MB, free: 2.965 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00277/0.3164, allocations: 1.113 MB / 495.1 MB, free: 1.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.127e-06/0.3165, allocations: 0 / 495.1 MB, free: 1.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.00448/0.321, allocations: 1.481 MB / 496.6 MB, free: 336 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.764e-05/0.321, allocations: 4 kB / 496.6 MB, free: 332 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.762e-05/0.3211, allocations: 4 kB / 496.6 MB, free: 328 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001721/0.3228, allocations: 340.8 kB / 497 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001221/0.324, allocations: 183.7 kB / 497.1 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008049/0.3321, allocations: 4.181 MB / 0.4896 GB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007791/0.3329, allocations: 47.94 kB / 0.4896 GB, free: 11.42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001913/0.3331, allocations: 39.98 kB / 0.4897 GB, free: 11.38 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 (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.0006877/0.3339, allocations: 298.5 kB / 0.4899 GB, free: 11.08 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001916/0.3341, allocations: 55.34 kB / 0.49 GB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003221/0.3373, allocations: 1.567 MB / 0.4915 GB, free: 9.445 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-05/0.3373, allocations: 8 kB / 0.4915 GB, free: 9.438 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.571e-05/0.3373, allocations: 8 kB / 0.4915 GB, free: 9.43 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.725e-05/0.3374, allocations: 3.984 kB / 0.4915 GB, free: 9.426 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.006212/0.3436, allocations: 3.032 MB / 0.4945 GB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.199e-05/0.3436, allocations: 4 kB / 0.4945 GB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007974/0.3444, allocations: 167.7 kB / 0.4947 GB, free: 6.094 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000954/0.3454, allocations: 292.9 kB / 0.4949 GB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.711e-05/0.3455, allocations: 27.98 kB / 0.495 GB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006182/0.3517, allocations: 3.907 MB / 0.4988 GB, free: 1.719 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.284e-06/0.3518, allocations: 4 kB / 0.4988 GB, free: 1.715 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003481/0.3552, allocations: 1.6 MB / 0.5004 GB, free: 48 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.3212/0.6764, allocations: 141.1 kB / 0.5005 GB, free: 56.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003247/0.6768, allocations: 24.34 kB / 0.5005 GB, free: 56.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006157/0.6774, allocations: 46.05 kB / 0.5006 GB, free: 56.43 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002523/0.6777, allocations: 74.53 kB / 0.5006 GB, free: 56.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001096/0.6778, allocations: 40.03 kB / 0.5007 GB, free: 56.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004286/0.6783, allocations: 269 kB / 0.5009 GB, free: 56.35 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6783, allocations: 0.7812 kB / 0.5009 GB, free: 56.35 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001346/0.6796, allocations: 303 kB / 0.5012 GB, free: 56.35 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 (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.0002079/0.6798, allocations: 126.4 kB / 0.5013 GB, free: 56.26 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003469/0.6833, allocations: 1.668 MB / 0.503 GB, free: 56.12 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.107e-06/0.6833, allocations: 5.031 kB / 0.503 GB, free: 56.11 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001401/0.6847, allocations: 0.8382 MB / 0.5038 GB, free: 55.96 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000881/0.6856, allocations: 109.2 kB / 0.5039 GB, free: 55.95 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00364/0.6893, allocations: 2.243 MB / 0.5061 GB, free: 54.7 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008302/0.6901, allocations: 1.068 MB / 0.5071 GB, free: 53.96 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002993/0.6905, allocations: 71.06 kB / 0.5072 GB, free: 53.95 MB / 382.1 MB Notification: Performance of SimCode: time 1.373e-06/0.6905, allocations: 3.906 kB / 0.5072 GB, free: 53.95 MB / 382.1 MB Notification: Performance of Templates: time 0.02686/0.7173, allocations: 12.15 MB / 0.5191 GB, free: 50.57 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 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe 2>&1)