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.00101/0.00101, allocations: 91.12 kB / 16.71 MB, free: 6.145 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.001187/0.001187, allocations: 176.2 kB / 17.62 MB, free: 5.855 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.303/1.303, allocations: 223.3 MB / 241.7 MB, free: 200 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04412/0.04412, allocations: 8.095 MB / 300.9 MB, free: 6.664 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003228/0.0003229, allocations: 8 kB / 364.1 MB, free: 7.355 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1981/0.1985, allocations: 52.51 MB / 416.7 MB, free: 24.84 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers): time 0.003981/0.2025, allocations: 5.982 MB / 422.6 MB, free: 18.82 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002223/0.2048, allocations: 1.457 MB / 424.1 MB, free: 17.36 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000357/0.2051, allocations: 20 kB / 424.1 MB, free: 17.34 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004845/0.2056, allocations: 250.8 kB / 424.4 MB, free: 17.1 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000945/0.2066, allocations: 497.1 kB / 424.8 MB, free: 16.61 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002039/0.2086, allocations: 1.341 MB / 426.2 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001004/0.2096, allocations: 1.12 MB / 427.3 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003773/0.21, allocations: 338.1 kB / 427.6 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003292/0.2104, allocations: 430.1 kB / 428.1 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005007/0.2109, allocations: 0.5833 MB / 428.6 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.728e-05/0.211, allocations: 52 kB / 428.7 MB, free: 12.74 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005083/0.2115, allocations: 287.8 kB / 429 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001106/0.2116, allocations: 191 kB / 429.2 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003218/0.2119, allocations: 0.534 MB / 429.7 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006997/0.2126, allocations: 0.9505 MB / 430.6 MB, free: 10.78 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.2127, allocations: 0 / 430.6 MB, free: 10.78 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2127, allocations: 0 / 430.6 MB, free: 10.78 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.166e-05/0.2127, allocations: 0 / 430.6 MB, free: 10.78 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.0108/0.2235, allocations: 2.777 MB / 433.4 MB, free: 7.945 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.2235, allocations: 11.97 kB / 433.4 MB, free: 7.934 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002918/0.2238, allocations: 135.5 kB / 433.6 MB, free: 7.801 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007486/0.2246, allocations: 0.624 MB / 434.2 MB, free: 7.137 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.892e-05/0.2247, allocations: 138.3 kB / 434.3 MB, free: 6.988 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001419/0.2248, allocations: 88.38 kB / 434.4 MB, free: 6.902 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001721/0.2266, allocations: 1.296 MB / 435.7 MB, free: 5.59 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.08e-05/0.2266, allocations: 0 / 435.7 MB, free: 5.59 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/0.2267, allocations: 32 kB / 435.7 MB, free: 5.559 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.615e-05/0.2267, allocations: 24 kB / 435.8 MB, free: 5.535 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001591/0.2283, allocations: 1.222 MB / 437 MB, free: 4.312 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005715/0.2341, allocations: 5.058 MB / 442 MB, free: 14.81 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002659/0.2367, allocations: 2.234 MB / 444.3 MB, free: 12.46 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00138/0.2382, allocations: 0.9639 MB / 445.2 MB, free: 11.49 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001346/0.2383, allocations: 33.27 kB / 445.3 MB, free: 11.46 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.033e-05/0.2383, allocations: 51.88 kB / 445.3 MB, free: 11.4 MB / 318.1 MB Notification: Performance of pre-optimization done (n=148): time 3.146e-06/0.2384, allocations: 0 / 445.3 MB, free: 11.4 MB / 318.1 MB Notification: Performance of matching and sorting (n=148): time 0.03543/0.2738, allocations: 7.93 MB / 453.3 MB, free: 3.43 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.185e-05/0.2739, allocations: 141.8 kB / 453.4 MB, free: 3.262 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007833/0.2747, allocations: 0.5585 MB / 453.9 MB, free: 2.691 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002465/0.275, allocations: 61.7 kB / 454 MB, free: 2.625 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002251/0.2752, allocations: 310.3 kB / 454.3 MB, free: 2.316 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004453/0.2757, allocations: 496.6 kB / 454.8 MB, free: 1.824 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002046/0.2759, allocations: 141.6 kB / 454.9 MB, free: 1.68 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.276, allocations: 341.9 kB / 455.3 MB, free: 1.34 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001394/0.2774, allocations: 0.8318 MB / 456.1 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001479/0.2789, allocations: 0.9736 MB / 457.1 MB, free: 15.53 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002924/0.2818, allocations: 1.873 MB / 458.9 MB, free: 13.66 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.219e-06/0.2819, allocations: 0 / 458.9 MB, free: 13.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.01027/0.2921, allocations: 3.647 MB / 462.6 MB, free: 9.996 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.742e-05/0.2922, allocations: 11.98 kB / 462.6 MB, free: 9.984 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/0.2922, allocations: 0 / 462.6 MB, free: 9.984 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01052/0.3027, allocations: 2.35 MB / 465 MB, free: 7.629 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009594/0.3037, allocations: 215.7 kB / 465.2 MB, free: 7.418 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01996/0.3237, allocations: 9.904 MB / 475.1 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001163/0.3249, allocations: 138.6 kB / 475.2 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000127/0.325, allocations: 59.91 kB / 475.3 MB, free: 13.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.0004458/0.3255, allocations: 249.7 kB / 475.5 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001889/0.3257, allocations: 98.78 kB / 475.6 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01028/0.336, allocations: 3.624 MB / 479.2 MB, free: 9.207 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.971e-05/0.336, allocations: 16 kB / 479.2 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.336, allocations: 3.938 kB / 479.2 MB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-05/0.3361, allocations: 7.969 kB / 479.3 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01197/0.348, allocations: 5.138 MB / 484.4 MB, free: 3.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.316e-05/0.3481, allocations: 0 / 484.4 MB, free: 3.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006423/0.3487, allocations: 167.7 kB / 484.6 MB, free: 3.816 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01039/0.3591, allocations: 2.233 MB / 486.8 MB, free: 1.578 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002487/0.3594, allocations: 35.98 kB / 486.8 MB, free: 1.543 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02045/0.3799, allocations: 9.729 MB / 496.6 MB, free: 7.672 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.3799, allocations: 7.875 kB / 496.6 MB, free: 7.664 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01028/0.3902, allocations: 3.534 MB / 0.4884 GB, free: 4.102 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002858/0.3905, allocations: 195.4 kB / 0.4886 GB, free: 3.891 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002461/0.3908, allocations: 31.94 kB / 0.4886 GB, free: 3.859 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001063/0.3919, allocations: 79.95 kB / 0.4887 GB, free: 3.781 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004782/0.3924, allocations: 130.4 kB / 0.4888 GB, free: 3.656 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001425/0.3925, allocations: 44 kB / 0.4888 GB, free: 3.613 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005427/0.3931, allocations: 383.1 kB / 0.4892 GB, free: 3.238 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.126e-06/0.3931, allocations: 0 / 0.4892 GB, free: 3.238 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001551/0.3946, allocations: 0.5309 MB / 0.4897 GB, free: 2.707 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.0003235/0.395, allocations: 155.1 kB / 0.4899 GB, free: 2.547 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.006488/0.4015, allocations: 2.864 MB / 0.4927 GB, free: 15.67 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.4015, allocations: 0 / 0.4927 GB, free: 15.67 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004716/0.4062, allocations: 1.811 MB / 0.4944 GB, free: 13.85 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009651/0.4072, allocations: 118.9 kB / 0.4945 GB, free: 13.73 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003989/0.4112, allocations: 2.526 MB / 0.497 GB, free: 11.19 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006772/0.4119, allocations: 1.057 MB / 0.498 GB, free: 10.1 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003141/0.4123, allocations: 87.41 kB / 0.4981 GB, free: 10.02 MB / 382.1 MB Notification: Performance of SimCode: time 8.02e-07/0.4123, allocations: 3.938 kB / 0.4981 GB, free: 10.01 MB / 382.1 MB Notification: Performance of Templates: time 0.1892/0.6015, allocations: 20.5 MB / 0.5182 GB, free: 86.96 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)