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: 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.001436/0.001436, allocations: 103 kB / 17.74 MB, free: 5.367 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.001493/0.001493, allocations: 188.5 kB / 18.66 MB, free: 4.449 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.986/1.986, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.3125/0.3125, allocations: 37.98 MB / 309.9 MB, free: 5.965 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.002581/0.002581, allocations: 67.91 kB / 432.5 MB, free: 15.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1487, allocations: 55.25 MB / 487.8 MB, free: 8.355 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.01258/0.1613, allocations: 7.698 MB / 495.5 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009347/0.1707, allocations: 4.779 MB / 0.4885 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007938/0.1716, allocations: 19.88 kB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003794/0.1754, allocations: 1.086 MB / 0.4896 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00448/0.1799, allocations: 1.261 MB / 0.4908 GB, free: 9.441 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001498/0.1814, allocations: 374.9 kB / 0.4912 GB, free: 9.074 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002739/0.1842, allocations: 1.457 MB / 0.4926 GB, free: 7.613 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001454/0.1857, allocations: 0.6539 MB / 0.4933 GB, free: 6.957 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001696/0.1874, allocations: 0.6575 MB / 0.4939 GB, free: 6.297 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00169/0.1891, allocations: 0.697 MB / 0.4946 GB, free: 5.598 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002996/0.1894, allocations: 67.94 kB / 0.4946 GB, free: 5.531 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003953/0.1934, allocations: 1.43 MB / 0.496 GB, free: 4.098 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000894/0.1943, allocations: 490.8 kB / 0.4965 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00121/0.1955, allocations: 453.9 kB / 0.4969 GB, free: 3.172 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004192/0.1997, allocations: 1.543 MB / 0.4985 GB, free: 1.625 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.1998, allocations: 4 kB / 0.4985 GB, free: 1.621 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1998, allocations: 0 / 0.4985 GB, free: 1.621 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.36e-05/0.1998, allocations: 0 / 0.4985 GB, free: 1.621 MB / 382.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.00305/0.2029, allocations: 1.163 MB / 0.4996 GB, free: 416 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.486e-05/0.203, allocations: 15.89 kB / 0.4996 GB, free: 400 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005226/0.2082, allocations: 403.4 kB / 0.5 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001271/0.2095, allocations: 0.4991 MB / 0.5005 GB, free: 15.46 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.164e-05/0.2096, allocations: 54.36 kB / 0.5005 GB, free: 15.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003052/0.2099, allocations: 80.34 kB / 0.5006 GB, free: 15.33 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003108/0.2131, allocations: 1.238 MB / 0.5018 GB, free: 14.06 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.033e-05/0.2131, allocations: 4 kB / 0.5018 GB, free: 14.06 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001329/0.2133, allocations: 28 kB / 0.5018 GB, free: 14.03 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001416/0.2134, allocations: 73.95 kB / 0.5019 GB, free: 13.96 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003009/0.2164, allocations: 1.312 MB / 0.5032 GB, free: 12.65 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008538/0.225, allocations: 3.673 MB / 0.5068 GB, free: 8.863 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002568/0.2276, allocations: 1.09 MB / 0.5078 GB, free: 7.762 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001234/0.2289, allocations: 0.641 MB / 0.5085 GB, free: 7.117 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.969e-05/0.229, allocations: 21.14 kB / 0.5085 GB, free: 7.094 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.187e-05/0.229, allocations: 43.55 kB / 0.5085 GB, free: 7.043 MB / 398.1 MB Notification: Performance of pre-optimization done (n=92): time 4.538e-06/0.229, allocations: 0 / 0.5085 GB, free: 7.043 MB / 398.1 MB Notification: Performance of matching and sorting (n=93): time 0.00984/0.2389, allocations: 3.153 MB / 0.5116 GB, free: 3.859 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.923e-05/0.239, allocations: 90.11 kB / 0.5117 GB, free: 3.754 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006345/0.2397, allocations: 377.6 kB / 0.5121 GB, free: 3.379 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.961e-05/0.2398, allocations: 37.7 kB / 0.5121 GB, free: 3.336 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002875/0.2401, allocations: 324.1 kB / 0.5124 GB, free: 3.012 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004032/0.2405, allocations: 319.4 kB / 0.5127 GB, free: 2.695 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003821/0.2409, allocations: 166.6 kB / 0.5129 GB, free: 2.527 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002153/0.2411, allocations: 366.8 kB / 0.5132 GB, free: 2.16 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001015/0.2421, allocations: 473.7 kB / 0.5137 GB, free: 1.695 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001195/0.2433, allocations: 0.5704 MB / 0.5142 GB, free: 1.094 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002296/0.2456, allocations: 1.114 MB / 0.5153 GB, free: 15.95 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/0.2457, allocations: 7.938 kB / 0.5153 GB, free: 15.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003092/0.2488, allocations: 1.481 MB / 0.5168 GB, free: 14.45 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.599e-05/0.2488, allocations: 8 kB / 0.5168 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.2488, allocations: 4 kB / 0.5168 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001011/0.2498, allocations: 336.8 kB / 0.5171 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007249/0.2506, allocations: 183.7 kB / 0.5173 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005648/0.2562, allocations: 4.176 MB / 0.5214 GB, free: 9.578 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005435/0.2568, allocations: 52 kB / 0.5214 GB, free: 9.527 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001245/0.2569, allocations: 39.98 kB / 0.5214 GB, free: 9.488 MB / 414.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.0005184/0.2575, allocations: 297.5 kB / 0.5217 GB, free: 9.188 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001506/0.2576, allocations: 59.34 kB / 0.5218 GB, free: 9.129 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002793/0.2604, allocations: 1.555 MB / 0.5233 GB, free: 7.562 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.31e-05/0.2605, allocations: 12 kB / 0.5233 GB, free: 7.551 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/0.2605, allocations: 4 kB / 0.5233 GB, free: 7.547 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/0.2605, allocations: 3.984 kB / 0.5233 GB, free: 7.543 MB / 414.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.004989/0.2655, allocations: 3.011 MB / 0.5263 GB, free: 4.398 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.195e-06/0.2655, allocations: 4 kB / 0.5263 GB, free: 4.395 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006227/0.2661, allocations: 163.8 kB / 0.5264 GB, free: 4.234 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008006/0.267, allocations: 285 kB / 0.5267 GB, free: 3.953 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.495e-05/0.267, allocations: 27.98 kB / 0.5267 GB, free: 3.926 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2673/0.5344, allocations: 3.886 MB / 0.5305 GB, free: 50.7 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.478e-06/0.5344, allocations: 5.125 kB / 0.5305 GB, free: 50.7 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002703/0.5372, allocations: 1.586 MB / 0.5321 GB, free: 50.43 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002091/0.5374, allocations: 145.1 kB / 0.5322 GB, free: 50.33 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.705e-05/0.5375, allocations: 21.44 kB / 0.5322 GB, free: 50.33 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004396/0.5379, allocations: 45.39 kB / 0.5323 GB, free: 50.33 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001875/0.5381, allocations: 82.73 kB / 0.5323 GB, free: 50.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.395e-05/0.5382, allocations: 35.52 kB / 0.5324 GB, free: 50.33 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003056/0.5385, allocations: 270.6 kB / 0.5326 GB, free: 50.25 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.5385, allocations: 0 / 0.5326 GB, free: 50.25 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009854/0.5395, allocations: 308.6 kB / 0.5329 GB, free: 50.25 MB / 414.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.0001803/0.5397, allocations: 118.2 kB / 0.533 GB, free: 50.16 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002116/0.5418, allocations: 1.399 MB / 0.5344 GB, free: 50 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.5419, allocations: 1.469 kB / 0.5344 GB, free: 50 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001252/0.5431, allocations: 0.8347 MB / 0.5352 GB, free: 49.75 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006832/0.5438, allocations: 110 kB / 0.5353 GB, free: 49.7 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00298/0.5468, allocations: 1.888 MB / 0.5372 GB, free: 48.79 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006844/0.5475, allocations: 1.081 MB / 0.5382 GB, free: 48.05 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002497/0.5478, allocations: 72.31 kB / 0.5383 GB, free: 48.04 MB / 414.1 MB Notification: Performance of SimCode: time 8.62e-07/0.5478, allocations: 0.6562 kB / 0.5383 GB, free: 48.04 MB / 414.1 MB Notification: Performance of Templates: time 0.02015/0.5679, allocations: 12.6 MB / 0.5506 GB, free: 44.43 MB / 414.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)