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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 175.7 kB / 16.8 MB, free: 4.898 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 223.3 MB / 240.8 MB, free: 11.72 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008124/0.0008123, allocations: 94.47 kB / 292 MB, free: 10.78 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04371/0.04371, allocations: 8.1 MB / 351.2 MB, free: 15.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000349/0.000349, allocations: 8 kB / 414.4 MB, free: 57.27 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08217/0.08253, allocations: 52.52 MB / 466.9 MB, free: 4.738 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.286/0.3686, allocations: 83.22 MB / 0.5372 GB, free: 2.387 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002116/0.3689, allocations: 69.22 kB / 0.5373 GB, free: 2.352 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2129/0.5817, allocations: 83.87 MB / 0.6192 GB, free: 212 kB / 426.7 MB Notification: Performance of FrontEnd: time 2.745e-06/0.5818, allocations: 0 / 0.6192 GB, free: 212 kB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000291/0.5821, allocations: 55.94 kB / 0.6192 GB, free: 156 kB / 426.7 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.02149/0.6036, allocations: 5.189 MB / 0.6243 GB, free: 10.89 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.6037, allocations: 12.02 kB / 0.6243 GB, free: 10.88 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001498/0.6052, allocations: 376.8 kB / 0.6247 GB, free: 10.51 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003781/0.609, allocations: 1.699 MB / 0.6263 GB, free: 8.766 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004456/0.6094, allocations: 0.7259 MB / 0.627 GB, free: 7.914 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007574/0.6102, allocations: 224.3 kB / 0.6273 GB, free: 7.695 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00786/0.6181, allocations: 3.83 MB / 0.631 GB, free: 3.797 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.16e-05/0.6182, allocations: 3.938 kB / 0.631 GB, free: 3.793 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005239/0.6187, allocations: 108 kB / 0.6311 GB, free: 3.688 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.273e-05/0.6188, allocations: 56 kB / 0.6312 GB, free: 3.633 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006715/0.6255, allocations: 3.622 MB / 0.6347 GB, free: 15.99 MB / 458.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 preOpt removeSimpleEquations (simulation): time 0.296/0.9215, allocations: 15.13 MB / 0.6495 GB, free: 93.02 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0128/0.9344, allocations: 7.567 MB / 0.6569 GB, free: 90.31 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008801/0.9432, allocations: 2.827 MB / 0.6596 GB, free: 90.28 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009448/0.9442, allocations: 174.7 kB / 0.6598 GB, free: 90.18 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009661/0.9539, allocations: 3.04 MB / 0.6628 GB, free: 90.07 MB / 458.7 MB Notification: Performance of pre-optimization done (n=453): time 1.339e-05/0.954, allocations: 0 / 0.6628 GB, free: 90.07 MB / 458.7 MB Notification: Performance of matching and sorting (n=453): time 0.02773/0.9817, allocations: 9.468 MB / 0.672 GB, free: 89.9 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.07e-05/0.9819, allocations: 179.9 kB / 0.6722 GB, free: 89.74 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003321/0.9852, allocations: 1.546 MB / 0.6737 GB, free: 89.58 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001069/0.9863, allocations: 122.6 kB / 0.6738 GB, free: 89.55 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008291/0.9871, allocations: 0.9138 MB / 0.6747 GB, free: 89.36 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001941/0.9891, allocations: 1.444 MB / 0.6761 GB, free: 88.62 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003381/0.9895, allocations: 77.41 kB / 0.6762 GB, free: 88.62 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002581/0.9897, allocations: 444.8 kB / 0.6766 GB, free: 88.31 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004676/0.9944, allocations: 2.111 MB / 0.6787 GB, free: 88.3 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005554/1, allocations: 2.388 MB / 0.681 GB, free: 88.23 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01109/1.011, allocations: 4.552 MB / 0.6854 GB, free: 88.14 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-05/1.011, allocations: 3.875 kB / 0.6854 GB, free: 88.14 MB / 458.7 MB Notification: Performance of matching and sorting (n=476) (initialization): time 0.02355/1.035, allocations: 7.496 MB / 0.6928 GB, free: 85.29 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.812e-05/1.035, allocations: 9.375 kB / 0.6928 GB, free: 85.29 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.253e-05/1.035, allocations: 0 / 0.6928 GB, free: 85.29 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.05055/1.085, allocations: 20.75 MB / 0.713 GB, free: 83.82 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002576/1.088, allocations: 413.5 kB / 0.7134 GB, free: 83.51 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01944/1.108, allocations: 6.863 MB / 0.7201 GB, free: 77 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005365/1.113, allocations: 340.5 kB / 0.7205 GB, free: 76.76 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008212/1.114, allocations: 141.3 kB / 0.7206 GB, free: 76.65 MB / 458.7 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 ($whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.b61280.degradedMode,b61280.degradedMode,$PRE.b11458.degradedMode,b11458.degradedMode,$PRE.b61256.degradedMode,b61256.degradedMode,$PRE.b11480.degradedMode,b11480.degradedMode,$PRE.b61232.degradedMode,b61232.degradedMode,$PRE.b61121.degradedMode,b61121.degradedMode,$PRE.b87694.degradedMode,b87694.degradedMode,$PRE.b11465.degradedMode,b11465.degradedMode,$PRE.b61260.degradedMode,b61260.degradedMode,$PRE.b61254.degradedMode,b61254.degradedMode,$PRE.b11407.degradedMode,b11407.degradedMode,$PRE.b11403.degradedMode,b11403.degradedMode,$PRE.b61227.degradedMode,b61227.degradedMode,$PRE.b61089.degradedMode,b61089.degradedMode,$PRE.b61274.degradedMode,b61274.degradedMode,$PRE.b61273.degradedMode,b61273.degradedMode,$PRE.b61275.degradedMode,b61275.degradedMode,$PRE.b56131.degradedMode,b56131.degradedMode,$PRE.b87656.degradedMode,b87656.degradedMode,$PRE.b61106.degradedMode,b61106.degradedMode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (261): * Single equations (assignments): 260 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {78 138} Notification: Performance of prepare postOptimizeDAE: time 0.002347/1.116, allocations: 0.5081 MB / 0.7211 GB, free: 76.16 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001358/1.118, allocations: 312.1 kB / 0.7214 GB, free: 75.86 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01966/1.137, allocations: 7.925 MB / 0.7291 GB, free: 68.75 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.093e-05/1.137, allocations: 48 kB / 0.7292 GB, free: 68.7 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.368e-05/1.137, allocations: 3.75 kB / 0.7292 GB, free: 68.7 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.954e-05/1.137, allocations: 22.45 kB / 0.7292 GB, free: 68.7 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03639/1.174, allocations: 13.57 MB / 0.7424 GB, free: 57.54 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.641e-05/1.174, allocations: 0 / 0.7424 GB, free: 57.54 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002846/1.177, allocations: 440.1 kB / 0.7429 GB, free: 57.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.04241/1.219, allocations: 9.904 MB / 0.7525 GB, free: 49.18 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001354/1.221, allocations: 114 kB / 0.7526 GB, free: 49.08 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01946/1.24, allocations: 6.981 MB / 0.7595 GB, free: 42.44 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/1.24, allocations: 0 / 0.7595 GB, free: 42.44 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01524/1.255, allocations: 8.03 MB / 0.7673 GB, free: 35.17 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003065/1.259, allocations: 0.9971 MB / 0.7683 GB, free: 34.39 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008951/1.26, allocations: 83.84 kB / 0.7684 GB, free: 34.31 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003833/1.263, allocations: 321.6 kB / 0.7687 GB, free: 34.05 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007782/1.264, allocations: 330.2 kB / 0.769 GB, free: 33.86 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000386/1.265, allocations: 160.6 kB / 0.7691 GB, free: 33.73 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001764/1.266, allocations: 1.063 MB / 0.7702 GB, free: 32.84 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.6e-07/1.266, allocations: 4 kB / 0.7702 GB, free: 32.84 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002885/1.269, allocations: 1.001 MB / 0.7712 GB, free: 31.86 MB / 458.7 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,b11480.degradedMode,b61121.degradedMode,b87694.degradedMode,b61232.degradedMode,b61275.degradedMode,b61274.degradedMode,b61273.degradedMode,b11407.degradedMode,b11403.degradedMode,b61254.degradedMode,b61260.degradedMode,b61227.degradedMode,b11465.degradedMode,b11458.degradedMode,b61280.degradedMode,b61256.degradedMode,b61106.degradedMode,b87656.degradedMode,b56131.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {79 157} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006441/1.27, allocations: 280.7 kB / 0.7714 GB, free: 31.62 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01455/1.284, allocations: 6.376 MB / 0.7776 GB, free: 25.85 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.381e-05/1.285, allocations: 11 kB / 0.7777 GB, free: 25.84 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01186/1.296, allocations: 4.03 MB / 0.7816 GB, free: 22.27 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003096/1.3, allocations: 391.3 kB / 0.782 GB, free: 21.93 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01209/1.312, allocations: 6.834 MB / 0.7886 GB, free: 15.76 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000928/1.313, allocations: 1.716 MB / 0.7903 GB, free: 14.33 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001737/1.314, allocations: 356.5 kB / 0.7907 GB, free: 14.1 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005352/1.315, allocations: 232.7 kB / 0.7909 GB, free: 13.91 MB / 458.7 MB Notification: Performance of SimCode: time 4.61e-07/1.315, allocations: 0 / 0.7909 GB, free: 13.91 MB / 458.7 MB Notification: Performance of Templates: time 0.3359/1.651, allocations: 64.17 MB / 0.8535 GB, free: 104.7 MB / 474.7 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)