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.001197/0.001197, allocations: 107.4 kB / 16.45 MB, free: 6.395 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.001574/0.001574, allocations: 186.1 kB / 17.38 MB, free: 5.676 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.435/1.435, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05336/0.05336, allocations: 8.105 MB / 299.3 MB, free: 6.629 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 63.91 kB / 414.5 MB, free: 21.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09954/0.1009, allocations: 51.52 MB / 466.1 MB, free: 2.094 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.LargerNetwork): time 0.01375/0.1147, allocations: 14.71 MB / 480.8 MB, free: 3.328 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0083/0.123, allocations: 3.953 MB / 484.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002005/0.1251, allocations: 44 kB / 484.8 MB, free: 15.31 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002049/0.1271, allocations: 0.6902 MB / 485.5 MB, free: 14.61 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005299/0.1325, allocations: 1.63 MB / 487.1 MB, free: 12.98 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005809/0.1383, allocations: 2.144 MB / 489.2 MB, free: 10.85 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008854/0.1472, allocations: 3.638 MB / 492.9 MB, free: 7.195 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003283/0.1505, allocations: 1.188 MB / 494.1 MB, free: 5.953 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003097/0.1536, allocations: 1.51 MB / 495.6 MB, free: 4.438 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003505/0.1572, allocations: 1.895 MB / 497.5 MB, free: 2.535 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00113/0.1583, allocations: 303.9 kB / 497.8 MB, free: 2.238 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002152/0.1605, allocations: 0.5544 MB / 498.3 MB, free: 1.684 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001023/0.1615, allocations: 0.7549 MB / 499.1 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003492/0.165, allocations: 1.679 MB / 0.489 GB, free: 15.24 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006218/0.1713, allocations: 3.644 MB / 0.4926 GB, free: 11.58 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.1713, allocations: 0 / 0.4926 GB, free: 11.58 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.255e-06/0.1713, allocations: 0 / 0.4926 GB, free: 11.58 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001145/0.1714, allocations: 0 / 0.4926 GB, free: 11.58 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.03324/0.2047, allocations: 8.181 MB / 0.5006 GB, free: 3.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.2047, allocations: 8.031 kB / 0.5006 GB, free: 3.312 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001159/0.2059, allocations: 376.8 kB / 0.5009 GB, free: 2.941 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002759/0.2087, allocations: 1.547 MB / 0.5024 GB, free: 1.348 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004955/0.2092, allocations: 0.7542 MB / 0.5032 GB, free: 480 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006389/0.2098, allocations: 264.4 kB / 0.5034 GB, free: 216 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2577/0.4675, allocations: 3.786 MB / 0.5071 GB, free: 40.31 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.202e-05/0.4676, allocations: 0 / 0.5071 GB, free: 40.31 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003233/0.4679, allocations: 113.7 kB / 0.5072 GB, free: 40.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.015e-05/0.468, allocations: 55.97 kB / 0.5073 GB, free: 40.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005477/0.4735, allocations: 3.591 MB / 0.5108 GB, free: 38.71 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.02052/0.494, allocations: 14.05 MB / 0.5245 GB, free: 29.44 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006813/0.5009, allocations: 7.586 MB / 0.5319 GB, free: 24.15 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003181/0.5041, allocations: 2.833 MB / 0.5347 GB, free: 22.59 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003708/0.5045, allocations: 81.61 kB / 0.5348 GB, free: 22.57 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003823/0.5083, allocations: 3.021 MB / 0.5377 GB, free: 20.78 MB / 382.1 MB Notification: Performance of pre-optimization done (n=453): time 9.508e-06/0.5083, allocations: 0 / 0.5377 GB, free: 20.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=453): time 0.01396/0.5223, allocations: 9.04 MB / 0.5465 GB, free: 13.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.01e-05/0.5224, allocations: 176.1 kB / 0.5467 GB, free: 13.48 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001708/0.5241, allocations: 1.48 MB / 0.5482 GB, free: 12.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000387/0.5245, allocations: 137.7 kB / 0.5483 GB, free: 11.88 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004036/0.5249, allocations: 0.8387 MB / 0.5491 GB, free: 11.06 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008256/0.5258, allocations: 1.442 MB / 0.5505 GB, free: 9.641 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001106/0.5269, allocations: 0.7541 MB / 0.5513 GB, free: 8.875 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.288e-05/0.5269, allocations: 305.1 kB / 0.5515 GB, free: 8.574 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00304/0.53, allocations: 2.438 MB / 0.5539 GB, free: 6.129 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003208/0.5332, allocations: 2.765 MB / 0.5566 GB, free: 3.328 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007376/0.5406, allocations: 5.306 MB / 0.5618 GB, free: 13.95 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.321e-05/0.5406, allocations: 0 / 0.5618 GB, free: 13.95 MB / 398.1 MB Notification: Performance of matching and sorting (n=590) (initialization): time 0.01405/0.5547, allocations: 7.908 MB / 0.5695 GB, free: 5.953 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.93e-05/0.5548, allocations: 4 kB / 0.5695 GB, free: 5.949 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/0.5548, allocations: 0 / 0.5695 GB, free: 5.949 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04157/0.5964, allocations: 21.49 MB / 0.5905 GB, free: 460 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002273/0.5987, allocations: 0.5422 MB / 0.5911 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01415/0.6129, allocations: 6.861 MB / 0.5978 GB, free: 9.008 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003223/0.6161, allocations: 415.8 kB / 0.5982 GB, free: 8.598 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003477/0.6165, allocations: 148 kB / 0.5983 GB, free: 8.453 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.001228/0.6177, allocations: 0.5415 MB / 0.5988 GB, free: 7.902 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006083/0.6184, allocations: 304.4 kB / 0.5991 GB, free: 7.602 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01258/0.631, allocations: 7.779 MB / 0.6067 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.59e-05/0.631, allocations: 51.98 kB / 0.6068 GB, free: 15.76 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/0.631, allocations: 4 kB / 0.6068 GB, free: 15.76 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.11e-05/0.6311, allocations: 23.91 kB / 0.6068 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01993/0.651, allocations: 12.47 MB / 0.619 GB, free: 3.297 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.967e-05/0.6511, allocations: 0 / 0.619 GB, free: 3.297 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001391/0.6525, allocations: 419.4 kB / 0.6194 GB, free: 2.887 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03289/0.6854, allocations: 10.1 MB / 0.6292 GB, free: 8.77 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00108/0.6865, allocations: 95.98 kB / 0.6293 GB, free: 8.676 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01394/0.7005, allocations: 7.042 MB / 0.6362 GB, free: 1.605 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.7005, allocations: 0 / 0.6362 GB, free: 1.605 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01437/0.7149, allocations: 7.657 MB / 0.6437 GB, free: 9.926 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002173/0.7171, allocations: 0.9529 MB / 0.6446 GB, free: 8.949 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005713/0.7177, allocations: 88.88 kB / 0.6447 GB, free: 8.863 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002793/0.7205, allocations: 264.7 kB / 0.6449 GB, free: 8.613 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000688/0.7212, allocations: 307.5 kB / 0.6452 GB, free: 8.312 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003416/0.7216, allocations: 152 kB / 0.6454 GB, free: 8.164 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001359/0.7229, allocations: 0.9269 MB / 0.6463 GB, free: 7.246 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.7229, allocations: 0 / 0.6463 GB, free: 7.246 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002115/0.7251, allocations: 1.061 MB / 0.6473 GB, free: 6.184 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.0005735/0.7257, allocations: 294.8 kB / 0.6476 GB, free: 5.895 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01568/0.7413, allocations: 7.057 MB / 0.6545 GB, free: 14.83 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.725e-05/0.7414, allocations: 11 kB / 0.6545 GB, free: 14.82 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01091/0.7523, allocations: 4.165 MB / 0.6586 GB, free: 10.66 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002177/0.7545, allocations: 379.6 kB / 0.6589 GB, free: 10.3 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01058/0.7651, allocations: 6.096 MB / 0.6649 GB, free: 4.211 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001043/0.7662, allocations: 1.72 MB / 0.6666 GB, free: 2.461 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009501/0.7671, allocations: 345.5 kB / 0.6669 GB, free: 2.117 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004531/0.7676, allocations: 203.4 kB / 0.6671 GB, free: 1.918 MB / 494.1 MB Notification: Performance of SimCode: time 6.81e-07/0.7676, allocations: 4 kB / 0.6671 GB, free: 1.914 MB / 494.1 MB Notification: Performance of Templates: time 0.3021/1.07, allocations: 72.49 MB / 0.7379 GB, free: 158.8 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)