Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.LargerNetwork.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(PowerSysPro.Examples.LargerNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.LargerNetwork") translateModel(PowerSysPro.Examples.LargerNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.LargerNetwork") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 105.6 kB / 16.31 MB, free: 5.879 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.0009936/0.0009937, allocations: 190.5 kB / 17.24 MB, free: 5.539 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 222.9 MB / 240.9 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05573/0.05573, allocations: 8.104 MB / 299.2 MB, free: 6.699 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 63.91 kB / 361.7 MB, free: 8.113 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/0.2661, allocations: 51.52 MB / 413.2 MB, free: 25.57 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.LargerNetwork): time 0.01104/0.2771, allocations: 14.7 MB / 427.9 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009261/0.2864, allocations: 3.953 MB / 431.9 MB, free: 6.844 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003864/0.2904, allocations: 48 kB / 431.9 MB, free: 6.797 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002425/0.2928, allocations: 0.6902 MB / 432.6 MB, free: 6.102 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005734/0.2986, allocations: 1.626 MB / 434.3 MB, free: 4.469 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004317/0.3029, allocations: 2.082 MB / 436.3 MB, free: 2.406 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005334/0.3083, allocations: 3.595 MB / 439.9 MB, free: 14.79 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001718/0.31, allocations: 1.177 MB / 441.1 MB, free: 13.56 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00259/0.3126, allocations: 1.506 MB / 442.6 MB, free: 12.05 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003644/0.3163, allocations: 1.891 MB / 444.5 MB, free: 10.15 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009611/0.3172, allocations: 300 kB / 444.8 MB, free: 9.855 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002216/0.3195, allocations: 0.5583 MB / 445.4 MB, free: 9.297 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007328/0.3202, allocations: 0.7549 MB / 446.1 MB, free: 8.539 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001905/0.3221, allocations: 1.683 MB / 447.8 MB, free: 6.848 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004266/0.3264, allocations: 3.605 MB / 451.4 MB, free: 3.23 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3264, allocations: 3.938 kB / 451.4 MB, free: 3.227 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3264, allocations: 0 / 451.4 MB, free: 3.227 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.253e-05/0.3265, allocations: 0 / 451.4 MB, free: 3.227 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 598 * Number of variables: 598 Notification: Performance of Generate backend data structure: time 0.03557/0.3621, allocations: 8.169 MB / 459.6 MB, free: 10.98 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.614e-05/0.3622, allocations: 20.02 kB / 459.6 MB, free: 10.96 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001165/0.3634, allocations: 384.8 kB / 460 MB, free: 10.58 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003063/0.3664, allocations: 1.543 MB / 461.5 MB, free: 8.988 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006527/0.3671, allocations: 0.7503 MB / 462.3 MB, free: 8.109 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004238/0.3675, allocations: 268.4 kB / 462.5 MB, free: 7.848 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006594/0.3741, allocations: 3.776 MB / 466.3 MB, free: 4.004 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.853e-05/0.3742, allocations: 3.938 kB / 466.3 MB, free: 4 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003209/0.3745, allocations: 120 kB / 466.4 MB, free: 3.883 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.878e-05/0.3746, allocations: 56 kB / 466.5 MB, free: 3.828 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005919/0.3805, allocations: 3.591 MB / 470.1 MB, free: 228 kB / 334.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 preOpt removeSimpleEquations (simulation): time 0.02212/0.4026, allocations: 14.09 MB / 484.2 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007918/0.4106, allocations: 7.59 MB / 491.8 MB, free: 9.094 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004327/0.4149, allocations: 2.829 MB / 494.6 MB, free: 6.262 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003884/0.4154, allocations: 91.28 kB / 494.7 MB, free: 6.172 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004819/0.4202, allocations: 3.016 MB / 497.7 MB, free: 3.137 MB / 366.1 MB Notification: Performance of pre-optimization done (n=453): time 6.342e-06/0.4202, allocations: 0 / 497.7 MB, free: 3.137 MB / 366.1 MB Notification: Performance of matching and sorting (n=453): time 0.01488/0.4351, allocations: 9.037 MB / 0.4948 GB, free: 10.08 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001959/0.4353, allocations: 180.1 kB / 0.495 GB, free: 9.875 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00264/0.438, allocations: 1.473 MB / 0.4965 GB, free: 8.402 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006724/0.4387, allocations: 141.7 kB / 0.4966 GB, free: 8.258 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007786/0.4395, allocations: 0.8343 MB / 0.4974 GB, free: 7.418 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00206/0.4415, allocations: 1.455 MB / 0.4988 GB, free: 5.941 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001364/0.4429, allocations: 0.7463 MB / 0.4996 GB, free: 5.184 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.443, allocations: 301.1 kB / 0.4998 GB, free: 4.887 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004362/0.4474, allocations: 2.446 MB / 0.5022 GB, free: 2.434 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2342/0.6816, allocations: 2.762 MB / 0.5049 GB, free: 88.29 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008833/0.6904, allocations: 5.311 MB / 0.5101 GB, free: 86.68 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.104e-05/0.6905, allocations: 0 / 0.5101 GB, free: 86.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=590) (initialization): time 0.01422/0.7047, allocations: 7.905 MB / 0.5178 GB, free: 83.02 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/0.7048, allocations: 4.406 kB / 0.5178 GB, free: 83.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/0.7048, allocations: 0 / 0.5178 GB, free: 83.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03747/0.7423, allocations: 21.54 MB / 0.5389 GB, free: 66.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002295/0.7446, allocations: 0.5454 MB / 0.5394 GB, free: 66.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01247/0.7571, allocations: 6.851 MB / 0.5461 GB, free: 59.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003953/0.7611, allocations: 423 kB / 0.5465 GB, free: 59.65 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004446/0.7615, allocations: 148 kB / 0.5466 GB, free: 59.5 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 60 (b61106.degradedMode,$PRE.b61106.degradedMode,b87656.degradedMode,$PRE.b87656.degradedMode,b56131.degradedMode,$PRE.b56131.degradedMode,b61275.degradedMode,$PRE.b61275.degradedMode,b61273.degradedMode,$PRE.b61273.degradedMode,b61274.degradedMode,$PRE.b61274.degradedMode,b61089.degradedMode,$PRE.b61089.degradedMode,b61227.degradedMode,$PRE.b61227.degradedMode,b11403.degradedMode,$PRE.b11403.degradedMode,b11407.degradedMode,$PRE.b11407.degradedMode,b61254.degradedMode,$PRE.b61254.degradedMode,b61260.degradedMode,$PRE.b61260.degradedMode,b11465.degradedMode,$PRE.b11465.degradedMode,b87694.degradedMode,$PRE.b87694.degradedMode,b61121.degradedMode,$PRE.b61121.degradedMode,b61232.degradedMode,$PRE.b61232.degradedMode,b11480.degradedMode,$PRE.b11480.degradedMode,b61256.degradedMode,$PRE.b61256.degradedMode,b11458.degradedMode,$PRE.b11458.degradedMode,b61280.degradedMode,$PRE.b61280.degradedMode,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (375): * Single equations (assignments): 374 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(79,137)} Notification: Performance of prepare postOptimizeDAE: time 0.001287/0.7628, allocations: 0.5376 MB / 0.5472 GB, free: 58.96 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000623/0.7635, allocations: 297.2 kB / 0.5475 GB, free: 58.7 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01032/0.7738, allocations: 7.795 MB / 0.5551 GB, free: 50.91 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.791e-05/0.7739, allocations: 48 kB / 0.5551 GB, free: 50.86 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/0.7739, allocations: 3.984 kB / 0.5551 GB, free: 50.86 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.184e-05/0.7739, allocations: 19.92 kB / 0.5551 GB, free: 50.84 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01648/0.7904, allocations: 12.56 MB / 0.5674 GB, free: 38.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.571e-05/0.7905, allocations: 0 / 0.5674 GB, free: 38.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001329/0.7918, allocations: 407.4 kB / 0.5678 GB, free: 37.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02981/0.8216, allocations: 10.17 MB / 0.5777 GB, free: 27.79 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000914/0.8226, allocations: 95.98 kB / 0.5778 GB, free: 27.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01171/0.8343, allocations: 7.03 MB / 0.5847 GB, free: 20.63 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/0.8344, allocations: 4 kB / 0.5847 GB, free: 20.62 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01172/0.8461, allocations: 7.646 MB / 0.5921 GB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001781/0.8479, allocations: 0.9606 MB / 0.5931 GB, free: 11.97 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006185/0.8485, allocations: 87.98 kB / 0.5932 GB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003043/0.8516, allocations: 261.9 kB / 0.5934 GB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006293/0.8522, allocations: 307.5 kB / 0.5937 GB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002829/0.8525, allocations: 152 kB / 0.5939 GB, free: 11.19 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001253/0.8538, allocations: 0.9269 MB / 0.5948 GB, free: 10.27 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.8538, allocations: 4 kB / 0.5948 GB, free: 10.27 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00215/0.8559, allocations: 1.058 MB / 0.5958 GB, free: 9.207 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 40 ($whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,b61280.degradedMode,b11458.degradedMode,b61256.degradedMode,b11480.degradedMode,b61232.degradedMode,b61121.degradedMode,b87694.degradedMode,b11465.degradedMode,b61260.degradedMode,b61254.degradedMode,b11407.degradedMode,b11403.degradedMode,b61227.degradedMode,b61089.degradedMode,b61274.degradedMode,b61273.degradedMode,b61275.degradedMode,b56131.degradedMode,b87656.degradedMode,b61106.degradedMode) * Number of discrete states: 20 (b61089.degradedMode,b11407.degradedMode,b11403.degradedMode,b61275.degradedMode,b61273.degradedMode,b61254.degradedMode,b61274.degradedMode,b61260.degradedMode,b11465.degradedMode,b61227.degradedMode,b87656.degradedMode,b56131.degradedMode,b61256.degradedMode,b11480.degradedMode,b87694.degradedMode,b61232.degradedMode,b11458.degradedMode,b61121.degradedMode,b61280.degradedMode,b61106.degradedMode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (270): * Single equations (assignments): 269 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(80,156)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000515/0.8565, allocations: 288 kB / 0.5961 GB, free: 8.918 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.02307/0.8796, allocations: 7.19 MB / 0.6031 GB, free: 1.777 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.522e-05/0.8796, allocations: 11 kB / 0.6031 GB, free: 1.766 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01222/0.8918, allocations: 4.166 MB / 0.6072 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002745/0.8946, allocations: 389.4 kB / 0.6075 GB, free: 13.23 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0124/0.907, allocations: 6.157 MB / 0.6136 GB, free: 7.074 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001153/0.9082, allocations: 1.72 MB / 0.6152 GB, free: 5.324 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001265/0.9095, allocations: 333.5 kB / 0.6156 GB, free: 4.992 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000514/0.91, allocations: 207.4 kB / 0.6158 GB, free: 4.789 MB / 398.1 MB Notification: Performance of SimCode: time 2.184e-06/0.91, allocations: 0 / 0.6158 GB, free: 4.789 MB / 398.1 MB Notification: Performance of Templates: time 0.2766/1.187, allocations: 71.55 MB / 0.6856 GB, free: 140.1 MB / 446.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.LargerNetwork.makefile (rm -f PowerSysPro_PowerSysPro.Examples.LargerNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.LargerNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.LargerNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.LargerNetwork.sim & ./PowerSysPro_PowerSysPro.Examples.LargerNetwork -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.LargerNetwork.pipe 2>&1)