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.001652/0.001652, allocations: 179.3 kB / 15.8 MB, free: 6.34 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.411/1.411, allocations: 223.2 MB / 239.7 MB, free: 1.777 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008755/0.0008754, allocations: 98.77 kB / 290.9 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04689/0.04689, allocations: 8.109 MB / 350.1 MB, free: 2.703 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003138/0.0003138, allocations: 7.875 kB / 413.1 MB, free: 89.75 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09084/0.09117, allocations: 52.52 MB / 465.6 MB, free: 42.06 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3041/0.3953, allocations: 83.19 MB / 0.5359 GB, free: 16.66 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001986/0.3956, allocations: 65.14 kB / 0.536 GB, free: 16.66 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1938/0.5894, allocations: 83.87 MB / 0.6179 GB, free: 0.8438 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.5894, allocations: 4 kB / 0.6179 GB, free: 0.8398 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000147/0.5896, allocations: 55.94 kB / 0.618 GB, free: 0.7852 MB / 378.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.02263/0.6122, allocations: 5.228 MB / 0.6231 GB, free: 11.56 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.432e-05/0.6123, allocations: 8.031 kB / 0.6231 GB, free: 11.55 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002339/0.6146, allocations: 375.9 kB / 0.6234 GB, free: 11.18 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004416/0.6191, allocations: 1.639 MB / 0.625 GB, free: 9.531 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004961/0.6196, allocations: 0.7175 MB / 0.6257 GB, free: 8.688 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006788/0.6203, allocations: 236 kB / 0.626 GB, free: 8.457 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007446/0.6277, allocations: 3.799 MB / 0.6297 GB, free: 4.586 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.727e-05/0.6278, allocations: 0 / 0.6297 GB, free: 4.586 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004523/0.6283, allocations: 108 kB / 0.6298 GB, free: 4.48 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.484e-05/0.6283, allocations: 56 kB / 0.6298 GB, free: 4.426 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006769/0.6351, allocations: 3.622 MB / 0.6334 GB, free: 0.7891 MB / 394.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.02824/0.6634, allocations: 15.16 MB / 0.6482 GB, free: 0.6953 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009425/0.6728, allocations: 7.573 MB / 0.6556 GB, free: 8.723 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001105/0.674, allocations: 180.4 kB / 0.6557 GB, free: 8.555 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006712/0.6808, allocations: 3.019 MB / 0.6587 GB, free: 5.52 MB / 426.7 MB Notification: Performance of pre-optimization done (n=453): time 7.053e-06/0.6808, allocations: 0 / 0.6587 GB, free: 5.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=453): time 0.01923/0.7, allocations: 9.465 MB / 0.6679 GB, free: 12.04 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/0.7002, allocations: 176.1 kB / 0.6681 GB, free: 11.84 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002545/0.7028, allocations: 1.355 MB / 0.6694 GB, free: 10.48 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001024/0.7038, allocations: 117.7 kB / 0.6695 GB, free: 10.36 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000801/0.7046, allocations: 0.9179 MB / 0.6704 GB, free: 9.434 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002025/0.7066, allocations: 1.449 MB / 0.6718 GB, free: 8.004 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003199/0.707, allocations: 68 kB / 0.6719 GB, free: 7.938 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002863/0.7073, allocations: 445.9 kB / 0.6723 GB, free: 7.496 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003617/0.7109, allocations: 2.12 MB / 0.6744 GB, free: 5.375 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003887/0.7148, allocations: 2.363 MB / 0.6767 GB, free: 3.004 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003848/0.7187, allocations: 2.223 MB / 0.6789 GB, free: 0.7812 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.634e-06/0.7187, allocations: 4 kB / 0.6789 GB, free: 0.7773 MB / 442.7 MB Notification: Performance of matching and sorting (n=476) (initialization): time 0.01504/0.7337, allocations: 7.496 MB / 0.6862 GB, free: 9.27 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.999e-05/0.7338, allocations: 11.94 kB / 0.6862 GB, free: 9.258 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.589e-05/0.7338, allocations: 3.953 kB / 0.6862 GB, free: 9.254 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2429/0.9767, allocations: 20.75 MB / 0.7065 GB, free: 90.43 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002053/0.9788, allocations: 412.2 kB / 0.7069 GB, free: 90.43 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01403/0.9929, allocations: 6.855 MB / 0.7136 GB, free: 89.84 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003794/0.9967, allocations: 344.6 kB / 0.7139 GB, free: 89.84 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003689/0.9971, allocations: 132.9 kB / 0.714 GB, free: 89.84 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.001457/0.9986, allocations: 0.5144 MB / 0.7145 GB, free: 89.72 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007607/0.9993, allocations: 309.1 kB / 0.7148 GB, free: 89.68 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01224/1.012, allocations: 7.948 MB / 0.7226 GB, free: 89.45 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.659e-05/1.012, allocations: 47.47 kB / 0.7226 GB, free: 89.45 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/1.012, allocations: 0 / 0.7226 GB, free: 89.45 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.644e-05/1.012, allocations: 25.38 kB / 0.7226 GB, free: 89.45 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0206/1.032, allocations: 13.57 MB / 0.7359 GB, free: 88.77 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.618e-05/1.032, allocations: 0 / 0.7359 GB, free: 88.77 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00154/1.034, allocations: 441.8 kB / 0.7363 GB, free: 88.77 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02895/1.063, allocations: 9.653 MB / 0.7457 GB, free: 88.57 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001334/1.064, allocations: 113.6 kB / 0.7459 GB, free: 88.57 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01289/1.077, allocations: 6.978 MB / 0.7527 GB, free: 87.45 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.159e-06/1.077, allocations: 3.797 kB / 0.7527 GB, free: 87.45 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01538/1.093, allocations: 8.022 MB / 0.7605 GB, free: 80.47 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003029/1.096, allocations: 0.9977 MB / 0.7615 GB, free: 79.69 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007549/1.096, allocations: 91.95 kB / 0.7616 GB, free: 79.6 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003627/1.1, allocations: 318.3 kB / 0.7619 GB, free: 79.36 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006763/1.101, allocations: 326.5 kB / 0.7622 GB, free: 79.18 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003528/1.101, allocations: 159.3 kB / 0.7623 GB, free: 79.04 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001675/1.103, allocations: 1.062 MB / 0.7634 GB, free: 78.16 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.5e-07/1.103, allocations: 0 / 0.7634 GB, free: 78.16 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002854/1.106, allocations: 1.002 MB / 0.7644 GB, free: 77.18 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.0007853/1.107, allocations: 280 kB / 0.7646 GB, free: 76.94 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01555/1.122, allocations: 6.365 MB / 0.7708 GB, free: 71.2 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.575e-05/1.122, allocations: 12.12 kB / 0.7708 GB, free: 71.19 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01262/1.135, allocations: 4.029 MB / 0.7748 GB, free: 67.65 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002647/1.137, allocations: 310.1 kB / 0.7751 GB, free: 67.39 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01269/1.15, allocations: 7.094 MB / 0.782 GB, free: 60.92 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009572/1.151, allocations: 1.775 MB / 0.7837 GB, free: 59.49 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001816/1.153, allocations: 360.3 kB / 0.7841 GB, free: 59.26 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005753/1.154, allocations: 233.2 kB / 0.7843 GB, free: 59.07 MB / 458.7 MB Notification: Performance of SimCode: time 7.12e-07/1.154, allocations: 0 / 0.7843 GB, free: 59.07 MB / 458.7 MB Notification: Performance of Templates: time 0.08925/1.243, allocations: 63.74 MB / 0.8466 GB, free: 12.29 MB / 458.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)