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-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.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.001078/0.001078, allocations: 114.1 kB / 17.09 MB, free: 6.066 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.001111/0.001112, allocations: 197.5 kB / 18.03 MB, free: 5.16 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.299/1.299, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04399/0.04399, allocations: 8.102 MB / 300 MB, free: 6.648 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 63.91 kB / 415.1 MB, free: 21.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08227/0.08353, allocations: 51.51 MB / 466.6 MB, free: 2.172 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.Islanding2): time 0.006163/0.08974, allocations: 4.118 MB / 470.7 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00214/0.09192, allocations: 1.082 MB / 471.8 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002206/0.09217, allocations: 12 kB / 471.8 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004705/0.09269, allocations: 190.8 kB / 472 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007285/0.09343, allocations: 306 kB / 472.3 MB, free: 12.45 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/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.002287/0.09572, allocations: 1.268 MB / 473.6 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007662/0.0965, allocations: 0.6143 MB / 474.2 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003196/0.09683, allocations: 217.4 kB / 474.4 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002688/0.09711, allocations: 259 kB / 474.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003837/0.0975, allocations: 342.6 kB / 475 MB, free: 9.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.032e-05/0.09758, allocations: 52 kB / 475 MB, free: 9.699 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005231/0.09811, allocations: 291.7 kB / 475.3 MB, free: 9.414 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001078/0.09823, allocations: 127.5 kB / 475.5 MB, free: 9.289 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002534/0.09849, allocations: 298.5 kB / 475.7 MB, free: 8.996 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00081/0.09931, allocations: 0.7788 MB / 476.5 MB, free: 8.215 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.09932, allocations: 0 / 476.5 MB, free: 8.215 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.09933, allocations: 0 / 476.5 MB, free: 8.215 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.155e-06/0.09934, allocations: 4 kB / 476.5 MB, free: 8.211 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.006053/0.1054, allocations: 1.634 MB / 478.2 MB, free: 6.523 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.1055, allocations: 11.89 kB / 478.2 MB, free: 6.512 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001508/0.1056, allocations: 64.28 kB / 478.2 MB, free: 6.449 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005395/0.1062, allocations: 395.7 kB / 478.6 MB, free: 6.023 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.867e-05/0.1062, allocations: 67.45 kB / 478.7 MB, free: 5.953 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.463e-05/0.1063, allocations: 56.38 kB / 478.7 MB, free: 5.898 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001064/0.1074, allocations: 0.6896 MB / 479.4 MB, free: 5.199 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.1074, allocations: 3.938 kB / 479.4 MB, free: 5.195 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.011e-05/0.1075, allocations: 19.98 kB / 479.5 MB, free: 5.176 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.1075, allocations: 8 kB / 479.5 MB, free: 5.168 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001025/0.1085, allocations: 0.6403 MB / 480.1 MB, free: 4.523 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003403/0.112, allocations: 2.705 MB / 482.8 MB, free: 1.551 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001502/0.1135, allocations: 1.054 MB / 483.9 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006247/0.1141, allocations: 454.7 kB / 484.3 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.066e-05/0.1142, allocations: 20.64 kB / 484.3 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008174/0.115, allocations: 0.5002 MB / 484.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of pre-optimization done (n=75): time 2.405e-06/0.1151, allocations: 0 / 484.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.008886/0.1239, allocations: 2.642 MB / 487.5 MB, free: 12.79 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.023e-05/0.124, allocations: 93.7 kB / 487.6 MB, free: 12.67 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003948/0.1245, allocations: 333.6 kB / 487.9 MB, free: 12.34 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.26e-05/0.1245, allocations: 41.7 kB / 487.9 MB, free: 12.29 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/0.1247, allocations: 205.3 kB / 488.1 MB, free: 12.09 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001986/0.1249, allocations: 248.2 kB / 488.4 MB, free: 11.84 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002452/0.1251, allocations: 150.6 kB / 488.5 MB, free: 11.69 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.1253, allocations: 358.8 kB / 488.9 MB, free: 11.33 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006305/0.1259, allocations: 417.9 kB / 489.3 MB, free: 10.92 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006875/0.1266, allocations: 498.2 kB / 489.8 MB, free: 10.42 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00137/0.128, allocations: 0.9326 MB / 490.7 MB, free: 9.48 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.128, allocations: 0 / 490.7 MB, free: 9.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.0043/0.1323, allocations: 1.727 MB / 492.4 MB, free: 7.746 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.1324, allocations: 4 kB / 492.4 MB, free: 7.742 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.1324, allocations: 7.984 kB / 492.4 MB, free: 7.734 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004128/0.1365, allocations: 1.073 MB / 493.5 MB, free: 6.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005089/0.137, allocations: 123.8 kB / 493.6 MB, free: 6.539 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009157/0.1462, allocations: 5.331 MB / 499 MB, free: 1.078 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006361/0.1469, allocations: 79.2 kB / 499 MB, free: 1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.55e-05/0.147, allocations: 27.98 kB / 499.1 MB, free: 0.9727 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.0002818/0.1472, allocations: 181.8 kB / 499.2 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/0.1474, allocations: 63.22 kB / 499.3 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004331/0.1517, allocations: 1.706 MB / 0.4893 GB, free: 15 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/0.1517, allocations: 8 kB / 0.4893 GB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.1517, allocations: 3.938 kB / 0.4893 GB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/0.1518, allocations: 7.984 kB / 0.4893 GB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004924/0.1567, allocations: 2.528 MB / 0.4918 GB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.1567, allocations: 4 kB / 0.4918 GB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003269/0.157, allocations: 95.83 kB / 0.4919 GB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003913/0.161, allocations: 0.9571 MB / 0.4928 GB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.634e-05/0.1611, allocations: 20 kB / 0.4928 GB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008921/0.17, allocations: 5.251 MB / 0.4979 GB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.17, allocations: 0 / 0.4979 GB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00414/0.1742, allocations: 1.684 MB / 0.4996 GB, free: 4.211 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001612/0.1744, allocations: 140.2 kB / 0.4997 GB, free: 4.055 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.597e-05/0.1744, allocations: 19.94 kB / 0.4997 GB, free: 4.035 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004879/0.1749, allocations: 35.97 kB / 0.4998 GB, free: 4 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002118/0.1752, allocations: 64.91 kB / 0.4998 GB, free: 3.938 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.317e-05/0.1752, allocations: 20 kB / 0.4998 GB, free: 3.918 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002653/0.1755, allocations: 239.2 kB / 0.5001 GB, free: 3.684 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1755, allocations: 0 / 0.5001 GB, free: 3.684 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000786/0.1763, allocations: 255.8 kB / 0.5003 GB, free: 3.434 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: 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.0002276/0.1765, allocations: 139.1 kB / 0.5005 GB, free: 3.289 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003302/0.1798, allocations: 1.499 MB / 0.5019 GB, free: 1.781 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.1799, allocations: 0 / 0.5019 GB, free: 1.781 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002366/0.1822, allocations: 0.9844 MB / 0.5029 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005293/0.1828, allocations: 65.36 kB / 0.5029 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1751/0.3579, allocations: 1.117 MB / 0.504 GB, free: 45.71 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003535/0.3583, allocations: 0.8713 MB / 0.5049 GB, free: 45.01 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002295/0.3585, allocations: 56 kB / 0.5049 GB, free: 45 MB / 382.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3585, allocations: 0 / 0.5049 GB, free: 45 MB / 382.1 MB Notification: Performance of Templates: time 0.01487/0.3734, allocations: 10.96 MB / 0.5156 GB, free: 42.72 MB / 382.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)