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.001469/0.001469, allocations: 104.1 kB / 16.98 MB, free: 6.137 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.001638/0.001638, allocations: 191.4 kB / 17.91 MB, free: 5.234 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.362/1.362, allocations: 222.9 MB / 241.6 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04742/0.04742, allocations: 8.1 MB / 299.9 MB, free: 6.711 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 59.91 kB / 362.4 MB, free: 8.129 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.206/0.2074, allocations: 51.52 MB / 413.9 MB, free: 25.59 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers): time 0.005587/0.2131, allocations: 6.462 MB / 420.4 MB, free: 19.09 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002795/0.2159, allocations: 1.484 MB / 421.9 MB, free: 17.61 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005899/0.2165, allocations: 20 kB / 421.9 MB, free: 17.59 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006876/0.2173, allocations: 305.9 kB / 422.2 MB, free: 17.29 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001302/0.2186, allocations: 0.5433 MB / 422.7 MB, free: 16.74 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002211/0.2208, allocations: 1.424 MB / 424.2 MB, free: 15.32 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001179/0.222, allocations: 1.159 MB / 425.3 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004388/0.2224, allocations: 400.8 kB / 425.7 MB, free: 13.75 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004099/0.2229, allocations: 490.1 kB / 426.2 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000575/0.2234, allocations: 0.6497 MB / 426.8 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001172/0.2236, allocations: 92 kB / 426.9 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006035/0.2242, allocations: 335.7 kB / 427.2 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001365/0.2243, allocations: 239 kB / 427.5 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003908/0.2247, allocations: 0.5635 MB / 428 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001073/0.2258, allocations: 1.308 MB / 429.4 MB, free: 10.09 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.2258, allocations: 0 / 429.4 MB, free: 10.09 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.2258, allocations: 0 / 429.4 MB, free: 10.09 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.239e-05/0.2258, allocations: 0 / 429.4 MB, free: 10.09 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.01062/0.2365, allocations: 2.948 MB / 432.3 MB, free: 7.078 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.2365, allocations: 15.89 kB / 432.3 MB, free: 7.062 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002374/0.2368, allocations: 123.5 kB / 432.4 MB, free: 6.941 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007325/0.2375, allocations: 0.6164 MB / 433.1 MB, free: 6.281 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.413e-05/0.2376, allocations: 130.3 kB / 433.2 MB, free: 6.145 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000129/0.2377, allocations: 96.38 kB / 433.3 MB, free: 6.051 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00166/0.2394, allocations: 1.288 MB / 434.6 MB, free: 4.742 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/0.2394, allocations: 0 / 434.6 MB, free: 4.742 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.652e-05/0.2395, allocations: 36 kB / 434.6 MB, free: 4.707 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.368e-05/0.2396, allocations: 20 kB / 434.6 MB, free: 4.688 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001486/0.2411, allocations: 1.222 MB / 435.8 MB, free: 3.469 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005948/0.247, allocations: 5.039 MB / 440.9 MB, free: 13.98 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002776/0.2499, allocations: 2.234 MB / 443.1 MB, free: 11.63 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001308/0.2512, allocations: 0.9562 MB / 444.1 MB, free: 10.67 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001445/0.2514, allocations: 37.27 kB / 444.1 MB, free: 10.64 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.433e-05/0.2514, allocations: 51.88 kB / 444.2 MB, free: 10.58 MB / 318.1 MB Notification: Performance of pre-optimization done (n=148): time 3.647e-06/0.2514, allocations: 0 / 444.2 MB, free: 10.58 MB / 318.1 MB Notification: Performance of matching and sorting (n=148): time 0.03286/0.2843, allocations: 7.938 MB / 452.1 MB, free: 2.598 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.883e-05/0.2844, allocations: 149.8 kB / 452.2 MB, free: 2.422 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007947/0.2852, allocations: 0.5546 MB / 452.8 MB, free: 1.859 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002528/0.2855, allocations: 57.7 kB / 452.9 MB, free: 1.797 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002302/0.2857, allocations: 310.2 kB / 453.2 MB, free: 1.488 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004846/0.2862, allocations: 496.7 kB / 453.6 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004915/0.2867, allocations: 283.5 kB / 453.9 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.2869, allocations: 341.9 kB / 454.2 MB, free: 380 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001297/0.2882, allocations: 0.8318 MB / 455.1 MB, free: 15.54 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001326/0.2895, allocations: 0.9581 MB / 456 MB, free: 14.57 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002684/0.2922, allocations: 1.873 MB / 457.9 MB, free: 12.7 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.2922, allocations: 0 / 457.9 MB, free: 12.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.009256/0.3015, allocations: 3.647 MB / 461.6 MB, free: 9.039 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.782e-05/0.3016, allocations: 4 kB / 461.6 MB, free: 9.035 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.3016, allocations: 0 / 461.6 MB, free: 9.035 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009592/0.3112, allocations: 2.354 MB / 463.9 MB, free: 6.676 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009101/0.3121, allocations: 219.7 kB / 464.1 MB, free: 6.461 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02036/0.3325, allocations: 10.85 MB / 475 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001222/0.3337, allocations: 146.5 kB / 475.1 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001327/0.3339, allocations: 47.98 kB / 475.2 MB, free: 11.31 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.0004692/0.3344, allocations: 261.6 kB / 475.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000218/0.3346, allocations: 98.78 kB / 475.5 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009371/0.344, allocations: 3.62 MB / 479.1 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-05/0.344, allocations: 20 kB / 479.2 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.3441, allocations: 0 / 479.2 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.716e-05/0.3441, allocations: 7.969 kB / 479.2 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01153/0.3556, allocations: 5.127 MB / 484.3 MB, free: 2.094 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.659e-05/0.3557, allocations: 0 / 484.3 MB, free: 2.094 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006937/0.3564, allocations: 171.7 kB / 484.5 MB, free: 1.926 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009646/0.366, allocations: 2.233 MB / 486.7 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002687/0.3664, allocations: 39.98 kB / 486.7 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01977/0.3861, allocations: 10.67 MB / 497.4 MB, free: 4.828 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.3862, allocations: 0 / 497.4 MB, free: 4.828 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009614/0.3958, allocations: 3.53 MB / 0.4892 GB, free: 1.27 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003123/0.3962, allocations: 195.4 kB / 0.4894 GB, free: 1.059 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002707/0.3964, allocations: 28 kB / 0.4894 GB, free: 1.031 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001004/0.3975, allocations: 79.83 kB / 0.4895 GB, free: 0.9531 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005077/0.398, allocations: 126.4 kB / 0.4896 GB, free: 0.832 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001229/0.3981, allocations: 47.98 kB / 0.4896 GB, free: 0.7852 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005375/0.3987, allocations: 379.1 kB / 0.49 GB, free: 424 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3987, allocations: 0 / 0.49 GB, free: 424 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.001565/0.4002, allocations: 0.5232 MB / 0.4905 GB, free: 15.89 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.0003373/0.4006, allocations: 159 kB / 0.4907 GB, free: 15.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.007448/0.408, allocations: 2.936 MB / 0.4935 GB, free: 12.79 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.054e-06/0.4081, allocations: 4 kB / 0.4935 GB, free: 12.78 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00473/0.4128, allocations: 1.866 MB / 0.4954 GB, free: 10.9 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00113/0.414, allocations: 115 kB / 0.4955 GB, free: 10.79 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004466/0.4185, allocations: 2.099 MB / 0.4975 GB, free: 8.668 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007463/0.4193, allocations: 1.061 MB / 0.4986 GB, free: 7.578 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003135/0.4196, allocations: 91.39 kB / 0.4986 GB, free: 7.488 MB / 382.1 MB Notification: Performance of SimCode: time 7.61e-07/0.4196, allocations: 0 / 0.4986 GB, free: 7.488 MB / 382.1 MB Notification: Performance of Templates: time 0.1999/0.6195, allocations: 20.6 MB / 0.5188 GB, free: 87.5 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)