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/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.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/Complex 3.2.2+maint.om/package.mo): time 0.001521/0.001521, allocations: 181.9 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.842/1.842, allocations: 194.3 MB / 208.4 MB, free: 6.703 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.001855/0.001855, allocations: 126.2 kB / 253.5 MB, free: 9.57 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.2028/0.2028, allocations: 37.91 MB / 336.4 MB, free: 14.27 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 6.299e-05/6.31e-05, allocations: 4 kB / 397.5 MB, free: 1.059 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.3356, allocations: 53.23 MB / 450.8 MB, free: 13.49 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1416/0.4772, allocations: 90.75 MB / 0.5288 GB, free: 2.605 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002214/0.4775, allocations: 83.95 kB / 0.5289 GB, free: 2.523 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4169/0.8945, allocations: 54.56 MB / 0.5822 GB, free: 45.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.356e-06/0.8946, allocations: 0 / 0.5822 GB, free: 45.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.465e-05/0.8946, allocations: 12 kB / 0.5822 GB, free: 45.64 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002207/0.8968, allocations: 0.9684 MB / 0.5831 GB, free: 44.63 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/0.8969, allocations: 8.031 kB / 0.5831 GB, free: 44.62 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003283/0.9002, allocations: 394.5 kB / 0.5835 GB, free: 44.23 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008335/0.901, allocations: 483.5 kB / 0.584 GB, free: 43.72 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.965e-05/0.9011, allocations: 53.98 kB / 0.584 GB, free: 43.67 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001242/0.9012, allocations: 79.92 kB / 0.5841 GB, free: 43.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001548/0.9028, allocations: 1.133 MB / 0.5852 GB, free: 42.43 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.648e-05/0.9028, allocations: 4 kB / 0.5852 GB, free: 42.43 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.861e-05/0.9029, allocations: 27.98 kB / 0.5852 GB, free: 42.4 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002488/0.9031, allocations: 105.8 kB / 0.5853 GB, free: 42.3 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00147/0.9046, allocations: 1.171 MB / 0.5865 GB, free: 41.12 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00439/0.909, allocations: 3.519 MB / 0.5899 GB, free: 37.51 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001309/0.9103, allocations: 1.049 MB / 0.5909 GB, free: 36.44 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007085/0.9111, allocations: 0.6323 MB / 0.5916 GB, free: 35.8 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.805e-05/0.9112, allocations: 16.77 kB / 0.5916 GB, free: 35.79 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/0.9112, allocations: 47.33 kB / 0.5916 GB, free: 35.73 MB / 378.7 MB Notification: Performance of pre-optimization done (n=91): time 5.461e-06/0.9112, allocations: 4 kB / 0.5916 GB, free: 35.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=92): time 0.003207/0.9144, allocations: 1.99 MB / 0.5936 GB, free: 33.73 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.611e-05/0.9145, allocations: 85.89 kB / 0.5937 GB, free: 33.62 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002786/0.9148, allocations: 315.5 kB / 0.594 GB, free: 33.31 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.809e-05/0.9148, allocations: 45.64 kB / 0.594 GB, free: 33.26 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.9149, allocations: 312.1 kB / 0.5943 GB, free: 32.95 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001774/0.9151, allocations: 315.3 kB / 0.5946 GB, free: 32.64 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-05/0.9152, allocations: 20 kB / 0.5946 GB, free: 32.62 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.841e-05/0.9153, allocations: 374.7 kB / 0.595 GB, free: 32.24 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004975/0.9158, allocations: 433.9 kB / 0.5954 GB, free: 31.82 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006328/0.9164, allocations: 0.5304 MB / 0.5959 GB, free: 31.25 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000629/0.9171, allocations: 0.5057 MB / 0.5964 GB, free: 30.75 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.9171, allocations: 0 / 0.5964 GB, free: 30.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001939/0.919, allocations: 1.391 MB / 0.5978 GB, free: 29.35 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.919, allocations: 4.188 kB / 0.5978 GB, free: 29.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.9191, allocations: 8 kB / 0.5978 GB, free: 29.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008388/0.9199, allocations: 339.9 kB / 0.5981 GB, free: 29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006817/0.9206, allocations: 191.7 kB / 0.5983 GB, free: 28.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004141/0.9248, allocations: 3.883 MB / 0.6021 GB, free: 24.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005546/0.9253, allocations: 59.92 kB / 0.6021 GB, free: 24.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.684e-05/0.9254, allocations: 35.98 kB / 0.6022 GB, free: 24.67 MB / 378.7 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 () * 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 (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.0001464/0.9255, allocations: 145.3 kB / 0.6023 GB, free: 24.52 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.406e-05/0.9256, allocations: 63.28 kB / 0.6024 GB, free: 24.46 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002172/0.9278, allocations: 1.516 MB / 0.6038 GB, free: 22.93 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.734e-06/0.9278, allocations: 12 kB / 0.6039 GB, free: 22.92 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.9279, allocations: 4 kB / 0.6039 GB, free: 22.92 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.807e-06/0.9279, allocations: 3.984 kB / 0.6039 GB, free: 22.91 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.003929/0.9318, allocations: 2.987 MB / 0.6068 GB, free: 19.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.613e-06/0.9318, allocations: 4 kB / 0.6068 GB, free: 19.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006052/0.9324, allocations: 175.7 kB / 0.6069 GB, free: 19.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000681/0.9331, allocations: 272.8 kB / 0.6072 GB, free: 19.36 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.836e-05/0.9332, allocations: 31.94 kB / 0.6072 GB, free: 19.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003647/0.9369, allocations: 3.594 MB / 0.6107 GB, free: 15.59 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.9369, allocations: 11.89 kB / 0.6108 GB, free: 15.57 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001973/0.9389, allocations: 1.697 MB / 0.6124 GB, free: 13.72 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001507/0.939, allocations: 148.3 kB / 0.6126 GB, free: 13.55 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.04e-05/0.9391, allocations: 23.98 kB / 0.6126 GB, free: 13.53 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004174/0.9395, allocations: 43.95 kB / 0.6126 GB, free: 13.49 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/0.9397, allocations: 88.56 kB / 0.6127 GB, free: 13.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.472e-05/0.9397, allocations: 28 kB / 0.6127 GB, free: 13.38 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002244/0.94, allocations: 250.1 kB / 0.613 GB, free: 13.13 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.94, allocations: 0 / 0.613 GB, free: 13.13 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009322/0.9409, allocations: 323.9 kB / 0.6133 GB, free: 12.81 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.0001866/0.9411, allocations: 131 kB / 0.6134 GB, free: 12.67 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00168/0.9428, allocations: 1.312 MB / 0.6147 GB, free: 11.35 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.9428, allocations: 8.5 kB / 0.6147 GB, free: 11.34 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009489/0.9438, allocations: 0.8155 MB / 0.6155 GB, free: 10.52 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005202/0.9443, allocations: 89.95 kB / 0.6156 GB, free: 10.43 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002229/0.9465, allocations: 1.473 MB / 0.617 GB, free: 8.875 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005566/0.9471, allocations: 1.085 MB / 0.6181 GB, free: 7.762 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000413/0.9475, allocations: 184.6 kB / 0.6183 GB, free: 7.582 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001703/0.9477, allocations: 59.36 kB / 0.6183 GB, free: 7.523 MB / 378.7 MB Notification: Performance of SimCode: time 7.31e-07/0.9477, allocations: 0 / 0.6183 GB, free: 7.523 MB / 378.7 MB Notification: Performance of Templates: time 0.01509/0.9628, allocations: 9.001 MB / 0.6271 GB, free: 14.51 MB / 394.7 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)