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.001274/0.001274, allocations: 120.8 kB / 17.13 MB, free: 5.961 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.0013/0.0013, allocations: 193.2 kB / 18.06 MB, free: 5.039 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.286/1.286, allocations: 222.9 MB / 241.8 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04624/0.04624, allocations: 8.096 MB / 300 MB, free: 6.633 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 59.91 kB / 415.2 MB, free: 21.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07902/0.0802, allocations: 51.53 MB / 466.7 MB, free: 2.148 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.Islanding2): time 0.00478/0.08501, allocations: 4.115 MB / 470.8 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001889/0.08693, allocations: 1.078 MB / 471.9 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002658/0.08721, allocations: 8 kB / 471.9 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004799/0.0877, allocations: 194.8 kB / 472.1 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007302/0.08846, allocations: 314 kB / 472.4 MB, free: 12.43 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.002239/0.09071, allocations: 1.264 MB / 473.6 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000765/0.09148, allocations: 0.6142 MB / 474.3 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003296/0.09182, allocations: 225.4 kB / 474.5 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003014/0.09213, allocations: 255 kB / 474.7 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004418/0.09258, allocations: 346.6 kB / 475.1 MB, free: 9.723 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.885e-05/0.09269, allocations: 48 kB / 475.1 MB, free: 9.676 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005134/0.09321, allocations: 283.7 kB / 475.4 MB, free: 9.398 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001054/0.09332, allocations: 131.5 kB / 475.5 MB, free: 9.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002658/0.09359, allocations: 294.5 kB / 475.8 MB, free: 8.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008583/0.09446, allocations: 0.7866 MB / 476.6 MB, free: 8.191 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.09448, allocations: 4 kB / 476.6 MB, free: 8.188 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.09448, allocations: 0 / 476.6 MB, free: 8.188 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.214e-05/0.0945, allocations: 0 / 476.6 MB, free: 8.188 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.006047/0.1006, allocations: 1.634 MB / 478.2 MB, free: 6.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.1006, allocations: 11.89 kB / 478.2 MB, free: 6.488 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000151/0.1008, allocations: 64.28 kB / 478.3 MB, free: 6.426 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005024/0.1013, allocations: 399.7 kB / 478.7 MB, free: 5.996 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.129e-05/0.1013, allocations: 71.44 kB / 478.8 MB, free: 5.922 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.374e-05/0.1014, allocations: 56.31 kB / 478.8 MB, free: 5.867 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001091/0.1025, allocations: 0.6857 MB / 479.5 MB, free: 5.172 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.1026, allocations: 4 kB / 479.5 MB, free: 5.168 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.876e-05/0.1026, allocations: 20 kB / 479.5 MB, free: 5.148 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.257e-05/0.1027, allocations: 12 kB / 479.5 MB, free: 5.137 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009647/0.1036, allocations: 0.6403 MB / 480.2 MB, free: 4.492 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003359/0.107, allocations: 2.697 MB / 482.9 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001416/0.1084, allocations: 1.054 MB / 483.9 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006106/0.109, allocations: 454.7 kB / 484.4 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.91e-05/0.1091, allocations: 20.56 kB / 484.4 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008162/0.11, allocations: 0.5002 MB / 484.9 MB, free: 15.43 MB / 366.1 MB Notification: Performance of pre-optimization done (n=75): time 2.394e-06/0.11, allocations: 0 / 484.9 MB, free: 15.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.008918/0.1189, allocations: 2.642 MB / 487.5 MB, free: 12.76 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.084e-05/0.119, allocations: 93.69 kB / 487.6 MB, free: 12.65 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003718/0.1194, allocations: 329.6 kB / 487.9 MB, free: 12.32 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.255e-05/0.1194, allocations: 41.7 kB / 488 MB, free: 12.27 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001328/0.1196, allocations: 209.3 kB / 488.2 MB, free: 12.06 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001932/0.1198, allocations: 252.2 kB / 488.4 MB, free: 11.81 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002442/0.12, allocations: 150.6 kB / 488.6 MB, free: 11.66 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.1202, allocations: 354.8 kB / 488.9 MB, free: 11.3 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006352/0.1208, allocations: 417.9 kB / 489.3 MB, free: 10.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006882/0.1215, allocations: 498.2 kB / 489.8 MB, free: 10.4 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001363/0.1229, allocations: 0.9365 MB / 490.8 MB, free: 9.453 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.1229, allocations: 4 kB / 490.8 MB, free: 9.449 MB / 366.1 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.004608/0.1275, allocations: 1.72 MB / 492.5 MB, free: 7.723 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.1275, allocations: 4 kB / 492.5 MB, free: 7.719 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.1276, allocations: 4 kB / 492.5 MB, free: 7.715 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004806/0.1324, allocations: 1.077 MB / 493.6 MB, free: 6.637 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000478/0.1329, allocations: 119.8 kB / 493.7 MB, free: 6.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009682/0.1426, allocations: 5.331 MB / 499 MB, free: 1.059 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006202/0.1432, allocations: 67.28 kB / 499.1 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001048/0.1433, allocations: 35.92 kB / 499.1 MB, free: 0.957 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.0003132/0.1437, allocations: 177.8 kB / 499.3 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000117/0.1438, allocations: 59.28 kB / 499.4 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004889/0.1487, allocations: 1.718 MB / 0.4893 GB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.829e-06/0.1487, allocations: 8 kB / 0.4893 GB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.1487, allocations: 7.938 kB / 0.4893 GB, free: 14.97 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.796e-06/0.1487, allocations: 3.984 kB / 0.4893 GB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005133/0.1539, allocations: 2.532 MB / 0.4918 GB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.1539, allocations: 0 / 0.4918 GB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003274/0.1542, allocations: 91.84 kB / 0.4919 GB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00401/0.1582, allocations: 0.9649 MB / 0.4928 GB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.004e-05/0.1583, allocations: 23.98 kB / 0.4929 GB, free: 11.28 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00925/0.1676, allocations: 5.244 MB / 0.498 GB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1676, allocations: 0 / 0.498 GB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004142/0.1717, allocations: 1.685 MB / 0.4996 GB, free: 4.191 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/0.1719, allocations: 136.2 kB / 0.4998 GB, free: 4.039 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.181e-05/0.172, allocations: 23.92 kB / 0.4998 GB, free: 4.016 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004884/0.1725, allocations: 31.98 kB / 0.4998 GB, free: 3.984 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001828/0.1727, allocations: 64.91 kB / 0.4999 GB, free: 3.922 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.265e-05/0.1727, allocations: 31.98 kB / 0.4999 GB, free: 3.891 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000255/0.173, allocations: 227.2 kB / 0.5001 GB, free: 3.668 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.173, allocations: 0 / 0.5001 GB, free: 3.668 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007699/0.1738, allocations: 259.8 kB / 0.5004 GB, free: 3.414 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.0002561/0.174, allocations: 139.2 kB / 0.5005 GB, free: 3.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003278/0.1773, allocations: 1.495 MB / 0.502 GB, free: 1.766 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.1773, allocations: 4.125 kB / 0.502 GB, free: 1.762 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002282/0.1796, allocations: 0.9804 MB / 0.5029 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004744/0.1801, allocations: 73.28 kB / 0.503 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1648/0.3449, allocations: 1.116 MB / 0.5041 GB, free: 45.67 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003334/0.3452, allocations: 0.8699 MB / 0.5049 GB, free: 44.97 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002015/0.3454, allocations: 55.45 kB / 0.505 GB, free: 44.96 MB / 382.1 MB Notification: Performance of SimCode: time 7.31e-07/0.3455, allocations: 0 / 0.505 GB, free: 44.96 MB / 382.1 MB Notification: Performance of Templates: time 0.01468/0.3601, allocations: 11.01 MB / 0.5157 GB, free: 42.66 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)