Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.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.Islanding2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2") translateModel(PowerSysPro.Examples.BreakerTests.Islanding2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004321/0.004321, allocations: 93.72 kB / 15.91 MB, free: 6.273 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.001025/0.001025, allocations: 201.1 kB / 16.84 MB, free: 6.188 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.198/1.198, allocations: 222.9 MB / 240.5 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.147/0.147, allocations: 8.089 MB / 298.7 MB, free: 2.117 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001019/0.001019, allocations: 51.92 kB / 361 MB, free: 13.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08953/0.09057, allocations: 51.53 MB / 412.5 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.Islanding2): time 0.004379/0.09498, allocations: 4.127 MB / 416.7 MB, free: 6.016 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001764/0.09678, allocations: 1.062 MB / 417.7 MB, free: 4.949 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001303/0.09693, allocations: 8 kB / 417.7 MB, free: 4.941 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004012/0.09737, allocations: 167.3 kB / 417.9 MB, free: 4.777 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005415/0.09792, allocations: 274.4 kB / 418.2 MB, free: 4.508 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo:34:7-34:67:writable] Warning: In relation pv.rampTime == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001991/0.09992, allocations: 1.238 MB / 419.4 MB, free: 3.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006513/0.1006, allocations: 0.5908 MB / 420 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002704/0.1009, allocations: 190 kB / 420.2 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001859/0.1011, allocations: 243 kB / 420.4 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003275/0.1014, allocations: 330.6 kB / 420.7 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.794e-05/0.1015, allocations: 36 kB / 420.8 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004409/0.1019, allocations: 271.7 kB / 421 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.823e-05/0.102, allocations: 115.5 kB / 421.2 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002213/0.1022, allocations: 286.5 kB / 421.4 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006731/0.1029, allocations: 0.7632 MB / 422.2 MB, free: 468 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.1029, allocations: 0 / 422.2 MB, free: 468 kB / 350.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.1029, allocations: 0 / 422.2 MB, free: 468 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.103, allocations: 0 / 422.2 MB, free: 468 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.005318/0.1083, allocations: 1.63 MB / 423.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.1083, allocations: 16.02 kB / 423.8 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001339/0.1085, allocations: 68.19 kB / 423.9 MB, free: 14.69 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004317/0.1089, allocations: 395.8 kB / 424.3 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.492e-05/0.109, allocations: 71.45 kB / 424.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.295e-05/0.1091, allocations: 48.38 kB / 424.4 MB, free: 14.15 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009793/0.11, allocations: 0.6857 MB / 425.1 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.1101, allocations: 7.984 kB / 425.1 MB, free: 13.44 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.718e-05/0.1101, allocations: 24 kB / 425.1 MB, free: 13.42 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.1102, allocations: 11.98 kB / 425.1 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000895/0.1111, allocations: 0.6364 MB / 425.8 MB, free: 12.77 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002964/0.114, allocations: 2.705 MB / 428.5 MB, free: 9.797 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001282/0.1153, allocations: 1.054 MB / 429.5 MB, free: 8.68 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005542/0.1159, allocations: 450.7 kB / 430 MB, free: 8.238 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.835e-05/0.116, allocations: 20.62 kB / 430 MB, free: 8.219 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007446/0.1167, allocations: 0.5041 MB / 430.5 MB, free: 7.699 MB / 366.1 MB Notification: Performance of pre-optimization done (n=75): time 1.923e-06/0.1167, allocations: 0 / 430.5 MB, free: 7.699 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.008209/0.125, allocations: 2.646 MB / 433.2 MB, free: 5.023 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.46e-05/0.125, allocations: 89.7 kB / 433.2 MB, free: 4.914 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003413/0.1254, allocations: 341.5 kB / 433.6 MB, free: 4.574 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.832e-05/0.1254, allocations: 45.7 kB / 433.6 MB, free: 4.523 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.1256, allocations: 193.3 kB / 433.8 MB, free: 4.328 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001674/0.1257, allocations: 260.2 kB / 434.1 MB, free: 4.07 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002378/0.126, allocations: 150.6 kB / 434.2 MB, free: 3.918 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.1261, allocations: 358.7 kB / 434.6 MB, free: 3.559 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005786/0.1267, allocations: 417.9 kB / 435 MB, free: 3.148 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006195/0.1273, allocations: 0.4904 MB / 435.5 MB, free: 2.648 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001242/0.1286, allocations: 0.9366 MB / 436.4 MB, free: 1.703 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.1286, allocations: 0 / 436.4 MB, free: 1.703 MB / 366.1 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.1565/0.2851, allocations: 1.717 MB / 438.1 MB, free: 57.15 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.2852, allocations: 5.438 kB / 438.1 MB, free: 57.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.2852, allocations: 1.922 kB / 438.1 MB, free: 57.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003835/0.289, allocations: 1.073 MB / 439.2 MB, free: 57.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004577/0.2895, allocations: 122.3 kB / 439.3 MB, free: 57.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007137/0.2967, allocations: 4.888 MB / 444.2 MB, free: 55.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004746/0.2971, allocations: 70.02 kB / 444.3 MB, free: 55.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.546e-05/0.2972, allocations: 30.88 kB / 444.3 MB, free: 55.05 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,cmd.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * 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 {(14,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002025/0.2974, allocations: 185.3 kB / 444.5 MB, free: 54.89 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.924e-05/0.2975, allocations: 50.75 kB / 444.5 MB, free: 54.87 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003686/0.3012, allocations: 1.718 MB / 446.2 MB, free: 54.22 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.78e-06/0.3012, allocations: 9.844 kB / 446.3 MB, free: 54.22 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.3012, allocations: 2.125 kB / 446.3 MB, free: 54.22 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.3012, allocations: 3.281 kB / 446.3 MB, free: 54.22 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004085/0.3053, allocations: 2.537 MB / 448.8 MB, free: 53.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.3053, allocations: 0 / 448.8 MB, free: 53.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002736/0.3056, allocations: 97.69 kB / 448.9 MB, free: 53.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003598/0.3092, allocations: 0.9592 MB / 449.9 MB, free: 52.86 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.555e-05/0.3093, allocations: 14.22 kB / 449.9 MB, free: 52.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006808/0.3161, allocations: 4.826 MB / 454.7 MB, free: 49.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3161, allocations: 0 / 454.7 MB, free: 49.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003528/0.3196, allocations: 1.687 MB / 456.4 MB, free: 49.03 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.945e-05/0.3197, allocations: 134.8 kB / 456.5 MB, free: 48.9 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.659e-05/0.3198, allocations: 18.53 kB / 456.5 MB, free: 48.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004156/0.3202, allocations: 35.22 kB / 456.6 MB, free: 48.88 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001747/0.3204, allocations: 63.25 kB / 456.6 MB, free: 48.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-05/0.3205, allocations: 28.5 kB / 456.7 MB, free: 48.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001907/0.3207, allocations: 232.5 kB / 456.9 MB, free: 48.73 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.52e-07/0.3207, allocations: 0 / 456.9 MB, free: 48.73 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006465/0.3213, allocations: 264.2 kB / 457.1 MB, free: 48.69 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: 2 ($whenCondition1,cmd.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 58 * 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 {(14,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001784/0.3215, allocations: 135.6 kB / 457.3 MB, free: 48.59 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002563/0.3241, allocations: 1.471 MB / 458.7 MB, free: 47.94 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3241, allocations: 0 / 458.7 MB, free: 47.94 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001839/0.326, allocations: 0.9565 MB / 459.7 MB, free: 47.51 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000432/0.3264, allocations: 58.94 kB / 459.8 MB, free: 47.47 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001375/0.3278, allocations: 1.32 MB / 461.1 MB, free: 46.68 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001959/0.328, allocations: 0.8711 MB / 461.9 MB, free: 45.97 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002327/0.3282, allocations: 76.64 kB / 462 MB, free: 45.95 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/0.3284, allocations: 46.86 kB / 462.1 MB, free: 45.94 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3284, allocations: 0 / 462.1 MB, free: 45.94 MB / 366.1 MB Notification: Performance of Templates: time 0.01749/0.3459, allocations: 14.86 MB / 476.9 MB, free: 44.9 MB / 366.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.makefile (rm -f PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.sim & ./PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.pipe 2>&1)