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.001387/0.001387, allocations: 106.9 kB / 16.69 MB, free: 6.363 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.001416/0.001416, allocations: 186 kB / 17.61 MB, free: 5.746 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.69/1.69, allocations: 222.9 MB / 241.3 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04598/0.04598, allocations: 8.1 MB / 299.5 MB, free: 6.898 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001205, allocations: 67.91 kB / 361.9 MB, free: 8.504 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2164/0.2176, allocations: 51.51 MB / 413.4 MB, free: 25.78 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers): time 0.005108/0.2228, allocations: 6.441 MB / 419.8 MB, free: 19.31 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002448/0.2253, allocations: 1.473 MB / 421.3 MB, free: 17.83 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003562/0.2257, allocations: 16 kB / 421.3 MB, free: 17.82 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005838/0.2263, allocations: 246.8 kB / 421.6 MB, free: 17.57 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009726/0.2273, allocations: 0.4933 MB / 422.1 MB, free: 17.08 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001974/0.2292, allocations: 1.326 MB / 423.4 MB, free: 15.75 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009851/0.2302, allocations: 1.163 MB / 424.5 MB, free: 14.59 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004266/0.2307, allocations: 400.7 kB / 424.9 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003459/0.231, allocations: 0.4903 MB / 425.4 MB, free: 13.69 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005521/0.2316, allocations: 0.6342 MB / 426.1 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001115/0.2317, allocations: 96 kB / 426.2 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005968/0.2323, allocations: 335.8 kB / 426.5 MB, free: 12.63 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001509/0.2325, allocations: 246.9 kB / 426.7 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003804/0.2329, allocations: 0.5674 MB / 427.3 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008026/0.2337, allocations: 0.9744 MB / 428.3 MB, free: 10.84 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.2337, allocations: 4 kB / 428.3 MB, free: 10.84 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2337, allocations: 4 kB / 428.3 MB, free: 10.84 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.301e-05/0.2337, allocations: 0 / 428.3 MB, free: 10.84 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.01051/0.2442, allocations: 2.94 MB / 431.2 MB, free: 7.836 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.2443, allocations: 15.89 kB / 431.2 MB, free: 7.82 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002536/0.2445, allocations: 127.5 kB / 431.4 MB, free: 7.695 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007038/0.2453, allocations: 0.6203 MB / 432 MB, free: 7.035 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.319e-05/0.2453, allocations: 134.3 kB / 432.1 MB, free: 6.895 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000133/0.2455, allocations: 92.38 kB / 432.2 MB, free: 6.805 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001666/0.2472, allocations: 1.288 MB / 433.5 MB, free: 5.496 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.952e-05/0.2472, allocations: 0 / 433.5 MB, free: 5.496 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-05/0.2473, allocations: 36 kB / 433.5 MB, free: 5.461 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.773e-05/0.2473, allocations: 20 kB / 433.5 MB, free: 5.441 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001484/0.2488, allocations: 1.226 MB / 434.8 MB, free: 4.219 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005442/0.2543, allocations: 5.039 MB / 439.8 MB, free: 14.73 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002521/0.2568, allocations: 2.226 MB / 442 MB, free: 12.39 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001242/0.2581, allocations: 0.9639 MB / 443 MB, free: 11.42 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001536/0.2582, allocations: 37.27 kB / 443 MB, free: 11.39 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.119e-05/0.2583, allocations: 51.88 kB / 443.1 MB, free: 11.33 MB / 318.1 MB Notification: Performance of pre-optimization done (n=148): time 3.777e-06/0.2583, allocations: 4 kB / 443.1 MB, free: 11.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=148): time 0.03292/0.2912, allocations: 7.938 MB / 451 MB, free: 3.344 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.478e-05/0.2914, allocations: 145.8 kB / 451.2 MB, free: 3.172 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008078/0.2922, allocations: 0.5585 MB / 451.7 MB, free: 2.605 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002652/0.2924, allocations: 57.7 kB / 451.8 MB, free: 2.543 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002169/0.2927, allocations: 302.3 kB / 452.1 MB, free: 2.242 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004676/0.2931, allocations: 0.4889 MB / 452.6 MB, free: 1.746 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004653/0.2936, allocations: 275.5 kB / 452.8 MB, free: 1.469 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.2938, allocations: 345.9 kB / 453.2 MB, free: 1.125 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001299/0.2951, allocations: 0.8357 MB / 454 MB, free: 296 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001378/0.2964, allocations: 0.9582 MB / 455 MB, free: 15.32 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00272/0.2992, allocations: 1.873 MB / 456.8 MB, free: 13.45 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.2992, allocations: 4 kB / 456.8 MB, free: 13.45 MB / 334.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.009582/0.3088, allocations: 3.643 MB / 460.5 MB, free: 9.789 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.54e-05/0.3089, allocations: 10.19 kB / 460.5 MB, free: 9.781 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.3089, allocations: 0 / 460.5 MB, free: 9.781 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009897/0.3188, allocations: 2.35 MB / 462.8 MB, free: 7.426 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001044/0.3199, allocations: 223.7 kB / 463.1 MB, free: 7.207 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02057/0.3405, allocations: 10.84 MB / 473.9 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001176/0.3417, allocations: 138.5 kB / 474 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001484/0.3419, allocations: 55.98 kB / 474.1 MB, free: 12.05 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.0004739/0.3423, allocations: 253.7 kB / 474.3 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002443/0.3426, allocations: 98.78 kB / 474.4 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009523/0.3521, allocations: 3.617 MB / 478 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.332e-05/0.3522, allocations: 16 kB / 478.1 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.3522, allocations: 0 / 478.1 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.103e-05/0.3522, allocations: 7.969 kB / 478.1 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01137/0.3636, allocations: 5.135 MB / 483.2 MB, free: 2.848 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.561e-05/0.3637, allocations: 3.938 kB / 483.2 MB, free: 2.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006032/0.3643, allocations: 167.7 kB / 483.4 MB, free: 2.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009542/0.3738, allocations: 2.233 MB / 485.6 MB, free: 452 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002366/0.3741, allocations: 39.98 kB / 485.6 MB, free: 412 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0195/0.3936, allocations: 10.68 MB / 496.3 MB, free: 5.574 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.3937, allocations: 4 kB / 496.3 MB, free: 5.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009307/0.403, allocations: 3.522 MB / 499.9 MB, free: 2.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003029/0.4033, allocations: 199.4 kB / 0.4883 GB, free: 1.805 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002264/0.4036, allocations: 28 kB / 0.4884 GB, free: 1.777 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009021/0.4045, allocations: 71.95 kB / 0.4884 GB, free: 1.707 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004951/0.405, allocations: 134.4 kB / 0.4886 GB, free: 1.578 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001099/0.4051, allocations: 47.98 kB / 0.4886 GB, free: 1.531 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005061/0.4056, allocations: 379.1 kB / 0.489 GB, free: 1.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4056, allocations: 0 / 0.489 GB, free: 1.16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001404/0.407, allocations: 0.5192 MB / 0.4895 GB, free: 0.6406 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.0003075/0.4073, allocations: 155 kB / 0.4896 GB, free: 492 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00712/0.4145, allocations: 2.94 MB / 0.4925 GB, free: 13.53 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.4145, allocations: 0 / 0.4925 GB, free: 13.53 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004395/0.4189, allocations: 1.866 MB / 0.4943 GB, free: 11.65 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008097/0.4197, allocations: 107 kB / 0.4944 GB, free: 11.55 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003991/0.4237, allocations: 2.499 MB / 0.4969 GB, free: 9.027 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006121/0.4244, allocations: 1.057 MB / 0.4979 GB, free: 7.941 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000259/0.4246, allocations: 95.39 kB / 0.498 GB, free: 7.848 MB / 382.1 MB Notification: Performance of SimCode: time 1.994e-06/0.4246, allocations: 0 / 0.498 GB, free: 7.848 MB / 382.1 MB Notification: Performance of Templates: time 0.186/0.6106, allocations: 20.61 MB / 0.5181 GB, free: 87.78 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)