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.001384/0.001384, allocations: 112.2 kB / 17.09 MB, free: 5.77 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.001382/0.001383, allocations: 195 kB / 18.02 MB, free: 4.953 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.385/1.385, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05291/0.05291, allocations: 8.096 MB / 300 MB, free: 6.668 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002283/0.002284, allocations: 59.91 kB / 363.2 MB, free: 7.422 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/0.2626, allocations: 51.52 MB / 414.7 MB, free: 25.46 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers): time 0.005789/0.2684, allocations: 6.469 MB / 421.2 MB, free: 18.96 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002932/0.2714, allocations: 1.488 MB / 422.7 MB, free: 17.47 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005234/0.2719, allocations: 16 kB / 422.7 MB, free: 17.45 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007616/0.2727, allocations: 306 kB / 423 MB, free: 17.15 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001188/0.2739, allocations: 0.5472 MB / 423.5 MB, free: 16.6 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002098/0.276, allocations: 1.426 MB / 424.9 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001164/0.2772, allocations: 1.167 MB / 426.1 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004371/0.2776, allocations: 400.8 kB / 426.5 MB, free: 13.61 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004891/0.2781, allocations: 498.1 kB / 427 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006661/0.2788, allocations: 0.6419 MB / 427.6 MB, free: 12.47 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001234/0.279, allocations: 96 kB / 427.7 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007476/0.2797, allocations: 339.7 kB / 428.1 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001808/0.2799, allocations: 235.1 kB / 428.3 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004747/0.2804, allocations: 0.5635 MB / 428.9 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001254/0.2816, allocations: 1.324 MB / 430.2 MB, free: 9.926 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.2817, allocations: 0 / 430.2 MB, free: 9.926 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.2817, allocations: 4 kB / 430.2 MB, free: 9.922 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.47e-05/0.2817, allocations: 0 / 430.2 MB, free: 9.922 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.01032/0.292, allocations: 2.944 MB / 433.1 MB, free: 6.918 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.919e-05/0.2921, allocations: 11.89 kB / 433.1 MB, free: 6.906 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002924/0.2924, allocations: 131.5 kB / 433.3 MB, free: 6.777 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009066/0.2933, allocations: 0.6125 MB / 433.9 MB, free: 6.121 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000122/0.2934, allocations: 138.3 kB / 434 MB, free: 5.977 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001359/0.2936, allocations: 96.38 kB / 434.1 MB, free: 5.883 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001742/0.2953, allocations: 1.284 MB / 435.4 MB, free: 4.578 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.444e-05/0.2954, allocations: 3.938 kB / 435.4 MB, free: 4.574 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.583e-05/0.2955, allocations: 36 kB / 435.4 MB, free: 4.539 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.172e-05/0.2955, allocations: 20 kB / 435.4 MB, free: 4.52 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00159/0.2971, allocations: 1.226 MB / 436.7 MB, free: 3.297 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006167/0.3033, allocations: 5.015 MB / 441.7 MB, free: 13.83 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002689/0.306, allocations: 2.242 MB / 443.9 MB, free: 11.48 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001321/0.3073, allocations: 0.9484 MB / 444.9 MB, free: 10.52 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001464/0.3075, allocations: 33.27 kB / 444.9 MB, free: 10.49 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.445e-05/0.3076, allocations: 51.88 kB / 445 MB, free: 10.43 MB / 318.1 MB Notification: Performance of pre-optimization done (n=148): time 2.695e-06/0.3076, allocations: 0 / 445 MB, free: 10.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=148): time 0.03168/0.3393, allocations: 7.938 MB / 452.9 MB, free: 2.453 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.686e-05/0.3394, allocations: 149.8 kB / 453 MB, free: 2.277 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007442/0.3401, allocations: 0.5546 MB / 453.6 MB, free: 1.715 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001893/0.3403, allocations: 61.7 kB / 453.7 MB, free: 1.648 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002287/0.3406, allocations: 306.3 kB / 454 MB, free: 1.344 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004154/0.341, allocations: 0.4889 MB / 454.4 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004703/0.3415, allocations: 279.5 kB / 454.7 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.3416, allocations: 341.9 kB / 455.1 MB, free: 232 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001282/0.3429, allocations: 0.8318 MB / 455.9 MB, free: 15.39 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001369/0.3443, allocations: 0.9581 MB / 456.8 MB, free: 14.43 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002704/0.347, allocations: 1.881 MB / 458.7 MB, free: 12.55 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.347, allocations: 0 / 458.7 MB, free: 12.55 MB / 334.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.009414/0.3564, allocations: 3.64 MB / 462.4 MB, free: 8.898 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.512e-05/0.3565, allocations: 8 kB / 462.4 MB, free: 8.891 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.3565, allocations: 3.984 kB / 462.4 MB, free: 8.887 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009946/0.3665, allocations: 2.334 MB / 464.7 MB, free: 6.547 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00106/0.3676, allocations: 219.6 kB / 464.9 MB, free: 6.332 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02092/0.3885, allocations: 10.82 MB / 475.7 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001045/0.3896, allocations: 142.5 kB / 475.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001255/0.3897, allocations: 47.98 kB / 475.9 MB, free: 11.2 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.0004365/0.3902, allocations: 257.6 kB / 476.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002019/0.3904, allocations: 98.78 kB / 476.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009128/0.3995, allocations: 3.617 MB / 479.9 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.519e-05/0.3996, allocations: 23.94 kB / 479.9 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.3996, allocations: 4 kB / 479.9 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.475e-05/0.3996, allocations: 7.969 kB / 479.9 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01066/0.4103, allocations: 5.123 MB / 485.1 MB, free: 1.988 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.613e-06/0.4103, allocations: 0 / 485.1 MB, free: 1.988 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005295/0.4108, allocations: 167.7 kB / 485.2 MB, free: 1.824 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008708/0.4195, allocations: 2.217 MB / 487.4 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001292/0.4197, allocations: 31.98 kB / 487.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01916/0.4389, allocations: 10.67 MB / 498.1 MB, free: 4.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.4389, allocations: 0 / 498.1 MB, free: 4.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009153/0.4481, allocations: 3.531 MB / 0.4899 GB, free: 1.188 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003303/0.4484, allocations: 195.4 kB / 0.4901 GB, free: 0.9766 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001531/0.4486, allocations: 28 kB / 0.4901 GB, free: 0.9492 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008097/0.4494, allocations: 75.89 kB / 0.4902 GB, free: 0.875 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004195/0.4498, allocations: 126.4 kB / 0.4903 GB, free: 0.7539 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001107/0.4499, allocations: 51.98 kB / 0.4904 GB, free: 0.7031 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004671/0.4504, allocations: 375.1 kB / 0.4907 GB, free: 344 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4504, allocations: 0 / 0.4907 GB, free: 344 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.001511/0.4519, allocations: 0.5232 MB / 0.4912 GB, free: 15.81 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.0003352/0.4523, allocations: 159 kB / 0.4914 GB, free: 15.64 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006021/0.4583, allocations: 2.893 MB / 0.4942 GB, free: 12.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.4583, allocations: 0 / 0.4942 GB, free: 12.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004257/0.4626, allocations: 1.863 MB / 0.496 GB, free: 10.88 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007479/0.4634, allocations: 115 kB / 0.4961 GB, free: 10.77 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003568/0.4669, allocations: 2.046 MB / 0.4981 GB, free: 8.695 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006304/0.4676, allocations: 1.061 MB / 0.4992 GB, free: 7.605 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003817/0.468, allocations: 127.2 kB / 0.4993 GB, free: 7.477 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002012/0.4682, allocations: 83.41 kB / 0.4994 GB, free: 7.395 MB / 382.1 MB Notification: Performance of SimCode: time 8.92e-07/0.4682, allocations: 4 kB / 0.4994 GB, free: 7.391 MB / 382.1 MB Notification: Performance of Templates: time 0.2049/0.6732, allocations: 35.35 MB / 0.5339 GB, free: 74.02 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 cvode -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers.pipe 2>&1)