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-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.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.001134/0.001134, allocations: 111.5 kB / 17.07 MB, free: 6.066 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.001061/0.001061, allocations: 192 kB / 18.01 MB, free: 5.164 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.348/1.348, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04568/0.04568, allocations: 8.11 MB / 300 MB, free: 6.637 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 59.91 kB / 363.2 MB, free: 7.387 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2334, allocations: 51.52 MB / 414.7 MB, free: 25.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers): time 0.005396/0.2389, allocations: 6.466 MB / 421.2 MB, free: 18.93 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002924/0.2418, allocations: 1.486 MB / 422.6 MB, free: 17.45 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005063/0.2423, allocations: 16 kB / 422.7 MB, free: 17.43 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006973/0.2431, allocations: 306 kB / 423 MB, free: 17.13 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001156/0.2443, allocations: 0.5511 MB / 423.5 MB, free: 16.57 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002275/0.2465, allocations: 1.434 MB / 424.9 MB, free: 15.14 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001102/0.2477, allocations: 1.171 MB / 426.1 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004114/0.2481, allocations: 392.8 kB / 426.5 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003164/0.2484, allocations: 498.1 kB / 427 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005219/0.2489, allocations: 0.6419 MB / 427.6 MB, free: 12.44 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001018/0.249, allocations: 96 kB / 427.7 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006177/0.2497, allocations: 335.8 kB / 428 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001788/0.2499, allocations: 242.9 kB / 428.3 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000419/0.2503, allocations: 0.5635 MB / 428.8 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001286/0.2516, allocations: 1.318 MB / 430.2 MB, free: 9.891 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.2516, allocations: 0 / 430.2 MB, free: 9.891 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.2516, allocations: 4 kB / 430.2 MB, free: 9.887 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.403e-05/0.2516, allocations: 4 kB / 430.2 MB, free: 9.883 MB / 302.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.01068/0.2623, allocations: 2.94 MB / 433.1 MB, free: 6.883 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.2624, allocations: 11.89 kB / 433.1 MB, free: 6.871 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002756/0.2627, allocations: 127.5 kB / 433.3 MB, free: 6.746 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007807/0.2635, allocations: 0.6165 MB / 433.9 MB, free: 6.086 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.67e-05/0.2636, allocations: 130.3 kB / 434 MB, free: 5.949 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001297/0.2637, allocations: 100.3 kB / 434.1 MB, free: 5.852 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001551/0.2653, allocations: 1.288 MB / 435.4 MB, free: 4.543 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/0.2653, allocations: 0 / 435.4 MB, free: 4.543 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.728e-05/0.2654, allocations: 36 kB / 435.4 MB, free: 4.508 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/0.2654, allocations: 20 kB / 435.4 MB, free: 4.488 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001491/0.2669, allocations: 1.222 MB / 436.7 MB, free: 3.27 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005997/0.2729, allocations: 5.019 MB / 441.7 MB, free: 13.8 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002568/0.2755, allocations: 2.238 MB / 443.9 MB, free: 11.45 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001261/0.2768, allocations: 0.9523 MB / 444.9 MB, free: 10.49 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001565/0.2769, allocations: 33.27 kB / 444.9 MB, free: 10.46 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.437e-05/0.277, allocations: 55.86 kB / 445 MB, free: 10.4 MB / 318.1 MB Notification: Performance of pre-optimization done (n=148): time 3.065e-06/0.277, allocations: 0 / 445 MB, free: 10.4 MB / 318.1 MB Notification: Performance of matching and sorting (n=148): time 0.0321/0.3091, allocations: 7.938 MB / 452.9 MB, free: 2.418 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/0.3093, allocations: 149.8 kB / 453 MB, free: 2.242 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007349/0.31, allocations: 0.5546 MB / 453.6 MB, free: 1.68 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001724/0.3102, allocations: 65.7 kB / 453.7 MB, free: 1.609 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002466/0.3104, allocations: 306.3 kB / 454 MB, free: 1.305 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004253/0.3109, allocations: 492.7 kB / 454.4 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004657/0.3113, allocations: 279.5 kB / 454.7 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.3115, allocations: 341.9 kB / 455 MB, free: 200 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001317/0.3128, allocations: 0.8318 MB / 455.9 MB, free: 15.36 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001423/0.3142, allocations: 0.9581 MB / 456.8 MB, free: 14.4 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002736/0.317, allocations: 1.877 MB / 458.7 MB, free: 12.52 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/0.317, allocations: 0 / 458.7 MB, free: 12.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.009282/0.3263, allocations: 3.651 MB / 462.4 MB, free: 8.859 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/0.3264, allocations: 4 kB / 462.4 MB, free: 8.855 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.3264, allocations: 0 / 462.4 MB, free: 8.855 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009358/0.3357, allocations: 2.334 MB / 464.7 MB, free: 6.516 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009192/0.3367, allocations: 215.7 kB / 464.9 MB, free: 6.305 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0192/0.3559, allocations: 10.83 MB / 475.7 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001013/0.3569, allocations: 146.5 kB / 475.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001166/0.3571, allocations: 47.98 kB / 475.9 MB, free: 11.17 MB / 350.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.0004354/0.3575, allocations: 257.6 kB / 476.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001892/0.3577, allocations: 98.78 kB / 476.3 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009085/0.3668, allocations: 3.613 MB / 479.9 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.772e-05/0.3669, allocations: 20 kB / 479.9 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.3669, allocations: 0 / 479.9 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.981e-05/0.3669, allocations: 7.969 kB / 479.9 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01069/0.3776, allocations: 5.127 MB / 485 MB, free: 1.961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.3776, allocations: 0 / 485 MB, free: 1.961 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005289/0.3782, allocations: 163.8 kB / 485.2 MB, free: 1.801 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009036/0.3872, allocations: 2.225 MB / 487.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000152/0.3874, allocations: 31.98 kB / 487.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01937/0.4068, allocations: 10.67 MB / 498.1 MB, free: 4.727 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.4068, allocations: 3.938 kB / 498.1 MB, free: 4.723 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009247/0.416, allocations: 3.531 MB / 0.4899 GB, free: 1.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003091/0.4164, allocations: 195.4 kB / 0.4901 GB, free: 0.9492 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001575/0.4165, allocations: 28 kB / 0.4901 GB, free: 0.9219 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008143/0.4174, allocations: 79.89 kB / 0.4902 GB, free: 0.8438 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003972/0.4178, allocations: 126.4 kB / 0.4903 GB, free: 0.7227 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001089/0.4179, allocations: 47.98 kB / 0.4904 GB, free: 0.6758 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004569/0.4184, allocations: 383.1 kB / 0.4907 GB, free: 308 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4184, allocations: 0 / 0.4907 GB, free: 308 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.001428/0.4198, allocations: 0.5232 MB / 0.4912 GB, free: 15.77 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: 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.0003072/0.4201, allocations: 155 kB / 0.4914 GB, free: 15.61 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005769/0.4259, allocations: 2.897 MB / 0.4942 GB, free: 12.71 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.4259, allocations: 0 / 0.4942 GB, free: 12.71 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004237/0.4302, allocations: 1.863 MB / 0.496 GB, free: 10.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007808/0.431, allocations: 115 kB / 0.4961 GB, free: 10.73 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003416/0.4344, allocations: 2.036 MB / 0.4981 GB, free: 8.672 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006205/0.435, allocations: 1.057 MB / 0.4992 GB, free: 7.586 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004016/0.4354, allocations: 135.1 kB / 0.4993 GB, free: 7.449 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001902/0.4356, allocations: 87.41 kB / 0.4994 GB, free: 7.363 MB / 382.1 MB Notification: Performance of SimCode: time 4.4e-07/0.4356, allocations: 0 / 0.4994 GB, free: 7.363 MB / 382.1 MB Notification: Performance of Templates: time 0.2018/0.6374, allocations: 35.35 MB / 0.5339 GB, free: 73.94 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 -s gbode -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers.pipe 2>&1)