Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers.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.BreakerTests.DistrictWithOppositeBreakers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers") translateModel(PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00182/0.00182, allocations: 186.9 kB / 16.68 MB, free: 5.082 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.397/1.397, allocations: 222.9 MB / 240.3 MB, free: 11 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.001139/0.001139, allocations: 106.4 kB / 290.6 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05124/0.05124, allocations: 8.09 MB / 348.8 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001142, allocations: 56.23 kB / 411.1 MB, free: 57.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1015, allocations: 51.52 MB / 462.6 MB, free: 6.047 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers): time 0.006861/0.1084, allocations: 6.433 MB / 469.1 MB, free: 15.58 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003291/0.1118, allocations: 1.495 MB / 470.5 MB, free: 14.08 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008901/0.1127, allocations: 16 kB / 470.6 MB, free: 14.06 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009248/0.1137, allocations: 250.8 kB / 470.8 MB, free: 13.82 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00172/0.1154, allocations: 489.2 kB / 471.3 MB, free: 13.34 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002799/0.1182, allocations: 1.379 MB / 472.7 MB, free: 11.96 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001791/0.12, allocations: 1.132 MB / 473.8 MB, free: 10.82 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005806/0.1206, allocations: 334.2 kB / 474.1 MB, free: 10.48 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006606/0.1213, allocations: 466.1 kB / 474.6 MB, free: 10.03 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000913/0.1222, allocations: 0.6302 MB / 475.2 MB, free: 9.395 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001816/0.1224, allocations: 76 kB / 475.3 MB, free: 9.32 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006735/0.1231, allocations: 303.7 kB / 475.6 MB, free: 9.023 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001719/0.1233, allocations: 211.1 kB / 475.8 MB, free: 8.816 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004922/0.1238, allocations: 0.544 MB / 476.3 MB, free: 8.27 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001179/0.125, allocations: 1.289 MB / 477.6 MB, free: 6.977 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.125, allocations: 0 / 477.6 MB, free: 6.977 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.125, allocations: 3.938 kB / 477.6 MB, free: 6.973 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.048e-05/0.125, allocations: 0 / 477.6 MB, free: 6.973 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.01141/0.1364, allocations: 2.935 MB / 480.6 MB, free: 3.984 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.1365, allocations: 16.02 kB / 480.6 MB, free: 3.969 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002965/0.1368, allocations: 123.5 kB / 480.7 MB, free: 3.848 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009392/0.1377, allocations: 0.6203 MB / 481.3 MB, free: 3.188 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001128/0.1378, allocations: 126.3 kB / 481.4 MB, free: 3.051 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000143/0.138, allocations: 96.38 kB / 481.5 MB, free: 2.957 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002005/0.14, allocations: 1.292 MB / 482.8 MB, free: 1.648 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.14, allocations: 3.984 kB / 482.8 MB, free: 1.645 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.904e-05/0.1401, allocations: 36 kB / 482.9 MB, free: 1.609 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.786e-05/0.1402, allocations: 20 kB / 482.9 MB, free: 1.59 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001858/0.142, allocations: 1.218 MB / 484.1 MB, free: 380 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2118/0.3538, allocations: 5.036 MB / 489.1 MB, free: 24.25 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002404/0.3563, allocations: 2.228 MB / 491.4 MB, free: 22.84 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001193/0.3575, allocations: 0.962 MB / 492.3 MB, free: 22.38 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001565/0.3577, allocations: 33.75 kB / 492.4 MB, free: 22.38 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.712e-05/0.3577, allocations: 52.09 kB / 492.4 MB, free: 22.32 MB / 314.7 MB Notification: Performance of pre-optimization done (n=148): time 3.867e-06/0.3577, allocations: 5.188 kB / 492.4 MB, free: 22.32 MB / 314.7 MB Notification: Performance of matching and sorting (n=148): time 0.03286/0.3906, allocations: 7.934 MB / 0.4886 GB, free: 19.56 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.355e-05/0.3907, allocations: 156.6 kB / 0.4888 GB, free: 19.4 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008093/0.3915, allocations: 0.5585 MB / 0.4893 GB, free: 19.07 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002269/0.3918, allocations: 57.58 kB / 0.4894 GB, free: 19.01 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001899/0.392, allocations: 308.2 kB / 0.4897 GB, free: 18.76 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000379/0.3924, allocations: 497.5 kB / 0.4901 GB, free: 18.36 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004879/0.3929, allocations: 279.5 kB / 0.4904 GB, free: 18.19 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.617e-05/0.393, allocations: 338.2 kB / 0.4907 GB, free: 17.86 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001488/0.3945, allocations: 0.8352 MB / 0.4915 GB, free: 17.4 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001566/0.396, allocations: 0.9595 MB / 0.4925 GB, free: 16.86 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003075/0.3991, allocations: 1.872 MB / 0.4943 GB, free: 15.83 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.157e-06/0.3991, allocations: 0 / 0.4943 GB, free: 15.83 MB / 314.7 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.009836/0.409, allocations: 3.647 MB / 0.4979 GB, free: 13.78 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.75e-05/0.4091, allocations: 11.31 kB / 0.4979 GB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/0.4091, allocations: 0 / 0.4979 GB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009034/0.4181, allocations: 2.33 MB / 0.5002 GB, free: 12.79 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008742/0.419, allocations: 218.9 kB / 0.5004 GB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0162/0.4353, allocations: 9.885 MB / 0.51 GB, free: 2.637 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001174/0.4365, allocations: 142.6 kB / 0.5102 GB, free: 2.496 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001089/0.4366, allocations: 51.98 kB / 0.5102 GB, free: 2.445 MB / 314.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: 1 (n.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (130): * Single equations (assignments): 129 * 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 {(20,48)} Notification: Performance of prepare postOptimizeDAE: time 0.000427/0.437, allocations: 257.6 kB / 0.5104 GB, free: 2.184 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001813/0.4372, allocations: 98.78 kB / 0.5105 GB, free: 2.086 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009622/0.4468, allocations: 3.62 MB / 0.5141 GB, free: 14.46 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-05/0.4469, allocations: 16 kB / 0.5141 GB, free: 14.44 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.4469, allocations: 0 / 0.5141 GB, free: 14.44 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.131e-05/0.4469, allocations: 7.969 kB / 0.5141 GB, free: 14.43 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01189/0.4588, allocations: 5.132 MB / 0.5191 GB, free: 9.266 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.091e-05/0.4589, allocations: 4 kB / 0.5191 GB, free: 9.262 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006708/0.4596, allocations: 167.8 kB / 0.5193 GB, free: 9.098 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009722/0.4693, allocations: 2.221 MB / 0.5214 GB, free: 6.871 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004035/0.4698, allocations: 35.98 kB / 0.5215 GB, free: 6.836 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01827/0.4881, allocations: 9.715 MB / 0.531 GB, free: 12.99 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/0.4881, allocations: 3.984 kB / 0.531 GB, free: 12.99 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01134/0.4995, allocations: 5.331 MB / 0.5362 GB, free: 7.594 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002634/0.4997, allocations: 195.4 kB / 0.5364 GB, free: 7.383 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001368/0.4999, allocations: 32 kB / 0.5364 GB, free: 7.352 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009061/0.5008, allocations: 65.48 kB / 0.5365 GB, free: 7.289 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000466/0.5013, allocations: 130.4 kB / 0.5366 GB, free: 7.16 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001056/0.5014, allocations: 55.92 kB / 0.5366 GB, free: 7.105 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004756/0.5019, allocations: 387.1 kB / 0.537 GB, free: 6.727 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5019, allocations: 0 / 0.537 GB, free: 6.727 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001481/0.5034, allocations: 0.5231 MB / 0.5375 GB, free: 6.203 MB / 346.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: 1 (n.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 102 * 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 {(20,48)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002658/0.5037, allocations: 147.5 kB / 0.5377 GB, free: 6.051 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.006016/0.5097, allocations: 2.869 MB / 0.5405 GB, free: 3.168 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.263e-06/0.5097, allocations: 0 / 0.5405 GB, free: 3.168 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004667/0.5144, allocations: 1.825 MB / 0.5422 GB, free: 1.344 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000825/0.5152, allocations: 118 kB / 0.5423 GB, free: 1.23 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004389/0.5196, allocations: 3.212 MB / 0.5455 GB, free: 13.99 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000681/0.5203, allocations: 1.103 MB / 0.5466 GB, free: 12.85 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004892/0.5208, allocations: 127.2 kB / 0.5467 GB, free: 12.72 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002071/0.521, allocations: 79.41 kB / 0.5468 GB, free: 12.64 MB / 362.7 MB Notification: Performance of SimCode: time 9.52e-07/0.521, allocations: 5.641 kB / 0.5468 GB, free: 12.64 MB / 362.7 MB Notification: Performance of Templates: time 0.05119/0.5722, allocations: 35.21 MB / 0.5811 GB, free: 9.535 MB / 394.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers.makefile (rm -f PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers.sim & ./PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers.pipe 2>&1)