Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.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.NetworkOpened,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened") translateModel(PowerSystems.Examples.Generic.Network.NetworkOpened,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002125/0.002124, allocations: 111.4 kB / 17.29 MB, free: 6.188 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.003043/0.003042, allocations: 193.3 kB / 18.21 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.576/2.576, allocations: 222.9 MB / 241.9 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2351/0.2351, allocations: 38.03 MB / 330.1 MB, free: 8.883 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002547/0.002547, allocations: 69.14 kB / 398.9 MB, free: 34.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.205/0.2076, allocations: 58.06 MB / 457 MB, free: 8.395 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.01696/0.2247, allocations: 8.093 MB / 465.1 MB, free: 272 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01091/0.2357, allocations: 4.837 MB / 469.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001203/0.237, allocations: 19.94 kB / 469.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003918/0.2409, allocations: 1.039 MB / 471 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005615/0.2465, allocations: 1.188 MB / 472.2 MB, free: 9.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002013/0.2486, allocations: 331.2 kB / 472.5 MB, free: 8.836 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003283/0.2519, allocations: 1.473 MB / 474 MB, free: 7.359 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001756/0.2537, allocations: 0.7514 MB / 474.7 MB, free: 6.602 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001805/0.2555, allocations: 0.6303 MB / 475.3 MB, free: 5.969 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00172/0.2573, allocations: 0.7672 MB / 476.1 MB, free: 5.199 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001831/0.2575, allocations: 68 kB / 476.2 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004027/0.2615, allocations: 1.438 MB / 477.6 MB, free: 3.691 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001012/0.2626, allocations: 498.8 kB / 478.1 MB, free: 3.203 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008791/0.2635, allocations: 457.9 kB / 478.5 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003153/0.2667, allocations: 1.166 MB / 479.7 MB, free: 1.586 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.2667, allocations: 0 / 479.7 MB, free: 1.586 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.806e-06/0.2667, allocations: 4 kB / 479.7 MB, free: 1.582 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.953e-05/0.2668, allocations: 0 / 479.7 MB, free: 1.582 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.00319/0.27, allocations: 1.17 MB / 480.9 MB, free: 372 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.024e-05/0.2701, allocations: 11.89 kB / 480.9 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005604/0.2757, allocations: 411.4 kB / 481.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00163/0.2774, allocations: 495.1 kB / 481.8 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001149/0.2775, allocations: 58.36 kB / 481.8 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003587/0.2779, allocations: 72.36 kB / 481.9 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003327/0.2812, allocations: 1.231 MB / 483.1 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.939e-05/0.2813, allocations: 0 / 483.1 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001339/0.2815, allocations: 35.98 kB / 483.2 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001606/0.2816, allocations: 77.94 kB / 483.3 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002903/0.2845, allocations: 1.308 MB / 484.6 MB, free: 12.62 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009397/0.294, allocations: 3.704 MB / 488.3 MB, free: 8.801 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002888/0.2969, allocations: 1.094 MB / 489.4 MB, free: 7.688 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001401/0.2984, allocations: 0.6431 MB / 490 MB, free: 7.043 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001024/0.2985, allocations: 17.14 kB / 490 MB, free: 7.023 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.03e-05/0.2986, allocations: 39.56 kB / 490.1 MB, free: 6.977 MB / 366.1 MB Notification: Performance of pre-optimization done (n=92): time 6.853e-06/0.2986, allocations: 4 kB / 490.1 MB, free: 6.973 MB / 366.1 MB Notification: Performance of matching and sorting (n=93): time 0.01158/0.3102, allocations: 3.145 MB / 493.2 MB, free: 3.797 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.466e-05/0.3103, allocations: 86.14 kB / 493.3 MB, free: 3.695 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007128/0.3111, allocations: 385.5 kB / 493.7 MB, free: 3.312 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001038/0.3112, allocations: 41.7 kB / 493.7 MB, free: 3.266 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003814/0.3116, allocations: 332 kB / 494 MB, free: 2.934 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005203/0.3121, allocations: 319.3 kB / 494.3 MB, free: 2.617 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004381/0.3126, allocations: 158.6 kB / 494.5 MB, free: 2.457 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002413/0.3128, allocations: 366.8 kB / 494.9 MB, free: 2.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001073/0.3139, allocations: 465.7 kB / 495.3 MB, free: 1.633 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001338/0.3153, allocations: 0.582 MB / 495.9 MB, free: 1.023 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002497/0.3178, allocations: 1.114 MB / 497 MB, free: 15.87 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.034e-05/0.3178, allocations: 4 kB / 497 MB, free: 15.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.00401/0.3218, allocations: 1.485 MB / 498.5 MB, free: 14.37 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.687e-05/0.3219, allocations: 8 kB / 498.5 MB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.025e-05/0.3219, allocations: 8 kB / 498.5 MB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001619/0.3236, allocations: 336.8 kB / 498.8 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/0.3248, allocations: 187.7 kB / 499 MB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008544/0.3333, allocations: 4.158 MB / 0.4914 GB, free: 9.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000992/0.3344, allocations: 47.95 kB / 0.4914 GB, free: 9.473 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002305/0.3346, allocations: 44.05 kB / 0.4915 GB, free: 9.43 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (82): * Single equations (assignments): 81 * 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.0008507/0.3355, allocations: 297.5 kB / 0.4918 GB, free: 9.129 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002912/0.3358, allocations: 63.28 kB / 0.4918 GB, free: 9.066 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004373/0.3402, allocations: 1.559 MB / 0.4933 GB, free: 7.496 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.137e-05/0.3403, allocations: 12 kB / 0.4934 GB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.464e-05/0.3403, allocations: 4 kB / 0.4934 GB, free: 7.48 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.646e-05/0.3403, allocations: 7.969 kB / 0.4934 GB, free: 7.473 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.007984/0.3483, allocations: 3.013 MB / 0.4963 GB, free: 4.332 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.415e-05/0.3484, allocations: 4 kB / 0.4963 GB, free: 4.328 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001066/0.3494, allocations: 163.7 kB / 0.4965 GB, free: 4.168 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001312/0.3508, allocations: 289.9 kB / 0.4967 GB, free: 3.883 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000144/0.3509, allocations: 20 kB / 0.4968 GB, free: 3.863 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4737/0.8246, allocations: 3.895 MB / 0.5006 GB, free: 55.62 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.353e-05/0.8248, allocations: 3.812 kB / 0.5006 GB, free: 55.62 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01073/0.8355, allocations: 1.58 MB / 0.5021 GB, free: 55.35 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006112/0.8363, allocations: 142 kB / 0.5023 GB, free: 55.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000189/0.8365, allocations: 29.42 kB / 0.5023 GB, free: 55.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008583/0.8373, allocations: 37.95 kB / 0.5023 GB, free: 55.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004503/0.8378, allocations: 86.69 kB / 0.5024 GB, free: 55.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001773/0.838, allocations: 38.14 kB / 0.5024 GB, free: 55.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007048/0.8387, allocations: 265.3 kB / 0.5027 GB, free: 55.17 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.8387, allocations: 0.875 kB / 0.5027 GB, free: 55.17 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002232/0.841, allocations: 306.8 kB / 0.503 GB, free: 55.17 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.0003073/0.8413, allocations: 130.8 kB / 0.5031 GB, free: 55.08 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005717/0.847, allocations: 1.655 MB / 0.5047 GB, free: 54.72 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.311e-05/0.8471, allocations: 3 kB / 0.5047 GB, free: 54.72 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002756/0.8499, allocations: 0.8404 MB / 0.5055 GB, free: 54.37 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006113/0.856, allocations: 105 kB / 0.5056 GB, free: 54.32 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007425/0.8635, allocations: 2.268 MB / 0.5079 GB, free: 53.05 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00154/0.8652, allocations: 1.082 MB / 0.5089 GB, free: 52.31 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005693/0.8658, allocations: 71.81 kB / 0.509 GB, free: 52.3 MB / 382.1 MB Notification: Performance of SimCode: time 2.074e-06/0.8658, allocations: 3.375 kB / 0.509 GB, free: 52.3 MB / 382.1 MB Notification: Performance of Templates: time 0.04885/0.9147, allocations: 12.43 MB / 0.5211 GB, free: 48.44 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.sim & ./PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe 2>&1)