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 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: "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkOpened,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkOpened",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkOpened,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkOpened",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009736/0.0009736, allocations: 92.75 kB / 16.65 MB, free: 6.59 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.0009633/0.0009633, allocations: 184.3 kB / 17.57 MB, free: 6.199 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.283/1.283, allocations: 205.4 MB / 223.7 MB, free: 13.08 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1659/0.1659, allocations: 38.05 MB / 310.1 MB, free: 5.996 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.000537/0.000537, allocations: 19.12 kB / 377.3 MB, free: 2.699 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2304, allocations: 56.33 MB / 433.6 MB, free: 18.66 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.005039/0.2354, allocations: 7.641 MB / 441.2 MB, free: 10.99 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004316/0.2398, allocations: 4.862 MB / 446.1 MB, free: 6.105 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003613/0.2402, allocations: 27.81 kB / 446.1 MB, free: 6.078 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003159/0.2405, allocations: 131.1 kB / 446.3 MB, free: 5.949 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001905/0.2424, allocations: 1.203 MB / 447.5 MB, free: 4.742 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005911/0.243, allocations: 331.2 kB / 447.8 MB, free: 4.418 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00143/0.2445, allocations: 2.693 MB / 450.5 MB, free: 1.719 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001526/0.246, allocations: 1.224 MB / 451.7 MB, free: 488 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005561/0.2466, allocations: 489.7 kB / 452.2 MB, free: 15.99 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009115/0.2475, allocations: 0.7125 MB / 452.9 MB, free: 15.28 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.9e-05/0.2475, allocations: 32 kB / 452.9 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002574/0.2501, allocations: 1.711 MB / 454.6 MB, free: 13.53 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005102/0.2506, allocations: 462.8 kB / 455.1 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006844/0.2513, allocations: 431.6 kB / 455.5 MB, free: 12.65 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002535/0.2539, allocations: 1.581 MB / 457.1 MB, free: 11.06 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.2539, allocations: 3.984 kB / 457.1 MB, free: 11.06 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.136e-06/0.2539, allocations: 0 / 457.1 MB, free: 11.06 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.013e-05/0.2539, allocations: 3.938 kB / 457.1 MB, free: 11.05 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.001471/0.2554, allocations: 1.019 MB / 458.1 MB, free: 9.984 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.2555, allocations: 12.03 kB / 458.1 MB, free: 9.973 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001446/0.2556, allocations: 131.4 kB / 458.3 MB, free: 9.836 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003082/0.2587, allocations: 411.3 kB / 458.7 MB, free: 9.434 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006497/0.2594, allocations: 0.4953 MB / 459.1 MB, free: 8.898 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.694e-05/0.2594, allocations: 54.36 kB / 459.2 MB, free: 8.848 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001417/0.2596, allocations: 76.36 kB / 459.3 MB, free: 8.773 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001724/0.2613, allocations: 1.23 MB / 460.5 MB, free: 7.516 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.487e-05/0.2613, allocations: 4 kB / 460.5 MB, free: 7.512 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-05/0.2614, allocations: 35.92 kB / 460.5 MB, free: 7.477 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.805e-05/0.2615, allocations: 69.95 kB / 460.6 MB, free: 7.41 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001824/0.2633, allocations: 1.315 MB / 461.9 MB, free: 6.094 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005066/0.2684, allocations: 3.72 MB / 465.6 MB, free: 2.262 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001638/0.2701, allocations: 1.104 MB / 466.8 MB, free: 1.141 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007993/0.2709, allocations: 0.637 MB / 467.4 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.786e-05/0.2709, allocations: 21.12 kB / 467.4 MB, free: 488 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/0.271, allocations: 43.56 kB / 467.5 MB, free: 436 kB / 334.1 MB Notification: Performance of pre-optimization done (n=92): time 2.575e-06/0.271, allocations: 0 / 467.5 MB, free: 436 kB / 334.1 MB Notification: Performance of matching and sorting (n=93): time 0.006479/0.2775, allocations: 3.169 MB / 470.6 MB, free: 13.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.824e-05/0.2775, allocations: 86.11 kB / 470.7 MB, free: 13.13 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003839/0.2779, allocations: 373.6 kB / 471.1 MB, free: 12.76 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.528e-05/0.278, allocations: 37.7 kB / 471.1 MB, free: 12.71 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001948/0.2782, allocations: 332 kB / 471.4 MB, free: 12.38 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002596/0.2785, allocations: 315.5 kB / 471.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.2786, allocations: 77.67 kB / 471.8 MB, free: 11.99 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.2787, allocations: 366.8 kB / 472.2 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006639/0.2794, allocations: 469.7 kB / 472.6 MB, free: 11.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007243/0.2801, allocations: 0.5782 MB / 473.2 MB, free: 10.55 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001496/0.2816, allocations: 1.11 MB / 474.3 MB, free: 9.406 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.2817, allocations: 0 / 474.3 MB, free: 9.406 MB / 350.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002344/0.284, allocations: 1.485 MB / 475.8 MB, free: 7.914 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.284, allocations: 8.219 kB / 475.8 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.2841, allocations: 4 kB / 475.8 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008992/0.285, allocations: 336.6 kB / 476.1 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006653/0.2856, allocations: 187.7 kB / 476.3 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005047/0.2907, allocations: 3.864 MB / 480.2 MB, free: 3.359 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004744/0.2912, allocations: 43.95 kB / 480.2 MB, free: 3.316 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.104e-05/0.2913, allocations: 39.98 kB / 480.3 MB, free: 3.277 MB / 350.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.0003924/0.2917, allocations: 305.4 kB / 480.6 MB, free: 2.969 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001157/0.2918, allocations: 55.34 kB / 480.6 MB, free: 2.914 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00255/0.2944, allocations: 1.551 MB / 482.2 MB, free: 1.348 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.515e-05/0.2944, allocations: 11.98 kB / 482.2 MB, free: 1.336 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/0.2944, allocations: 11.94 kB / 482.2 MB, free: 1.324 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/0.2944, allocations: 11.97 kB / 482.2 MB, free: 1.312 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.0048/0.2992, allocations: 3.01 MB / 485.2 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/0.2992, allocations: 4 kB / 485.2 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006093/0.2999, allocations: 171.6 kB / 485.4 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007833/0.3007, allocations: 280.8 kB / 485.7 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.907e-05/0.3007, allocations: 32 kB / 485.7 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004659/0.3054, allocations: 3.607 MB / 489.3 MB, free: 9.941 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/0.3054, allocations: 4 kB / 489.3 MB, free: 9.938 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002322/0.3078, allocations: 1.584 MB / 490.9 MB, free: 8.289 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001764/0.308, allocations: 144.3 kB / 491 MB, free: 8.129 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.267e-05/0.3081, allocations: 27.98 kB / 491.1 MB, free: 8.102 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004475/0.3085, allocations: 43.97 kB / 491.1 MB, free: 8.059 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000145/0.3087, allocations: 80.77 kB / 491.2 MB, free: 7.977 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.775e-05/0.3087, allocations: 35.98 kB / 491.2 MB, free: 7.941 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002856/0.309, allocations: 267.1 kB / 491.5 MB, free: 7.684 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.309, allocations: 0 / 491.5 MB, free: 7.684 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001127/0.3102, allocations: 312 kB / 491.8 MB, free: 7.379 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.002574/0.3128, allocations: 2.133 MB / 493.9 MB, free: 5.172 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002093/0.3149, allocations: 1.389 MB / 495.3 MB, free: 3.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.3149, allocations: 0 / 495.3 MB, free: 3.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00117/0.3161, allocations: 0.836 MB / 496.1 MB, free: 2.922 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009032/0.317, allocations: 106.5 kB / 496.3 MB, free: 2.82 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0122/0.3292, allocations: 8.087 MB / 0.4925 GB, free: 10.49 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009438/0.3301, allocations: 1.091 MB / 0.4936 GB, free: 9.363 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005093/0.3307, allocations: 184.7 kB / 0.4938 GB, free: 9.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004448/0.3311, allocations: 271.3 kB / 0.494 GB, free: 8.914 MB / 382.1 MB Notification: Performance of SimCode: time 9.82e-07/0.3311, allocations: 0 / 0.494 GB, free: 8.914 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03124/0.3624, allocations: 15.37 MB / 0.509 GB, free: 9.578 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001852/0.3626, allocations: 223.3 kB / 0.5092 GB, free: 9.32 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.985/2.348, allocations: 0 / 0.5092 GB, free: 9.32 MB / 398.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Network_NetworkOpened_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Network_NetworkOpened.fmu > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe 2>&1)