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/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/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 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004111/0.004111, allocations: 92 kB / 15.91 MB, free: 6.273 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.001003/0.001003, allocations: 199.5 kB / 16.83 MB, free: 6.188 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.212/1.212, allocations: 222.9 MB / 240.5 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1454/0.1454, allocations: 8.082 MB / 298.7 MB, free: 2.062 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001135, allocations: 63.91 kB / 361 MB, free: 13.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08801/0.08916, allocations: 51.53 MB / 412.6 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers): time 0.006057/0.09525, allocations: 6.439 MB / 419 MB, free: 3.672 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002567/0.09785, allocations: 1.487 MB / 420.5 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000608/0.09848, allocations: 20 kB / 420.5 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000696/0.09921, allocations: 250.8 kB / 420.7 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001261/0.1005, allocations: 497.1 kB / 421.2 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002302/0.1028, allocations: 1.362 MB / 422.6 MB, free: 68 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001257/0.1041, allocations: 1.128 MB / 423.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000422/0.1045, allocations: 334.2 kB / 424 MB, free: 14.59 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003662/0.1049, allocations: 466.1 kB / 424.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005387/0.1054, allocations: 0.6146 MB / 425.1 MB, free: 13.52 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001087/0.1055, allocations: 72 kB / 425.2 MB, free: 13.45 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005231/0.1061, allocations: 311.8 kB / 425.5 MB, free: 13.14 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001509/0.1062, allocations: 222.9 kB / 425.7 MB, free: 12.93 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003913/0.1066, allocations: 0.5362 MB / 426.2 MB, free: 12.39 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001018/0.1076, allocations: 1.285 MB / 427.5 MB, free: 11.1 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1077, allocations: 0 / 427.5 MB, free: 11.1 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1077, allocations: 0 / 427.5 MB, free: 11.1 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.908e-06/0.1077, allocations: 0 / 427.5 MB, free: 11.1 MB / 366.1 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.01047/0.1182, allocations: 2.948 MB / 430.5 MB, free: 8.09 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.1182, allocations: 8.031 kB / 430.5 MB, free: 8.082 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002727/0.1185, allocations: 131.5 kB / 430.6 MB, free: 7.953 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00081/0.1193, allocations: 0.6086 MB / 431.2 MB, free: 7.305 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001099/0.1194, allocations: 142.3 kB / 431.4 MB, free: 7.156 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001425/0.1196, allocations: 92.38 kB / 431.4 MB, free: 7.066 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001884/0.1215, allocations: 1.299 MB / 432.7 MB, free: 5.746 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.1215, allocations: 0 / 432.7 MB, free: 5.746 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.52e-05/0.1216, allocations: 32 kB / 432.8 MB, free: 5.715 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.488e-05/0.1216, allocations: 20 kB / 432.8 MB, free: 5.695 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001732/0.1234, allocations: 1.222 MB / 434 MB, free: 4.477 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1571/0.2805, allocations: 5.031 MB / 439.1 MB, free: 54.86 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002032/0.2825, allocations: 2.233 MB / 441.3 MB, free: 54.26 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00102/0.2836, allocations: 0.9542 MB / 442.2 MB, free: 54.25 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001294/0.2837, allocations: 34.23 kB / 442.3 MB, free: 54.25 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.2838, allocations: 50.31 kB / 442.3 MB, free: 54.2 MB / 366.1 MB Notification: Performance of pre-optimization done (n=148): time 3.296e-06/0.2838, allocations: 3.344 kB / 442.3 MB, free: 54.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=148): time 0.02822/0.312, allocations: 7.932 MB / 450.3 MB, free: 52.45 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.988e-05/0.3121, allocations: 146 kB / 450.4 MB, free: 52.29 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005668/0.3126, allocations: 0.5616 MB / 451 MB, free: 52.05 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000116/0.3128, allocations: 58.7 kB / 451 MB, free: 51.99 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001476/0.3129, allocations: 305.8 kB / 451.3 MB, free: 51.8 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000296/0.3132, allocations: 0.4959 MB / 451.8 MB, free: 51.44 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003731/0.3136, allocations: 270.3 kB / 452.1 MB, free: 51.32 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.505e-05/0.3137, allocations: 345 kB / 452.4 MB, free: 51 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001022/0.3147, allocations: 0.8342 MB / 453.2 MB, free: 50.61 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001112/0.3158, allocations: 0.9561 MB / 454.2 MB, free: 50.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002183/0.318, allocations: 1.879 MB / 456.1 MB, free: 49.18 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.318, allocations: 0 / 456.1 MB, free: 49.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.007944/0.326, allocations: 3.651 MB / 459.7 MB, free: 47.79 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.326, allocations: 9 kB / 459.7 MB, free: 47.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.326, allocations: 0 / 459.7 MB, free: 47.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008724/0.3348, allocations: 2.328 MB / 462.1 MB, free: 47.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008911/0.3357, allocations: 219.5 kB / 462.3 MB, free: 47.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01542/0.3511, allocations: 9.884 MB / 472.2 MB, free: 41.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009544/0.3521, allocations: 141.1 kB / 472.3 MB, free: 41.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001112/0.3522, allocations: 52.73 kB / 472.4 MB, free: 41.6 MB / 366.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: 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.0003784/0.3526, allocations: 251.4 kB / 472.6 MB, free: 41.4 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001746/0.3528, allocations: 99.88 kB / 472.7 MB, free: 41.35 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008441/0.3612, allocations: 3.62 MB / 476.3 MB, free: 39.95 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-05/0.3613, allocations: 18.92 kB / 476.3 MB, free: 39.95 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.3613, allocations: 1.906 kB / 476.3 MB, free: 39.95 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.329e-05/0.3613, allocations: 14.39 kB / 476.4 MB, free: 39.95 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009977/0.3713, allocations: 5.135 MB / 481.5 MB, free: 37.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.074e-06/0.3713, allocations: 0.5156 kB / 481.5 MB, free: 37.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005202/0.3718, allocations: 167.1 kB / 481.7 MB, free: 37.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009086/0.3809, allocations: 2.212 MB / 483.9 MB, free: 37.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001162/0.3811, allocations: 35.53 kB / 483.9 MB, free: 37.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01646/0.3975, allocations: 9.73 MB / 493.6 MB, free: 31.63 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.3976, allocations: 4 kB / 493.6 MB, free: 31.62 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009137/0.4067, allocations: 3.527 MB / 497.2 MB, free: 30.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002705/0.407, allocations: 202.1 kB / 497.4 MB, free: 30 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001761/0.4072, allocations: 24.59 kB / 497.4 MB, free: 29.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008049/0.408, allocations: 73.03 kB / 497.5 MB, free: 29.96 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006067/0.4086, allocations: 128.3 kB / 497.6 MB, free: 29.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001065/0.4087, allocations: 49.64 kB / 497.6 MB, free: 29.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004648/0.4092, allocations: 378.8 kB / 498 MB, free: 29.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4092, allocations: 3.938 kB / 498 MB, free: 29.75 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0013/0.4105, allocations: 0.5215 MB / 498.5 MB, free: 29.67 MB / 366.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: 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.0002665/0.4108, allocations: 157 kB / 498.7 MB, free: 29.55 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00511/0.4159, allocations: 2.855 MB / 0.4898 GB, free: 28.28 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.4159, allocations: 0.5625 kB / 0.4898 GB, free: 28.28 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003573/0.4195, allocations: 1.828 MB / 0.4916 GB, free: 26.96 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006915/0.4202, allocations: 114.9 kB / 0.4917 GB, free: 26.86 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002831/0.4231, allocations: 2.465 MB / 0.4941 GB, free: 24.54 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003405/0.4234, allocations: 1.057 MB / 0.4951 GB, free: 23.57 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003854/0.4238, allocations: 130.4 kB / 0.4952 GB, free: 23.47 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001769/0.424, allocations: 82.52 kB / 0.4953 GB, free: 23.39 MB / 366.1 MB Notification: Performance of SimCode: time 6.61e-07/0.424, allocations: 0 / 0.4953 GB, free: 23.39 MB / 366.1 MB Notification: Performance of Templates: time 0.03579/0.4598, allocations: 33.42 MB / 0.528 GB, free: 6.16 MB / 382.1 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)