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-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/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.001358/0.001358, allocations: 115.1 kB / 17.13 MB, free: 5.934 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.001086/0.001086, allocations: 194.2 kB / 18.06 MB, free: 5.023 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.333/1.333, allocations: 222.9 MB / 241.8 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04421/0.04421, allocations: 8.094 MB / 300 MB, free: 6.629 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 63.91 kB / 415.2 MB, free: 21.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07821/0.07942, allocations: 51.52 MB / 466.7 MB, free: 2.078 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.LargerNetwork): time 0.01316/0.09261, allocations: 14.71 MB / 481.5 MB, free: 3.316 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007561/0.1002, allocations: 3.957 MB / 485.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00215/0.1024, allocations: 51.94 kB / 485.5 MB, free: 15.28 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001941/0.1044, allocations: 0.6902 MB / 486.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004941/0.1093, allocations: 1.626 MB / 487.8 MB, free: 12.96 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005072/0.1144, allocations: 2.148 MB / 489.9 MB, free: 10.83 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00538/0.1198, allocations: 3.634 MB / 493.6 MB, free: 7.176 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001919/0.1218, allocations: 1.177 MB / 494.7 MB, free: 5.945 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002195/0.124, allocations: 1.518 MB / 496.3 MB, free: 4.422 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002784/0.1268, allocations: 1.895 MB / 498.1 MB, free: 2.52 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009177/0.1277, allocations: 296 kB / 498.4 MB, free: 2.23 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001798/0.1295, allocations: 0.5544 MB / 499 MB, free: 1.676 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008873/0.1304, allocations: 0.7549 MB / 499.7 MB, free: 0.918 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002377/0.1328, allocations: 1.683 MB / 0.4897 GB, free: 15.22 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004641/0.1374, allocations: 3.64 MB / 0.4932 GB, free: 11.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.1375, allocations: 4 kB / 0.4932 GB, free: 11.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1375, allocations: 0 / 0.4932 GB, free: 11.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001231/0.1376, allocations: 0 / 0.4932 GB, free: 11.57 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: 598 * Number of variables: 598 Notification: Performance of Generate backend data structure: time 0.03586/0.1735, allocations: 8.181 MB / 0.5012 GB, free: 3.309 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.1735, allocations: 8.031 kB / 0.5012 GB, free: 3.301 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001017/0.1745, allocations: 384.8 kB / 0.5016 GB, free: 2.922 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002675/0.1772, allocations: 1.543 MB / 0.5031 GB, free: 1.332 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004327/0.1777, allocations: 0.7503 MB / 0.5038 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005874/0.1783, allocations: 272.4 kB / 0.5041 GB, free: 196 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1923/0.3706, allocations: 3.777 MB / 0.5078 GB, free: 40.36 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.849e-05/0.3707, allocations: 0 / 0.5078 GB, free: 40.36 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003141/0.371, allocations: 113 kB / 0.5079 GB, free: 40.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.23e-05/0.3711, allocations: 60.16 kB / 0.508 GB, free: 40.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005377/0.3764, allocations: 3.593 MB / 0.5115 GB, free: 38.75 MB / 382.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.0173/0.3938, allocations: 14.05 MB / 0.5252 GB, free: 29.48 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006242/0.4, allocations: 7.58 MB / 0.5326 GB, free: 24.2 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003135/0.4032, allocations: 2.826 MB / 0.5353 GB, free: 22.64 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003044/0.4035, allocations: 93.88 kB / 0.5354 GB, free: 22.61 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003845/0.4074, allocations: 3.016 MB / 0.5384 GB, free: 20.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=453): time 5.71e-06/0.4074, allocations: 0 / 0.5384 GB, free: 20.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=453): time 0.01195/0.4193, allocations: 9.039 MB / 0.5472 GB, free: 13.71 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.539e-05/0.4194, allocations: 177.5 kB / 0.5474 GB, free: 13.51 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00175/0.4212, allocations: 1.476 MB / 0.5488 GB, free: 12.06 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004983/0.4217, allocations: 133.7 kB / 0.5489 GB, free: 11.92 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004136/0.4221, allocations: 0.8465 MB / 0.5498 GB, free: 11.09 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008696/0.423, allocations: 1.442 MB / 0.5512 GB, free: 9.672 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001078/0.4241, allocations: 0.7502 MB / 0.5519 GB, free: 8.91 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.651e-05/0.4241, allocations: 309 kB / 0.5522 GB, free: 8.605 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003086/0.4272, allocations: 2.434 MB / 0.5546 GB, free: 6.164 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003317/0.4306, allocations: 2.769 MB / 0.5573 GB, free: 3.359 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007256/0.4378, allocations: 5.303 MB / 0.5625 GB, free: 13.98 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.139e-05/0.4379, allocations: 4 kB / 0.5625 GB, free: 13.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=590) (initialization): time 0.01384/0.4517, allocations: 7.904 MB / 0.5702 GB, free: 5.988 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/0.4518, allocations: 4 kB / 0.5702 GB, free: 5.984 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/0.4518, allocations: 48 / 0.5702 GB, free: 5.984 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0421/0.4939, allocations: 21.5 MB / 0.5912 GB, free: 492 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00231/0.4963, allocations: 0.5389 MB / 0.5917 GB, free: 15.94 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01428/0.5106, allocations: 6.86 MB / 0.5984 GB, free: 9.039 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003397/0.514, allocations: 415.8 kB / 0.5988 GB, free: 8.629 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005264/0.5145, allocations: 148 kB / 0.599 GB, free: 8.484 MB / 430.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.001579/0.5161, allocations: 0.5453 MB / 0.5995 GB, free: 7.93 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000866/0.517, allocations: 300.4 kB / 0.5998 GB, free: 7.633 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01337/0.5304, allocations: 7.784 MB / 0.6074 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-05/0.5305, allocations: 48 kB / 0.6074 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/0.5305, allocations: 0 / 0.6074 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.966e-05/0.5305, allocations: 23.91 kB / 0.6074 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02051/0.551, allocations: 12.47 MB / 0.6196 GB, free: 3.328 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.729e-05/0.5511, allocations: 8 kB / 0.6196 GB, free: 3.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001431/0.5525, allocations: 407.4 kB / 0.62 GB, free: 2.922 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0337/0.5862, allocations: 10.1 MB / 0.6299 GB, free: 8.805 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000834/0.5871, allocations: 99.97 kB / 0.63 GB, free: 8.707 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01481/0.6019, allocations: 7.041 MB / 0.6369 GB, free: 1.641 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.602, allocations: 0 / 0.6369 GB, free: 1.641 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01473/0.6167, allocations: 7.653 MB / 0.6443 GB, free: 9.965 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001949/0.6187, allocations: 0.9529 MB / 0.6453 GB, free: 8.988 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006975/0.6194, allocations: 88.88 kB / 0.6453 GB, free: 8.902 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003437/0.6229, allocations: 273.1 kB / 0.6456 GB, free: 8.641 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007423/0.6236, allocations: 303.5 kB / 0.6459 GB, free: 8.344 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003973/0.624, allocations: 152 kB / 0.646 GB, free: 8.195 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001563/0.6256, allocations: 0.9308 MB / 0.6469 GB, free: 7.273 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6256, allocations: 0 / 0.6469 GB, free: 7.273 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002422/0.6281, allocations: 1.058 MB / 0.648 GB, free: 6.215 MB / 478.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.0007174/0.6288, allocations: 295.3 kB / 0.6483 GB, free: 5.922 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0179/0.6467, allocations: 7.049 MB / 0.6551 GB, free: 14.86 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.731e-05/0.6468, allocations: 11 kB / 0.6552 GB, free: 14.85 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01345/0.6602, allocations: 4.17 MB / 0.6592 GB, free: 10.7 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003612/0.6639, allocations: 389.4 kB / 0.6596 GB, free: 10.33 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01354/0.6775, allocations: 6.144 MB / 0.6656 GB, free: 4.18 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001412/0.6789, allocations: 1.727 MB / 0.6673 GB, free: 2.422 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008252/0.6797, allocations: 227.4 kB / 0.6675 GB, free: 2.199 MB / 494.1 MB Notification: Performance of SimCode: time 8.11e-07/0.6798, allocations: 0 / 0.6675 GB, free: 2.199 MB / 494.1 MB Notification: Performance of Templates: time 0.2593/0.9391, allocations: 51.37 MB / 0.7177 GB, free: 172.1 MB / 0.5137 GB 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)