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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.0009804/0.0009805, allocations: 185.8 kB / 8.352 MB, free: 0.7305 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.333/1.333, allocations: 194.3 MB / 203.1 MB, free: 13.03 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001643/0.001643, allocations: 105.6 kB / 248.1 MB, free: 28 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1566/0.1566, allocations: 37.93 MB / 330.9 MB, free: 2.641 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.307e-05/1.308e-05, allocations: 0 / 390.4 MB, free: 7.09 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.291/0.291, allocations: 53.22 MB / 443.6 MB, free: 17.77 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1134/0.4044, allocations: 89.93 MB / 0.521 GB, free: 7.719 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002118/0.4047, allocations: 79.95 kB / 0.5211 GB, free: 7.641 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3867/0.7913, allocations: 57.19 MB / 0.5769 GB, free: 51.13 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.7914, allocations: 0 / 0.5769 GB, free: 51.13 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.289e-05/0.7915, allocations: 20 kB / 0.577 GB, free: 51.11 MB / 378.7 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.002081/0.7936, allocations: 0.9955 MB / 0.5779 GB, free: 50.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.201e-05/0.7936, allocations: 12.03 kB / 0.5779 GB, free: 50.06 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005152/0.7988, allocations: 430.4 kB / 0.5784 GB, free: 49.64 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001092/0.7999, allocations: 497 kB / 0.5788 GB, free: 49.11 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.72e-05/0.8, allocations: 24 kB / 0.5789 GB, free: 49.09 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001327/0.8001, allocations: 44 kB / 0.5789 GB, free: 49.04 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001854/0.802, allocations: 0.9487 MB / 0.5798 GB, free: 48.09 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002099/0.8041, allocations: 1.082 MB / 0.5809 GB, free: 46.98 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.522e-05/0.8041, allocations: 3.906 kB / 0.5809 GB, free: 46.98 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001053/0.8043, allocations: 4 kB / 0.5809 GB, free: 46.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003753/0.8046, allocations: 105.9 kB / 0.581 GB, free: 46.87 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006567/0.8112, allocations: 3.556 MB / 0.5845 GB, free: 43.22 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002009/0.8132, allocations: 1.04 MB / 0.5855 GB, free: 42.15 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009515/0.8142, allocations: 0.5825 MB / 0.586 GB, free: 41.56 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.193e-05/0.8143, allocations: 16.86 kB / 0.5861 GB, free: 41.54 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.8144, allocations: 43.34 kB / 0.5861 GB, free: 41.49 MB / 378.7 MB Notification: Performance of pre-optimization done (n=92): time 4.658e-06/0.8144, allocations: 0 / 0.5861 GB, free: 41.49 MB / 378.7 MB Notification: Performance of matching and sorting (n=93): time 0.004145/0.8185, allocations: 1.911 MB / 0.588 GB, free: 39.57 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.041e-05/0.8186, allocations: 89.92 kB / 0.5881 GB, free: 39.46 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003801/0.819, allocations: 294.3 kB / 0.5883 GB, free: 39.17 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.34e-05/0.8191, allocations: 25.7 kB / 0.5884 GB, free: 39.14 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001802/0.8193, allocations: 331.9 kB / 0.5887 GB, free: 38.8 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002795/0.8196, allocations: 307.4 kB / 0.589 GB, free: 38.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.293e-05/0.8196, allocations: 0 / 0.589 GB, free: 38.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.8198, allocations: 370.7 kB / 0.5893 GB, free: 38.13 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007561/0.8205, allocations: 418.5 kB / 0.5897 GB, free: 37.72 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008459/0.8214, allocations: 0.5244 MB / 0.5902 GB, free: 37.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009129/0.8223, allocations: 0.4943 MB / 0.5907 GB, free: 36.67 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.8223, allocations: 0 / 0.5907 GB, free: 36.67 MB / 378.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003076/0.8254, allocations: 1.337 MB / 0.592 GB, free: 35.32 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.796e-05/0.8254, allocations: 7.984 kB / 0.592 GB, free: 35.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/0.8255, allocations: 4 kB / 0.592 GB, free: 35.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001217/0.8267, allocations: 312.1 kB / 0.5923 GB, free: 35.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001061/0.8278, allocations: 187.7 kB / 0.5925 GB, free: 34.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006209/0.834, allocations: 3.766 MB / 0.5962 GB, free: 30.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009625/0.835, allocations: 51.84 kB / 0.5962 GB, free: 30.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.404e-05/0.8351, allocations: 32 kB / 0.5963 GB, free: 30.83 MB / 378.7 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 () * 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 (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.0002441/0.8354, allocations: 116.8 kB / 0.5964 GB, free: 30.71 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001614/0.8355, allocations: 59.3 kB / 0.5964 GB, free: 30.65 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003257/0.8388, allocations: 1.422 MB / 0.5978 GB, free: 29.21 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.511e-05/0.8389, allocations: 12 kB / 0.5978 GB, free: 29.2 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.347e-06/0.8389, allocations: 4 kB / 0.5978 GB, free: 29.2 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.599e-05/0.8389, allocations: 7.969 kB / 0.5978 GB, free: 29.19 MB / 378.7 MB Warning: The model contains alias variables with conflicting start and/or 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.006609/0.8455, allocations: 2.766 MB / 0.6006 GB, free: 26.31 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.875e-05/0.8456, allocations: 12.03 kB / 0.6006 GB, free: 26.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001047/0.8467, allocations: 183.7 kB / 0.6007 GB, free: 26.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001185/0.8479, allocations: 280.5 kB / 0.601 GB, free: 25.84 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-05/0.848, allocations: 8 kB / 0.601 GB, free: 25.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005791/0.8538, allocations: 3.473 MB / 0.6044 GB, free: 22.23 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.746e-06/0.8538, allocations: 4 kB / 0.6044 GB, free: 22.23 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003034/0.8568, allocations: 1.633 MB / 0.606 GB, free: 20.43 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000245/0.8571, allocations: 148.3 kB / 0.6061 GB, free: 20.27 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001548/0.8573, allocations: 4 kB / 0.6061 GB, free: 20.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007886/0.8581, allocations: 39.88 kB / 0.6062 GB, free: 20.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00018/0.8583, allocations: 72.64 kB / 0.6063 GB, free: 20.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.554e-05/0.8584, allocations: 32 kB / 0.6063 GB, free: 20.12 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003623/0.8588, allocations: 232.6 kB / 0.6065 GB, free: 19.9 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.8588, allocations: 0 / 0.6065 GB, free: 19.9 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001724/0.8605, allocations: 296.8 kB / 0.6068 GB, free: 19.61 MB / 378.7 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 () * 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.0002468/0.8608, allocations: 115 kB / 0.6069 GB, free: 19.49 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002642/0.8634, allocations: 1.258 MB / 0.6081 GB, free: 18.22 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.8634, allocations: 0 / 0.6081 GB, free: 18.22 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001409/0.8649, allocations: 0.7703 MB / 0.6089 GB, free: 17.45 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000806/0.8657, allocations: 66.64 kB / 0.6089 GB, free: 17.38 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00326/0.869, allocations: 1.431 MB / 0.6103 GB, free: 15.88 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008659/0.8698, allocations: 1.097 MB / 0.6114 GB, free: 14.75 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000692/0.8705, allocations: 188.6 kB / 0.6116 GB, free: 14.56 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002594/0.8708, allocations: 59.42 kB / 0.6116 GB, free: 14.5 MB / 378.7 MB Notification: Performance of SimCode: time 9.52e-07/0.8708, allocations: 0 / 0.6116 GB, free: 14.5 MB / 378.7 MB Notification: Performance of Templates: time 0.01905/0.8899, allocations: 8.656 MB / 0.6201 GB, free: 5.84 MB / 378.7 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)