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.001175/0.001175, allocations: 189.5 kB / 17.27 MB, free: 4.5 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.186/1.186, allocations: 194.2 MB / 212.2 MB, free: 2.363 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.001847/0.001848, allocations: 126.9 kB / 256.6 MB, free: 4.328 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1676/0.1676, allocations: 37.94 MB / 338.8 MB, free: 2.23 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 63.91 kB / 401.8 MB, free: 68.75 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08776/0.08899, allocations: 52.19 MB / 454 MB, free: 16.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.006414/0.09544, allocations: 8.077 MB / 462.1 MB, free: 8.457 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004869/0.1003, allocations: 4.955 MB / 467 MB, free: 3.48 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006778/0.1011, allocations: 19.94 kB / 467 MB, free: 3.461 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002193/0.1033, allocations: 1.032 MB / 468.1 MB, free: 2.43 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002692/0.106, allocations: 1.199 MB / 469.3 MB, free: 1.227 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009036/0.1069, allocations: 323.2 kB / 469.6 MB, free: 0.9102 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002275/0.1092, allocations: 2.701 MB / 472.3 MB, free: 14.2 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009635/0.1102, allocations: 0.6614 MB / 472.9 MB, free: 13.54 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008388/0.111, allocations: 0.5366 MB / 473.5 MB, free: 13 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009046/0.1119, allocations: 0.7594 MB / 474.2 MB, free: 12.24 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 8.626e-05/0.112, allocations: 52 kB / 474.3 MB, free: 12.19 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002525/0.1145, allocations: 1.742 MB / 476 MB, free: 10.44 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004186/0.115, allocations: 486.8 kB / 476.5 MB, free: 9.965 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004332/0.1154, allocations: 429.9 kB / 476.9 MB, free: 9.543 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002301/0.1177, allocations: 1.616 MB / 478.5 MB, free: 7.922 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.1177, allocations: 0 / 478.5 MB, free: 7.922 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1178, allocations: 0 / 478.5 MB, free: 7.922 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.071e-05/0.1178, allocations: 0 / 478.5 MB, free: 7.922 MB / 330.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.001952/0.1197, allocations: 1.171 MB / 479.7 MB, free: 6.699 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/0.1198, allocations: 12.03 kB / 479.7 MB, free: 6.688 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003151/0.123, allocations: 403.4 kB / 480.1 MB, free: 6.293 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007971/0.1238, allocations: 499.2 kB / 480.6 MB, free: 5.766 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.518e-05/0.1238, allocations: 58.36 kB / 480.7 MB, free: 5.711 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001266/0.124, allocations: 80.36 kB / 480.7 MB, free: 5.633 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001664/0.1256, allocations: 1.23 MB / 482 MB, free: 4.375 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.489e-05/0.1257, allocations: 4 kB / 482 MB, free: 4.371 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.649e-05/0.1257, allocations: 31.98 kB / 482 MB, free: 4.34 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.963e-05/0.1258, allocations: 73.95 kB / 482.1 MB, free: 4.27 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001816/0.1277, allocations: 1.319 MB / 483.4 MB, free: 2.945 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00549/0.1332, allocations: 3.7 MB / 487.1 MB, free: 15.13 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001682/0.1349, allocations: 1.101 MB / 488.2 MB, free: 14.01 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008058/0.1357, allocations: 0.6333 MB / 488.8 MB, free: 13.38 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.786e-05/0.1358, allocations: 25.12 kB / 488.9 MB, free: 13.35 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/0.1358, allocations: 39.56 kB / 488.9 MB, free: 13.3 MB / 346.7 MB Notification: Performance of pre-optimization done (n=92): time 3.006e-06/0.1358, allocations: 0 / 488.9 MB, free: 13.3 MB / 346.7 MB Notification: Performance of matching and sorting (n=93): time 0.006418/0.1422, allocations: 3.149 MB / 492.1 MB, free: 10.13 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.204e-05/0.1423, allocations: 94.11 kB / 492.1 MB, free: 10.02 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003629/0.1427, allocations: 377.5 kB / 492.5 MB, free: 9.645 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.419e-05/0.1427, allocations: 37.7 kB / 492.5 MB, free: 9.602 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001904/0.1429, allocations: 332 kB / 492.9 MB, free: 9.27 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002254/0.1432, allocations: 311.4 kB / 493.2 MB, free: 8.961 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002353/0.1434, allocations: 162.6 kB / 493.3 MB, free: 8.793 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.1436, allocations: 370.8 kB / 493.7 MB, free: 8.422 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006123/0.1442, allocations: 465.7 kB / 494.2 MB, free: 7.969 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006984/0.1449, allocations: 0.5782 MB / 494.7 MB, free: 7.359 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001399/0.1463, allocations: 1.118 MB / 495.8 MB, free: 6.207 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.1463, allocations: 0 / 495.8 MB, free: 6.207 MB / 346.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002279/0.1486, allocations: 1.477 MB / 497.3 MB, free: 4.719 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.1486, allocations: 4 kB / 497.3 MB, free: 4.715 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.1486, allocations: 8.219 kB / 497.3 MB, free: 4.707 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008831/0.1495, allocations: 344.5 kB / 497.7 MB, free: 4.367 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006442/0.1502, allocations: 183.7 kB / 497.9 MB, free: 4.188 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004801/0.155, allocations: 3.841 MB / 0.4899 GB, free: 184 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005049/0.1555, allocations: 47.94 kB / 0.49 GB, free: 136 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-05/0.1556, allocations: 44.05 kB / 0.49 GB, free: 92 kB / 346.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 () * 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.0004113/0.156, allocations: 297.5 kB / 0.4903 GB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001109/0.1561, allocations: 71.22 kB / 0.4904 GB, free: 15.72 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002507/0.1587, allocations: 1.547 MB / 0.4919 GB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/0.1587, allocations: 12 kB / 0.4919 GB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.994e-06/0.1587, allocations: 7.938 kB / 0.4919 GB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.1587, allocations: 3.984 kB / 0.4919 GB, free: 14.14 MB / 362.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.00463/0.1633, allocations: 3.013 MB / 0.4949 GB, free: 11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.1634, allocations: 4 kB / 0.4949 GB, free: 11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005602/0.1639, allocations: 167.6 kB / 0.495 GB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000754/0.1647, allocations: 292 kB / 0.4953 GB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.718e-05/0.1648, allocations: 27.92 kB / 0.4953 GB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004286/0.1691, allocations: 3.583 MB / 0.4988 GB, free: 6.785 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.421e-06/0.1691, allocations: 4 kB / 0.4988 GB, free: 6.781 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003266/0.1724, allocations: 2.872 MB / 0.5016 GB, free: 3.805 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000158/0.1725, allocations: 144.3 kB / 0.5018 GB, free: 3.645 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.122e-05/0.1726, allocations: 23.94 kB / 0.5018 GB, free: 3.621 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003979/0.173, allocations: 47.95 kB / 0.5018 GB, free: 3.574 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001376/0.1732, allocations: 72.83 kB / 0.5019 GB, free: 3.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.918e-05/0.1732, allocations: 36 kB / 0.5019 GB, free: 3.465 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002443/0.1735, allocations: 271.1 kB / 0.5022 GB, free: 3.203 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.553e-06/0.1735, allocations: 0 / 0.5022 GB, free: 3.203 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009373/0.1744, allocations: 311.9 kB / 0.5025 GB, free: 2.898 MB / 362.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 (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.0001546/0.1746, allocations: 131 kB / 0.5026 GB, free: 2.762 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001924/0.1765, allocations: 1.381 MB / 0.504 GB, free: 1.367 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/0.1765, allocations: 0 / 0.504 GB, free: 1.367 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001124/0.1777, allocations: 0.836 MB / 0.5048 GB, free: 0.5195 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006472/0.1783, allocations: 102.7 kB / 0.5049 GB, free: 432 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.159/0.3373, allocations: 2.707 MB / 0.5075 GB, free: 65.39 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007542/0.3381, allocations: 1.126 MB / 0.5086 GB, free: 64.69 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005307/0.3386, allocations: 188.2 kB / 0.5088 GB, free: 64.68 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002148/0.3389, allocations: 62.83 kB / 0.5089 GB, free: 64.68 MB / 362.7 MB Notification: Performance of SimCode: time 6.41e-07/0.3389, allocations: 0 / 0.5089 GB, free: 64.68 MB / 362.7 MB Notification: Performance of Templates: time 0.01582/0.3547, allocations: 10.15 MB / 0.5188 GB, free: 62.28 MB / 362.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)