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.001166/0.001166, allocations: 102.9 kB / 16.07 MB, free: 32 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002112/0.002112, allocations: 182.2 kB / 16.97 MB, free: 6.879 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.51/1.51, allocations: 223.3 MB / 241 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1919/0.1919, allocations: 8.089 MB / 300.2 MB, free: 2.996 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003787/0.0003787, allocations: 11.98 kB / 363.5 MB, free: 12.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1346, allocations: 52.5 MB / 416 MB, free: 8.426 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers): time 0.006578/0.1413, allocations: 5.984 MB / 422 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004214/0.1455, allocations: 1.464 MB / 423.4 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006534/0.1462, allocations: 16 kB / 423.5 MB, free: 0.918 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009132/0.1472, allocations: 254.8 kB / 423.7 MB, free: 0.668 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001973/0.1492, allocations: 493.1 kB / 424.2 MB, free: 188 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2597/0.4089, allocations: 1.345 MB / 425.5 MB, free: 35.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002065/0.411, allocations: 1.12 MB / 426.7 MB, free: 35.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004778/0.4115, allocations: 333.1 kB / 427 MB, free: 35.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004193/0.4119, allocations: 439 kB / 427.4 MB, free: 35.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000562/0.4125, allocations: 0.5846 MB / 428 MB, free: 35.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001005/0.4126, allocations: 52 kB / 428 MB, free: 35.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007688/0.4134, allocations: 284.6 kB / 428.3 MB, free: 35.39 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001471/0.4135, allocations: 192.5 kB / 428.5 MB, free: 35.35 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004141/0.4139, allocations: 0.5344 MB / 429 MB, free: 35.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001117/0.4151, allocations: 1.242 MB / 430.3 MB, free: 34.94 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.4151, allocations: 3.031 kB / 430.3 MB, free: 34.94 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.4151, allocations: 0 / 430.3 MB, free: 34.94 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.342e-05/0.4151, allocations: 0 / 430.3 MB, free: 34.94 MB / 350.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.01079/0.4259, allocations: 2.782 MB / 433.1 MB, free: 34.17 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.426, allocations: 14.12 kB / 433.1 MB, free: 34.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000417/0.4264, allocations: 125.7 kB / 433.2 MB, free: 34.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008245/0.4272, allocations: 0.6201 MB / 433.8 MB, free: 33.81 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.251e-05/0.4273, allocations: 130.9 kB / 434 MB, free: 33.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001561/0.4275, allocations: 95.78 kB / 434 MB, free: 33.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002049/0.4296, allocations: 1.296 MB / 435.3 MB, free: 33.65 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.15e-05/0.4296, allocations: 4 kB / 435.3 MB, free: 33.64 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001079/0.4297, allocations: 34.34 kB / 435.4 MB, free: 33.64 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.054e-05/0.4297, allocations: 19.34 kB / 435.4 MB, free: 33.64 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001835/0.4316, allocations: 1.219 MB / 436.6 MB, free: 33.64 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005714/0.4373, allocations: 5.065 MB / 441.7 MB, free: 30.74 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002109/0.4394, allocations: 2.224 MB / 443.9 MB, free: 29.31 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001079/0.4405, allocations: 0.9603 MB / 444.9 MB, free: 28.85 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00013/0.4407, allocations: 43.17 kB / 444.9 MB, free: 28.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/0.4407, allocations: 50.5 kB / 445 MB, free: 28.8 MB / 350.1 MB Notification: Performance of pre-optimization done (n=148): time 3.437e-06/0.4407, allocations: 0 / 445 MB, free: 28.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=148): time 0.03177/0.4725, allocations: 7.93 MB / 452.9 MB, free: 26.89 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.877e-05/0.4726, allocations: 146.4 kB / 453 MB, free: 26.74 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009693/0.4736, allocations: 0.5612 MB / 453.6 MB, free: 26.47 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003324/0.474, allocations: 58.89 kB / 453.7 MB, free: 26.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002473/0.4742, allocations: 304.6 kB / 454 MB, free: 26.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005225/0.4748, allocations: 0.4884 MB / 454.4 MB, free: 25.79 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002881/0.4751, allocations: 140.2 kB / 454.6 MB, free: 25.72 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.622e-05/0.4752, allocations: 339.3 kB / 454.9 MB, free: 25.4 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001383/0.4766, allocations: 0.8409 MB / 455.7 MB, free: 25.01 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001428/0.478, allocations: 0.957 MB / 456.7 MB, free: 24.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002901/0.4809, allocations: 1.88 MB / 458.6 MB, free: 23.58 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.049e-05/0.481, allocations: 0 / 458.6 MB, free: 23.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.01001/0.491, allocations: 3.659 MB / 462.2 MB, free: 22.14 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.174e-05/0.491, allocations: 4.5 kB / 462.2 MB, free: 22.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.4911, allocations: 0.9688 kB / 462.2 MB, free: 22.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01079/0.5019, allocations: 2.34 MB / 464.6 MB, free: 21.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009864/0.5029, allocations: 229.6 kB / 464.8 MB, free: 21.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02162/0.5245, allocations: 9.885 MB / 474.7 MB, free: 16.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001358/0.5259, allocations: 143.2 kB / 474.8 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002665/0.5262, allocations: 59.73 kB / 474.9 MB, free: 15.89 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.0006776/0.5269, allocations: 249.9 kB / 475.1 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003324/0.5273, allocations: 98.16 kB / 475.2 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01114/0.5384, allocations: 3.63 MB / 478.9 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.582e-05/0.5385, allocations: 16.16 kB / 478.9 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/0.5385, allocations: 3.938 kB / 478.9 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.833e-05/0.5386, allocations: 7.969 kB / 478.9 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01285/0.5514, allocations: 5.141 MB / 484 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.012e-05/0.5515, allocations: 3.938 kB / 484 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006422/0.5522, allocations: 168.7 kB / 484.2 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009599/0.5618, allocations: 2.231 MB / 486.4 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002222/0.562, allocations: 35.98 kB / 486.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01745/0.5795, allocations: 9.73 MB / 496.2 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.5795, allocations: 3.938 kB / 496.2 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01032/0.5899, allocations: 3.534 MB / 499.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005089/0.5904, allocations: 191.5 kB / 499.9 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000359/0.5908, allocations: 35.94 kB / 500 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001252/0.5921, allocations: 87.61 kB / 0.4883 GB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006448/0.5928, allocations: 134.4 kB / 0.4885 GB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001671/0.5929, allocations: 44 kB / 0.4885 GB, free: 12.67 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006441/0.5936, allocations: 387.1 kB / 0.4889 GB, free: 12.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5936, allocations: 0 / 0.4889 GB, free: 12.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002408/0.596, allocations: 0.5192 MB / 0.4894 GB, free: 11.77 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.0004223/0.5965, allocations: 154.1 kB / 0.4895 GB, free: 11.61 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.007963/0.6044, allocations: 2.856 MB / 0.4923 GB, free: 8.758 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.37e-05/0.6045, allocations: 0 / 0.4923 GB, free: 8.758 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005035/0.6096, allocations: 1.819 MB / 0.4941 GB, free: 6.926 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001196/0.6108, allocations: 113.2 kB / 0.4942 GB, free: 6.82 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004886/0.6157, allocations: 2.492 MB / 0.4966 GB, free: 4.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00107/0.6168, allocations: 1.054 MB / 0.4977 GB, free: 3.234 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006153/0.6175, allocations: 131.2 kB / 0.4978 GB, free: 3.102 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002488/0.6177, allocations: 83.41 kB / 0.4979 GB, free: 3.02 MB / 366.1 MB Notification: Performance of SimCode: time 1.543e-06/0.6177, allocations: 0 / 0.4979 GB, free: 3.02 MB / 366.1 MB Notification: Performance of Templates: time 0.05282/0.6706, allocations: 32.65 MB / 0.5297 GB, free: 2.508 MB / 398.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: