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.001507/0.001507, allocations: 109.5 kB / 17.07 MB, free: 6.062 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.001745/0.001745, allocations: 194.9 kB / 18.01 MB, free: 5.152 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.434/1.434, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05984/0.05984, allocations: 8.099 MB / 300 MB, free: 6.633 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00115/0.00115, allocations: 59.91 kB / 363.2 MB, free: 7.387 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2595/0.2607, allocations: 51.52 MB / 414.7 MB, free: 25.42 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.LargerNetwork): time 0.01066/0.2714, allocations: 14.7 MB / 429.4 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007204/0.2786, allocations: 3.953 MB / 433.3 MB, free: 6.688 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00293/0.2816, allocations: 44 kB / 433.4 MB, free: 6.645 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002302/0.2839, allocations: 0.6941 MB / 434.1 MB, free: 5.945 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005803/0.2898, allocations: 1.623 MB / 435.7 MB, free: 4.312 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003897/0.2937, allocations: 2.152 MB / 437.9 MB, free: 2.18 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005131/0.2988, allocations: 3.638 MB / 441.5 MB, free: 14.52 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001613/0.3005, allocations: 1.177 MB / 442.7 MB, free: 13.29 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002102/0.3026, allocations: 1.514 MB / 444.2 MB, free: 11.77 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002263/0.3049, allocations: 1.891 MB / 446.1 MB, free: 9.871 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004766/0.3054, allocations: 300 kB / 446.4 MB, free: 9.578 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00123/0.3066, allocations: 0.5583 MB / 446.9 MB, free: 9.02 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005512/0.3072, allocations: 0.751 MB / 447.7 MB, free: 8.266 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001633/0.3088, allocations: 1.679 MB / 449.4 MB, free: 6.578 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003885/0.3127, allocations: 3.644 MB / 453 MB, free: 2.922 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.3127, allocations: 0 / 453 MB, free: 2.922 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3127, allocations: 0 / 453 MB, free: 2.922 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.127e-05/0.3128, allocations: 0 / 453 MB, free: 2.922 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.0337/0.3465, allocations: 8.185 MB / 461.2 MB, free: 10.66 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/0.3466, allocations: 11.89 kB / 461.2 MB, free: 10.65 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000804/0.3474, allocations: 384.8 kB / 461.6 MB, free: 10.27 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002621/0.35, allocations: 1.539 MB / 463.1 MB, free: 8.684 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004185/0.3505, allocations: 0.7542 MB / 463.9 MB, free: 7.801 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004654/0.3509, allocations: 264.4 kB / 464.1 MB, free: 7.543 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006231/0.3572, allocations: 3.784 MB / 467.9 MB, free: 3.691 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.823e-05/0.3572, allocations: 3.938 kB / 467.9 MB, free: 3.688 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000301/0.3575, allocations: 104 kB / 468 MB, free: 3.586 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.471e-05/0.3576, allocations: 60 kB / 468.1 MB, free: 3.527 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005702/0.3633, allocations: 3.595 MB / 471.7 MB, free: 15.92 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.02255/0.3859, allocations: 14.05 MB / 485.7 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008942/0.3948, allocations: 7.59 MB / 493.3 MB, free: 8.836 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004637/0.3995, allocations: 2.828 MB / 496.1 MB, free: 6.004 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004499/0.4, allocations: 87.3 kB / 496.2 MB, free: 5.918 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005426/0.4054, allocations: 3.016 MB / 499.2 MB, free: 2.883 MB / 366.1 MB Notification: Performance of pre-optimization done (n=453): time 6.532e-06/0.4054, allocations: 0 / 499.2 MB, free: 2.883 MB / 366.1 MB Notification: Performance of matching and sorting (n=453): time 0.01547/0.4209, allocations: 9.037 MB / 0.4964 GB, free: 9.828 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001243/0.4211, allocations: 176.1 kB / 0.4965 GB, free: 9.625 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002182/0.4233, allocations: 1.488 MB / 0.498 GB, free: 8.137 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006801/0.424, allocations: 141.7 kB / 0.4981 GB, free: 7.992 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007137/0.4247, allocations: 0.8304 MB / 0.4989 GB, free: 7.156 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001518/0.4262, allocations: 1.455 MB / 0.5003 GB, free: 5.68 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001431/0.4277, allocations: 0.7424 MB / 0.5011 GB, free: 4.926 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.4278, allocations: 305.1 kB / 0.5014 GB, free: 4.625 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004047/0.4319, allocations: 2.442 MB / 0.5037 GB, free: 2.176 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1993/0.6312, allocations: 2.763 MB / 0.5064 GB, free: 88.29 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01144/0.6427, allocations: 5.31 MB / 0.5116 GB, free: 86.55 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.409e-05/0.6427, allocations: 0 / 0.5116 GB, free: 86.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=590) (initialization): time 0.01698/0.6597, allocations: 7.904 MB / 0.5193 GB, free: 82.9 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.325e-05/0.6598, allocations: 6.469 kB / 0.5194 GB, free: 82.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.756e-05/0.6598, allocations: 3.719 kB / 0.5194 GB, free: 82.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03562/0.6955, allocations: 21.49 MB / 0.5403 GB, free: 66.65 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002065/0.6976, allocations: 0.5454 MB / 0.5409 GB, free: 66.17 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01443/0.712, allocations: 6.857 MB / 0.5476 GB, free: 59.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003204/0.7153, allocations: 414.7 kB / 0.548 GB, free: 59.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005218/0.7158, allocations: 149.6 kB / 0.5481 GB, free: 59.27 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.001422/0.7172, allocations: 0.5415 MB / 0.5486 GB, free: 58.71 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008003/0.718, allocations: 298.1 kB / 0.5489 GB, free: 58.45 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01115/0.7292, allocations: 7.775 MB / 0.5565 GB, free: 50.68 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.772e-05/0.7293, allocations: 48 kB / 0.5566 GB, free: 50.63 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/0.7293, allocations: 0 / 0.5566 GB, free: 50.63 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.659e-05/0.7293, allocations: 27.91 kB / 0.5566 GB, free: 50.6 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0169/0.7462, allocations: 12.48 MB / 0.5688 GB, free: 38.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.336e-05/0.7463, allocations: 0 / 0.5688 GB, free: 38.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001146/0.7474, allocations: 407.4 kB / 0.5692 GB, free: 37.81 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02948/0.7769, allocations: 10.11 MB / 0.579 GB, free: 27.7 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009479/0.778, allocations: 95.97 kB / 0.5791 GB, free: 27.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01356/0.7915, allocations: 7.038 MB / 0.586 GB, free: 20.53 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.7916, allocations: 4 kB / 0.586 GB, free: 20.53 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01244/0.804, allocations: 7.653 MB / 0.5935 GB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001653/0.8057, allocations: 0.9606 MB / 0.5944 GB, free: 11.87 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006803/0.8064, allocations: 84 kB / 0.5945 GB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002998/0.8094, allocations: 267 kB / 0.5948 GB, free: 11.53 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006425/0.8101, allocations: 311.4 kB / 0.595 GB, free: 11.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003665/0.8105, allocations: 148 kB / 0.5952 GB, free: 11.08 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001297/0.8118, allocations: 0.9308 MB / 0.5961 GB, free: 10.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.8118, allocations: 0 / 0.5961 GB, free: 10.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002216/0.814, allocations: 1.058 MB / 0.5971 GB, free: 9.098 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.0006199/0.8146, allocations: 286.8 kB / 0.5974 GB, free: 8.809 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0154/0.8301, allocations: 7.071 MB / 0.6043 GB, free: 1.754 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.516e-05/0.8301, allocations: 15 kB / 0.6043 GB, free: 1.738 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01265/0.8428, allocations: 4.167 MB / 0.6084 GB, free: 13.58 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003185/0.846, allocations: 382.8 kB / 0.6088 GB, free: 13.21 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01376/0.8598, allocations: 6.086 MB / 0.6147 GB, free: 7.125 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001405/0.8612, allocations: 1.727 MB / 0.6164 GB, free: 5.367 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001245/0.8625, allocations: 333.5 kB / 0.6167 GB, free: 5.035 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005826/0.8631, allocations: 211.4 kB / 0.6169 GB, free: 4.828 MB / 398.1 MB Notification: Performance of SimCode: time 8.42e-07/0.8631, allocations: 0 / 0.6169 GB, free: 4.828 MB / 398.1 MB Notification: Performance of Templates: time 0.3247/1.188, allocations: 71.55 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 cvode -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.LargerNetwork.pipe 2>&1)