Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001037/0.001037, allocations: 173.1 kB / 16.76 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.631/1.631, allocations: 205.4 MB / 222.9 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007419/0.0007418, allocations: 85.42 kB / 271.3 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1728/0.1728, allocations: 38.07 MB / 357.6 MB, free: 1.734 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003441/0.0003441, allocations: 12 kB / 423.9 MB, free: 38.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3082/0.3086, allocations: 56.32 MB / 480.3 MB, free: 9.211 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2095/0.5182, allocations: 95.88 MB / 0.5626 GB, free: 6.488 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004258/0.5187, allocations: 83.95 kB / 0.5627 GB, free: 6.406 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1825/0.7013, allocations: 54.96 MB / 0.6164 GB, free: 14.74 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.7013, allocations: 0 / 0.6164 GB, free: 14.74 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.53e-05/0.7013, allocations: 15.94 kB / 0.6164 GB, free: 14.72 MB / 458.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.001886/0.7032, allocations: 1.004 MB / 0.6174 GB, free: 13.66 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.7033, allocations: 8.031 kB / 0.6174 GB, free: 13.66 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00326/0.7065, allocations: 403.4 kB / 0.6178 GB, free: 13.26 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007965/0.7074, allocations: 496.5 kB / 0.6182 GB, free: 12.73 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.644e-05/0.7074, allocations: 58.36 kB / 0.6183 GB, free: 12.68 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001208/0.7076, allocations: 72.36 kB / 0.6184 GB, free: 12.61 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001772/0.7093, allocations: 1.153 MB / 0.6195 GB, free: 11.43 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.556e-05/0.7094, allocations: 192 / 0.6195 GB, free: 11.43 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.574e-05/0.7095, allocations: 35.92 kB / 0.6195 GB, free: 11.39 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002655/0.7097, allocations: 101.9 kB / 0.6196 GB, free: 11.29 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001765/0.7115, allocations: 1.191 MB / 0.6208 GB, free: 10.11 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005113/0.7166, allocations: 3.527 MB / 0.6242 GB, free: 6.48 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00158/0.7183, allocations: 1.046 MB / 0.6253 GB, free: 5.414 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008463/0.7191, allocations: 0.6371 MB / 0.6259 GB, free: 4.77 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.16e-05/0.7192, allocations: 20.97 kB / 0.6259 GB, free: 4.75 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.662e-05/0.7192, allocations: 51.69 kB / 0.6259 GB, free: 4.691 MB / 458.7 MB Notification: Performance of pre-optimization done (n=91): time 3.917e-06/0.7193, allocations: 0 / 0.6259 GB, free: 4.691 MB / 458.7 MB Notification: Performance of matching and sorting (n=92): time 0.006549/0.7258, allocations: 3.092 MB / 0.629 GB, free: 1.574 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.477e-05/0.7259, allocations: 86.11 kB / 0.629 GB, free: 1.469 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003996/0.7263, allocations: 357.7 kB / 0.6294 GB, free: 1.113 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.73e-05/0.7264, allocations: 41.64 kB / 0.6294 GB, free: 1.066 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000189/0.7266, allocations: 316.1 kB / 0.6297 GB, free: 0.75 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002729/0.7268, allocations: 319.3 kB / 0.63 GB, free: 444 kB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.054e-05/0.7269, allocations: 16 kB / 0.63 GB, free: 428 kB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.727, allocations: 370.8 kB / 0.6304 GB, free: 48 kB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000659/0.7277, allocations: 437.8 kB / 0.6308 GB, free: 15.62 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007266/0.7284, allocations: 0.5423 MB / 0.6313 GB, free: 15.05 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001487/0.7299, allocations: 1.059 MB / 0.6324 GB, free: 13.96 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.73, allocations: 4 kB / 0.6324 GB, free: 13.96 MB / 474.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002479/0.7324, allocations: 1.415 MB / 0.6338 GB, free: 12.54 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.92e-05/0.7325, allocations: 8 kB / 0.6338 GB, free: 12.53 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.908e-06/0.7325, allocations: 4 kB / 0.6338 GB, free: 12.52 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009615/0.7335, allocations: 339.1 kB / 0.6341 GB, free: 12.19 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007752/0.7343, allocations: 187.7 kB / 0.6343 GB, free: 12.01 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005078/0.7393, allocations: 3.904 MB / 0.6381 GB, free: 7.941 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006404/0.74, allocations: 63.83 kB / 0.6382 GB, free: 7.879 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.888e-05/0.7401, allocations: 40.05 kB / 0.6382 GB, free: 7.84 MB / 474.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 () * 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 (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.0004493/0.7406, allocations: 293.5 kB / 0.6385 GB, free: 7.543 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/0.7407, allocations: 59.33 kB / 0.6385 GB, free: 7.484 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002573/0.7432, allocations: 1.532 MB / 0.64 GB, free: 5.941 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/0.7433, allocations: 11.94 kB / 0.64 GB, free: 5.93 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.7433, allocations: 4 kB / 0.64 GB, free: 5.926 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.817e-05/0.7433, allocations: 11.97 kB / 0.64 GB, free: 5.914 MB / 474.7 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.004863/0.7482, allocations: 3.001 MB / 0.643 GB, free: 2.785 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.075e-05/0.7482, allocations: 11.92 kB / 0.643 GB, free: 2.773 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006407/0.7489, allocations: 164.2 kB / 0.6431 GB, free: 2.613 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000775/0.7496, allocations: 285 kB / 0.6434 GB, free: 2.332 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.56e-05/0.7497, allocations: 24 kB / 0.6434 GB, free: 2.309 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2075/0.9572, allocations: 3.597 MB / 0.647 GB, free: 122.2 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.622e-06/0.9573, allocations: 7.5 kB / 0.647 GB, free: 122.2 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002957/0.9602, allocations: 1.552 MB / 0.6485 GB, free: 121.9 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003294/0.9606, allocations: 142.5 kB / 0.6486 GB, free: 121.8 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001017/0.9607, allocations: 23.55 kB / 0.6486 GB, free: 121.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004973/0.9612, allocations: 53.64 kB / 0.6487 GB, free: 121.8 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002502/0.9615, allocations: 75 kB / 0.6488 GB, free: 121.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.973e-05/0.9615, allocations: 32.7 kB / 0.6488 GB, free: 121.8 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004785/0.962, allocations: 261.2 kB / 0.649 GB, free: 121.7 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.962, allocations: 0 / 0.649 GB, free: 121.7 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001296/0.9633, allocations: 319.5 kB / 0.6493 GB, free: 121.7 MB / 474.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 () * 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 (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.00025/0.9636, allocations: 138.1 kB / 0.6495 GB, free: 121.6 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002393/0.966, allocations: 1.34 MB / 0.6508 GB, free: 121.5 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.966, allocations: 3.031 kB / 0.6508 GB, free: 121.5 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001338/0.9674, allocations: 0.8291 MB / 0.6516 GB, free: 121.3 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008851/0.9683, allocations: 107.9 kB / 0.6517 GB, free: 121.3 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003436/0.9717, allocations: 2.197 MB / 0.6538 GB, free: 120.4 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008101/0.9726, allocations: 1.071 MB / 0.6549 GB, free: 119.7 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002716/0.9728, allocations: 60.94 kB / 0.6549 GB, free: 119.7 MB / 474.7 MB Notification: Performance of SimCode: time 1.052e-06/0.9728, allocations: 0.875 kB / 0.655 GB, free: 119.7 MB / 474.7 MB Notification: Performance of Templates: time 0.02081/0.9937, allocations: 12.13 MB / 0.6668 GB, free: 119.2 MB / 474.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop.sim & ./PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe 2>&1)