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.001205/0.001205, allocations: 120.8 kB / 17.13 MB, free: 5.922 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.001247/0.001247, allocations: 198.2 kB / 18.06 MB, free: 5 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.284/1.284, allocations: 222.9 MB / 241.8 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04496/0.04496, allocations: 8.095 MB / 300 MB, free: 6.621 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 64.05 kB / 415.2 MB, free: 21.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08804/0.08929, allocations: 51.52 MB / 466.7 MB, free: 2.078 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.LargerNetwork): time 0.01368/0.103, allocations: 14.71 MB / 481.4 MB, free: 3.312 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007436/0.1105, allocations: 3.961 MB / 485.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002136/0.1126, allocations: 44 kB / 485.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002038/0.1147, allocations: 0.698 MB / 486.1 MB, free: 14.58 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005356/0.1201, allocations: 1.623 MB / 487.8 MB, free: 12.95 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004939/0.1251, allocations: 2.144 MB / 489.9 MB, free: 10.83 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005163/0.1302, allocations: 3.642 MB / 493.6 MB, free: 7.168 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001935/0.1322, allocations: 1.181 MB / 494.7 MB, free: 5.934 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002284/0.1345, allocations: 1.502 MB / 496.2 MB, free: 4.426 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002888/0.1374, allocations: 1.898 MB / 498.1 MB, free: 2.52 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009574/0.1383, allocations: 303.9 kB / 498.4 MB, free: 2.223 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00176/0.1401, allocations: 0.5506 MB / 499 MB, free: 1.672 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009315/0.1411, allocations: 0.751 MB / 499.7 MB, free: 0.918 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002584/0.1437, allocations: 1.683 MB / 0.4897 GB, free: 15.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00501/0.1487, allocations: 3.64 MB / 0.4932 GB, free: 11.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1487, allocations: 0 / 0.4932 GB, free: 11.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.016e-06/0.1487, allocations: 0 / 0.4932 GB, free: 11.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001467/0.1489, allocations: 3.938 kB / 0.4932 GB, free: 11.57 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.03466/0.1835, allocations: 8.181 MB / 0.5012 GB, free: 3.309 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.1836, allocations: 15.89 kB / 0.5012 GB, free: 3.293 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001089/0.1847, allocations: 384.8 kB / 0.5016 GB, free: 2.914 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002808/0.1875, allocations: 1.543 MB / 0.5031 GB, free: 1.324 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004543/0.188, allocations: 0.7464 MB / 0.5038 GB, free: 464 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005599/0.1885, allocations: 276.3 kB / 0.5041 GB, free: 188 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1935/0.3821, allocations: 3.783 MB / 0.5078 GB, free: 40.3 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.909e-05/0.3822, allocations: 1.078 kB / 0.5078 GB, free: 40.3 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005494/0.3828, allocations: 108.8 kB / 0.5079 GB, free: 40.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.786e-05/0.3828, allocations: 56.09 kB / 0.5079 GB, free: 40.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009641/0.3925, allocations: 3.589 MB / 0.5115 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.02936/0.4219, allocations: 14.06 MB / 0.5252 GB, free: 29.44 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01029/0.4322, allocations: 7.584 MB / 0.5326 GB, free: 24.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005251/0.4375, allocations: 2.826 MB / 0.5353 GB, free: 22.61 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004533/0.438, allocations: 93.53 kB / 0.5354 GB, free: 22.58 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006138/0.4441, allocations: 3.01 MB / 0.5384 GB, free: 20.8 MB / 382.1 MB Notification: Performance of pre-optimization done (n=453): time 1.022e-05/0.4442, allocations: 0 / 0.5384 GB, free: 20.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=453): time 0.02015/0.4643, allocations: 9.049 MB / 0.5472 GB, free: 13.7 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.529e-05/0.4645, allocations: 176.1 kB / 0.5474 GB, free: 13.5 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002637/0.4671, allocations: 1.476 MB / 0.5488 GB, free: 12.04 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008531/0.468, allocations: 137.7 kB / 0.549 GB, free: 11.9 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006862/0.4687, allocations: 0.8426 MB / 0.5498 GB, free: 11.08 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001742/0.4704, allocations: 1.438 MB / 0.5512 GB, free: 9.66 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00178/0.4722, allocations: 0.7541 MB / 0.5519 GB, free: 8.895 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.122e-05/0.4723, allocations: 305.1 kB / 0.5522 GB, free: 8.594 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005392/0.4777, allocations: 2.442 MB / 0.5546 GB, free: 6.145 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005864/0.4836, allocations: 2.761 MB / 0.5573 GB, free: 3.348 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0126/0.4962, allocations: 5.306 MB / 0.5625 GB, free: 13.97 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-05/0.4963, allocations: 0 / 0.5625 GB, free: 13.97 MB / 398.1 MB Notification: Performance of matching and sorting (n=590) (initialization): time 0.02305/0.5193, allocations: 7.912 MB / 0.5702 GB, free: 5.969 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.494e-05/0.5194, allocations: 4 kB / 0.5702 GB, free: 5.965 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.352e-05/0.5195, allocations: 0 / 0.5702 GB, free: 5.965 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.06876/0.5882, allocations: 21.49 MB / 0.5912 GB, free: 476 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003576/0.5919, allocations: 0.5383 MB / 0.5917 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02221/0.6141, allocations: 6.86 MB / 0.5984 GB, free: 9.023 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005054/0.6192, allocations: 415.8 kB / 0.5988 GB, free: 8.613 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007499/0.62, allocations: 144 kB / 0.599 GB, free: 8.473 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.002115/0.6221, allocations: 0.5376 MB / 0.5995 GB, free: 7.926 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001173/0.6233, allocations: 300.4 kB / 0.5998 GB, free: 7.629 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02063/0.6439, allocations: 7.782 MB / 0.6074 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.314e-05/0.644, allocations: 48 kB / 0.6074 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-05/0.6441, allocations: 0 / 0.6074 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.151e-05/0.6442, allocations: 27.91 kB / 0.6074 GB, free: 15.76 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02385/0.668, allocations: 12.48 MB / 0.6196 GB, free: 3.316 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-05/0.6681, allocations: 0 / 0.6196 GB, free: 3.316 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001499/0.6696, allocations: 411.4 kB / 0.62 GB, free: 2.914 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0343/0.7039, allocations: 10.11 MB / 0.6299 GB, free: 8.793 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00105/0.705, allocations: 99.97 kB / 0.63 GB, free: 8.695 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01555/0.7206, allocations: 7.042 MB / 0.6369 GB, free: 1.625 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.463e-06/0.7206, allocations: 7.984 kB / 0.6369 GB, free: 1.617 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01557/0.7362, allocations: 7.644 MB / 0.6443 GB, free: 9.953 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002112/0.7384, allocations: 0.9568 MB / 0.6453 GB, free: 8.973 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008004/0.7392, allocations: 91.92 kB / 0.6454 GB, free: 8.883 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003236/0.7424, allocations: 262.2 kB / 0.6456 GB, free: 8.629 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007923/0.7433, allocations: 307.5 kB / 0.6459 GB, free: 8.328 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004817/0.7438, allocations: 160 kB / 0.646 GB, free: 8.172 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001826/0.7456, allocations: 0.923 MB / 0.6469 GB, free: 7.258 MB / 478.1 MB Notification: Performance of sort global known variables: time 3e-07/0.7456, allocations: 4 kB / 0.647 GB, free: 7.254 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002999/0.7486, allocations: 1.058 MB / 0.648 GB, free: 6.195 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.000819/0.7495, allocations: 291.4 kB / 0.6483 GB, free: 5.906 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01884/0.7683, allocations: 7.057 MB / 0.6552 GB, free: 14.85 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.651e-05/0.7684, allocations: 7 kB / 0.6552 GB, free: 14.84 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01333/0.7817, allocations: 4.163 MB / 0.6592 GB, free: 10.69 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003605/0.7854, allocations: 390.5 kB / 0.6596 GB, free: 10.32 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01479/0.8002, allocations: 6.145 MB / 0.6656 GB, free: 4.168 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001523/0.8018, allocations: 1.727 MB / 0.6673 GB, free: 2.41 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000954/0.8027, allocations: 227.4 kB / 0.6675 GB, free: 2.188 MB / 494.1 MB Notification: Performance of SimCode: time 9.61e-07/0.8027, allocations: 0 / 0.6675 GB, free: 2.188 MB / 494.1 MB Notification: Performance of Templates: time 0.2638/1.067, allocations: 51.81 MB / 0.7181 GB, free: 171.9 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)