Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.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.Islanding1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1") translateModel(PowerSysPro.Examples.BreakerTests.Islanding1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 114.3 kB / 17.09 MB, free: 5.941 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.001085/0.001085, allocations: 192.1 kB / 18.03 MB, free: 5.027 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.288/1.288, allocations: 222.9 MB / 241.7 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04409/0.04409, allocations: 8.086 MB / 300 MB, free: 6.633 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 63.89 kB / 415.1 MB, free: 21.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08572/0.08696, allocations: 51.51 MB / 466.6 MB, free: 2.164 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.Islanding1): time 0.004245/0.09123, allocations: 3.605 MB / 470.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001821/0.09308, allocations: 0.9767 MB / 471.2 MB, free: 13.56 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001638/0.09326, allocations: 8 kB / 471.2 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004101/0.09368, allocations: 178.9 kB / 471.4 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005524/0.09428, allocations: 250.4 kB / 471.6 MB, free: 13.13 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.00212/0.09641, allocations: 1.225 MB / 472.9 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006555/0.09708, allocations: 0.4976 MB / 473.4 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002604/0.09735, allocations: 164.3 kB / 473.5 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001836/0.09754, allocations: 211.2 kB / 473.7 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003252/0.09788, allocations: 270.9 kB / 474 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.302e-05/0.09795, allocations: 43.98 kB / 474 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004924/0.09845, allocations: 271.8 kB / 474.3 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.896e-05/0.09855, allocations: 99.61 kB / 474.4 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000206/0.09876, allocations: 238.8 kB / 474.6 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006723/0.09944, allocations: 0.662 MB / 475.3 MB, free: 9.469 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.09945, allocations: 0 / 475.3 MB, free: 9.469 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.09946, allocations: 4 kB / 475.3 MB, free: 9.465 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.099e-05/0.09948, allocations: 0 / 475.3 MB, free: 9.465 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.004762/0.1042, allocations: 1.365 MB / 476.7 MB, free: 8.043 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.1043, allocations: 15.89 kB / 476.7 MB, free: 8.027 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001248/0.1044, allocations: 52.38 kB / 476.7 MB, free: 7.977 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004072/0.1048, allocations: 347.4 kB / 477.1 MB, free: 7.598 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.698e-05/0.1049, allocations: 59.27 kB / 477.1 MB, free: 7.535 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.451e-05/0.105, allocations: 44.38 kB / 477.2 MB, free: 7.492 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008445/0.1059, allocations: 0.5611 MB / 477.7 MB, free: 6.922 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.1059, allocations: 7.875 kB / 477.7 MB, free: 6.914 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.268e-05/0.1059, allocations: 16 kB / 477.7 MB, free: 6.898 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.106, allocations: 12 kB / 477.8 MB, free: 6.887 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007847/0.1067, allocations: 0.5232 MB / 478.3 MB, free: 6.359 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002706/0.1095, allocations: 2.223 MB / 480.5 MB, free: 3.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001126/0.1106, allocations: 0.7377 MB / 481.2 MB, free: 3.141 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004809/0.1111, allocations: 358.5 kB / 481.6 MB, free: 2.789 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.39e-05/0.1112, allocations: 20.53 kB / 481.6 MB, free: 2.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006515/0.1118, allocations: 419 kB / 482 MB, free: 2.352 MB / 350.1 MB Notification: Performance of pre-optimization done (n=61): time 2.245e-06/0.1118, allocations: 0 / 482 MB, free: 2.352 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.007171/0.119, allocations: 2.104 MB / 484.1 MB, free: 224 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.75e-05/0.1191, allocations: 85.61 kB / 484.2 MB, free: 120 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003147/0.1194, allocations: 286.8 kB / 484.5 MB, free: 15.82 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.506e-05/0.1195, allocations: 37.7 kB / 484.5 MB, free: 15.78 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.1196, allocations: 181.4 kB / 484.7 MB, free: 15.6 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001541/0.1198, allocations: 205 kB / 484.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002014/0.12, allocations: 130.6 kB / 485 MB, free: 15.26 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.1201, allocations: 350.8 kB / 485.4 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005198/0.1206, allocations: 337.9 kB / 485.7 MB, free: 14.58 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005484/0.1212, allocations: 406 kB / 486.1 MB, free: 14.17 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001114/0.1223, allocations: 0.7539 MB / 486.9 MB, free: 13.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/0.1223, allocations: 3.938 kB / 486.9 MB, free: 13.4 MB / 366.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.003354/0.1257, allocations: 1.356 MB / 488.2 MB, free: 12.04 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.1257, allocations: 8 kB / 488.2 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.1257, allocations: 0 / 488.2 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0031/0.1288, allocations: 0.6867 MB / 488.9 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004071/0.1293, allocations: 99.83 kB / 489 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006968/0.1362, allocations: 4.322 MB / 493.3 MB, free: 6.793 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004815/0.1367, allocations: 59.38 kB / 493.4 MB, free: 6.734 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.655e-05/0.1368, allocations: 27.98 kB / 493.4 MB, free: 6.707 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 (62): * Single equations (assignments): 61 * 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 {(7,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0002467/0.1371, allocations: 173.7 kB / 493.6 MB, free: 6.527 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.1372, allocations: 39.53 kB / 493.6 MB, free: 6.488 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003365/0.1405, allocations: 1.335 MB / 495 MB, free: 5.141 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.348e-06/0.1406, allocations: 8 kB / 495 MB, free: 5.133 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.1406, allocations: 0 / 495 MB, free: 5.133 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.1406, allocations: 3.984 kB / 495 MB, free: 5.129 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003889/0.1445, allocations: 2.033 MB / 497 MB, free: 3.035 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.1445, allocations: 4 kB / 497 MB, free: 3.031 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000269/0.1448, allocations: 75.91 kB / 497.1 MB, free: 2.957 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002997/0.1478, allocations: 0.6767 MB / 497.8 MB, free: 2.277 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.947e-05/0.1478, allocations: 12 kB / 497.8 MB, free: 2.266 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006798/0.1546, allocations: 4.274 MB / 0.4903 GB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1547, allocations: 0 / 0.4903 GB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003274/0.158, allocations: 1.34 MB / 0.4916 GB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.1581, allocations: 124.4 kB / 0.4917 GB, free: 12.35 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.319e-05/0.1581, allocations: 12 kB / 0.4917 GB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003906/0.1585, allocations: 23.98 kB / 0.4917 GB, free: 12.31 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001497/0.1587, allocations: 64.41 kB / 0.4918 GB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.121e-05/0.1588, allocations: 27.92 kB / 0.4918 GB, free: 12.22 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001989/0.159, allocations: 194 kB / 0.492 GB, free: 12.03 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.159, allocations: 0 / 0.492 GB, free: 12.03 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000652/0.1596, allocations: 211.8 kB / 0.4922 GB, free: 11.82 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 (49): * Single equations (assignments): 48 * 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 {(7,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002133/0.1598, allocations: 135.2 kB / 0.4923 GB, free: 11.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002389/0.1622, allocations: 1.135 MB / 0.4934 GB, free: 10.54 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.1623, allocations: 0 / 0.4934 GB, free: 10.54 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001616/0.1639, allocations: 0.7592 MB / 0.4942 GB, free: 9.766 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004309/0.1643, allocations: 44.66 kB / 0.4942 GB, free: 9.723 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001466/0.1658, allocations: 0.9135 MB / 0.4951 GB, free: 8.777 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003418/0.1662, allocations: 0.8259 MB / 0.4959 GB, free: 7.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000134/0.1663, allocations: 55.41 kB / 0.496 GB, free: 7.875 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1663, allocations: 0 / 0.496 GB, free: 7.875 MB / 382.1 MB Notification: Performance of Templates: time 0.1858/0.3521, allocations: 8.735 MB / 0.5045 GB, free: 44.87 MB / 382.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.makefile (rm -f PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.sim & ./PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.pipe 2>&1)