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.001094/0.001094, allocations: 109.5 kB / 17.08 MB, free: 5.777 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.001121/0.001121, allocations: 195 kB / 18.02 MB, free: 4.953 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.312/1.312, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04806/0.04806, allocations: 8.092 MB / 300 MB, free: 6.688 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00199/0.001991, allocations: 63.91 kB / 363.2 MB, free: 7.438 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2262/0.2282, allocations: 51.52 MB / 414.7 MB, free: 25.46 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.LargerNetwork): time 0.00984/0.2381, allocations: 14.69 MB / 429.4 MB, free: 10.72 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007312/0.2454, allocations: 3.969 MB / 433.4 MB, free: 6.73 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002568/0.248, allocations: 44 kB / 433.4 MB, free: 6.688 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001616/0.2497, allocations: 0.698 MB / 434.1 MB, free: 5.984 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004681/0.2544, allocations: 1.619 MB / 435.7 MB, free: 4.355 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004111/0.2585, allocations: 2.145 MB / 437.9 MB, free: 2.23 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005357/0.2639, allocations: 3.634 MB / 441.5 MB, free: 14.58 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001645/0.2656, allocations: 1.185 MB / 442.7 MB, free: 13.34 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00224/0.2678, allocations: 1.506 MB / 444.2 MB, free: 11.82 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002348/0.2702, allocations: 1.887 MB / 446.1 MB, free: 9.93 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005314/0.2707, allocations: 304 kB / 446.4 MB, free: 9.633 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001259/0.272, allocations: 0.5544 MB / 446.9 MB, free: 9.078 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005679/0.2726, allocations: 0.7549 MB / 447.7 MB, free: 8.32 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001613/0.2742, allocations: 1.687 MB / 449.4 MB, free: 6.625 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003789/0.278, allocations: 3.64 MB / 453 MB, free: 2.973 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.278, allocations: 0 / 453 MB, free: 2.973 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.278, allocations: 0 / 453 MB, free: 2.973 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.954e-05/0.2781, allocations: 0 / 453 MB, free: 2.973 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.03385/0.3119, allocations: 8.185 MB / 461.2 MB, free: 10.71 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.312, allocations: 8.031 kB / 461.2 MB, free: 10.7 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000897/0.3129, allocations: 376.8 kB / 461.6 MB, free: 10.33 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002744/0.3156, allocations: 1.543 MB / 463.1 MB, free: 8.742 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004879/0.3161, allocations: 0.7464 MB / 463.9 MB, free: 7.867 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004231/0.3166, allocations: 268.4 kB / 464.1 MB, free: 7.605 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006155/0.3227, allocations: 3.784 MB / 467.9 MB, free: 3.754 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.895e-05/0.3228, allocations: 7.922 kB / 467.9 MB, free: 3.746 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003/0.3231, allocations: 112 kB / 468 MB, free: 3.637 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.852e-05/0.3232, allocations: 56 kB / 468.1 MB, free: 3.582 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005617/0.3288, allocations: 3.595 MB / 471.7 MB, free: 15.97 MB / 350.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.02095/0.3498, allocations: 14.05 MB / 485.7 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007455/0.3572, allocations: 7.586 MB / 493.3 MB, free: 8.887 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003928/0.3612, allocations: 2.829 MB / 496.1 MB, free: 6.055 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000401/0.3616, allocations: 95.19 kB / 496.2 MB, free: 5.965 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004597/0.3662, allocations: 3.008 MB / 499.2 MB, free: 2.938 MB / 366.1 MB Notification: Performance of pre-optimization done (n=453): time 6.061e-06/0.3662, allocations: 0 / 499.2 MB, free: 2.938 MB / 366.1 MB Notification: Performance of matching and sorting (n=453): time 0.01435/0.3806, allocations: 9.04 MB / 0.4964 GB, free: 9.883 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001082/0.3807, allocations: 176.1 kB / 0.4965 GB, free: 9.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002168/0.3829, allocations: 1.48 MB / 0.498 GB, free: 8.199 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005572/0.3835, allocations: 137.7 kB / 0.4981 GB, free: 8.059 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006481/0.3841, allocations: 0.8382 MB / 0.4989 GB, free: 7.211 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001347/0.3855, allocations: 1.451 MB / 0.5004 GB, free: 5.738 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001344/0.3868, allocations: 0.7463 MB / 0.5011 GB, free: 4.98 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.898e-05/0.3869, allocations: 301.1 kB / 0.5014 GB, free: 4.684 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003981/0.3909, allocations: 2.446 MB / 0.5038 GB, free: 2.23 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1957/0.5867, allocations: 2.764 MB / 0.5065 GB, free: 88.36 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007789/0.5945, allocations: 5.307 MB / 0.5116 GB, free: 86.65 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-05/0.5945, allocations: 0 / 0.5116 GB, free: 86.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=590) (initialization): time 0.01289/0.6074, allocations: 7.902 MB / 0.5194 GB, free: 83 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/0.6075, allocations: 5.688 kB / 0.5194 GB, free: 83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/0.6075, allocations: 3.812 kB / 0.5194 GB, free: 83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03517/0.6427, allocations: 21.49 MB / 0.5404 GB, free: 66.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002172/0.6449, allocations: 0.5405 MB / 0.5409 GB, free: 66.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01187/0.6568, allocations: 6.859 MB / 0.5476 GB, free: 59.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003295/0.6601, allocations: 420.4 kB / 0.548 GB, free: 59.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003824/0.6605, allocations: 144 kB / 0.5481 GB, free: 59.38 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.001141/0.6617, allocations: 0.5415 MB / 0.5486 GB, free: 58.83 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006348/0.6623, allocations: 304 kB / 0.5489 GB, free: 58.56 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0103/0.6726, allocations: 7.773 MB / 0.5565 GB, free: 50.79 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.778e-05/0.6727, allocations: 52 kB / 0.5566 GB, free: 50.74 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.6727, allocations: 3.984 kB / 0.5566 GB, free: 50.74 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.323e-05/0.6728, allocations: 27.91 kB / 0.5566 GB, free: 50.71 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01585/0.6886, allocations: 12.47 MB / 0.5688 GB, free: 38.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-05/0.6887, allocations: 4 kB / 0.5688 GB, free: 38.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0013/0.69, allocations: 403.4 kB / 0.5692 GB, free: 37.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02972/0.7197, allocations: 10.12 MB / 0.5791 GB, free: 27.8 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008148/0.7206, allocations: 95.98 kB / 0.5791 GB, free: 27.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01207/0.7326, allocations: 7.034 MB / 0.586 GB, free: 20.64 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.7327, allocations: 4 kB / 0.586 GB, free: 20.63 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01189/0.7446, allocations: 7.649 MB / 0.5935 GB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001924/0.7465, allocations: 0.9645 MB / 0.5944 GB, free: 11.97 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006158/0.7472, allocations: 88 kB / 0.5945 GB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002752/0.7499, allocations: 262.7 kB / 0.5948 GB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000595/0.7505, allocations: 307.5 kB / 0.5951 GB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003059/0.7508, allocations: 152 kB / 0.5952 GB, free: 11.19 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001194/0.752, allocations: 0.9269 MB / 0.5961 GB, free: 10.27 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.7e-07/0.7521, allocations: 0 / 0.5961 GB, free: 10.27 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001988/0.7541, allocations: 1.061 MB / 0.5971 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.0005606/0.7546, allocations: 287.4 kB / 0.5974 GB, free: 8.918 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01466/0.7693, allocations: 7.069 MB / 0.6043 GB, free: 1.863 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-05/0.7693, allocations: 11 kB / 0.6043 GB, free: 1.852 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01192/0.7813, allocations: 4.173 MB / 0.6084 GB, free: 13.69 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002184/0.7835, allocations: 381.5 kB / 0.6088 GB, free: 13.32 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.011/0.7945, allocations: 6.097 MB / 0.6147 GB, free: 7.227 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001098/0.7956, allocations: 1.716 MB / 0.6164 GB, free: 5.48 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001056/0.7967, allocations: 337.5 kB / 0.6167 GB, free: 5.145 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004829/0.7972, allocations: 207.4 kB / 0.6169 GB, free: 4.941 MB / 398.1 MB Notification: Performance of SimCode: time 5.21e-07/0.7972, allocations: 4 kB / 0.6169 GB, free: 4.938 MB / 398.1 MB Notification: Performance of Templates: time 0.2696/1.067, allocations: 71.54 MB / 0.6868 GB, free: 140 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 -s gbode -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.LargerNetwork.pipe 2>&1)