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.001142/0.001142, allocations: 101.8 kB / 16.45 MB, free: 6.441 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.001033/0.001033, allocations: 189 kB / 17.39 MB, free: 5.668 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.528/1.528, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05724/0.05724, allocations: 8.098 MB / 299.3 MB, free: 6.637 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 63.91 kB / 414.5 MB, free: 21.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1249, allocations: 51.52 MB / 466 MB, free: 2.152 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.Islanding2): time 0.005219/0.1302, allocations: 4.119 MB / 470.1 MB, free: 14.01 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002277/0.1325, allocations: 1.078 MB / 471.2 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001801/0.1327, allocations: 8 kB / 471.2 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004939/0.1332, allocations: 194.8 kB / 471.4 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007387/0.134, allocations: 310 kB / 471.7 MB, free: 12.43 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.002638/0.1366, allocations: 1.268 MB / 473 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001081/0.1377, allocations: 0.6143 MB / 473.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004219/0.1382, allocations: 217.4 kB / 473.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003349/0.1385, allocations: 259 kB / 474 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004564/0.139, allocations: 342.6 kB / 474.4 MB, free: 9.727 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.38e-05/0.1391, allocations: 48 kB / 474.4 MB, free: 9.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006783/0.1398, allocations: 287.7 kB / 474.7 MB, free: 9.398 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001307/0.1399, allocations: 127.5 kB / 474.8 MB, free: 9.273 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002915/0.1402, allocations: 298.5 kB / 475.1 MB, free: 8.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009532/0.1412, allocations: 0.7867 MB / 475.9 MB, free: 8.191 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1412, allocations: 0 / 475.9 MB, free: 8.191 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.865e-06/0.1412, allocations: 0 / 475.9 MB, free: 8.191 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.788e-06/0.1412, allocations: 0 / 475.9 MB, free: 8.191 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.005568/0.1468, allocations: 1.637 MB / 477.5 MB, free: 6.504 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.512e-05/0.1468, allocations: 8.031 kB / 477.6 MB, free: 6.496 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000181/0.147, allocations: 64.28 kB / 477.6 MB, free: 6.434 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006314/0.1477, allocations: 403.7 kB / 478 MB, free: 6 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.329e-05/0.1478, allocations: 67.45 kB / 478.1 MB, free: 5.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.834e-05/0.1479, allocations: 48.38 kB / 478.1 MB, free: 5.883 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001176/0.1491, allocations: 0.6896 MB / 478.8 MB, free: 5.184 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.273e-05/0.1491, allocations: 3.938 kB / 478.8 MB, free: 5.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.231e-05/0.1492, allocations: 20 kB / 478.8 MB, free: 5.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.547e-05/0.1492, allocations: 15.94 kB / 478.8 MB, free: 5.145 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009469/0.1501, allocations: 0.6442 MB / 479.5 MB, free: 4.496 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003422/0.1536, allocations: 2.701 MB / 482.2 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001398/0.155, allocations: 1.057 MB / 483.3 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005877/0.1556, allocations: 450.8 kB / 483.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.62e-05/0.1557, allocations: 16.55 kB / 483.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008363/0.1565, allocations: 0.5041 MB / 484.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of pre-optimization done (n=75): time 2.665e-06/0.1565, allocations: 0 / 484.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.008463/0.165, allocations: 2.642 MB / 486.9 MB, free: 12.76 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.092e-05/0.1651, allocations: 89.7 kB / 486.9 MB, free: 12.65 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004176/0.1655, allocations: 337.6 kB / 487.3 MB, free: 12.32 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.346e-05/0.1656, allocations: 41.7 kB / 487.3 MB, free: 12.27 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001617/0.1658, allocations: 201.3 kB / 487.5 MB, free: 12.07 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002231/0.166, allocations: 256.2 kB / 487.8 MB, free: 11.81 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002706/0.1663, allocations: 146.6 kB / 487.9 MB, free: 11.66 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.1665, allocations: 358.8 kB / 488.3 MB, free: 11.3 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006222/0.1671, allocations: 417.8 kB / 488.7 MB, free: 10.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007111/0.1678, allocations: 494.2 kB / 489.1 MB, free: 10.4 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001452/0.1693, allocations: 0.9366 MB / 490.1 MB, free: 9.457 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.1693, allocations: 0 / 490.1 MB, free: 9.457 MB / 366.1 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.004203/0.1735, allocations: 1.72 MB / 491.8 MB, free: 7.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.19e-05/0.1736, allocations: 14.48 kB / 491.8 MB, free: 7.719 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.1736, allocations: 0 / 491.8 MB, free: 7.719 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003993/0.1776, allocations: 1.077 MB / 492.9 MB, free: 6.641 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004608/0.178, allocations: 119.8 kB / 493 MB, free: 6.523 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008863/0.1869, allocations: 5.335 MB / 498.3 MB, free: 1.059 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006442/0.1876, allocations: 71.27 kB / 498.4 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.27e-05/0.1877, allocations: 28 kB / 498.4 MB, free: 0.9609 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.0003083/0.188, allocations: 189.8 kB / 498.6 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001172/0.1881, allocations: 63.22 kB / 498.7 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004131/0.1922, allocations: 1.706 MB / 0.4887 GB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.009e-05/0.1923, allocations: 12 kB / 0.4887 GB, free: 14.97 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1923, allocations: 3.938 kB / 0.4887 GB, free: 14.97 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.475e-06/0.1923, allocations: 3.984 kB / 0.4887 GB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00516/0.1975, allocations: 2.528 MB / 0.4912 GB, free: 12.37 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.1975, allocations: 0 / 0.4912 GB, free: 12.37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003218/0.1978, allocations: 95.83 kB / 0.4912 GB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003832/0.2016, allocations: 0.9608 MB / 0.4922 GB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.28e-05/0.2017, allocations: 20 kB / 0.4922 GB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008615/0.2104, allocations: 5.251 MB / 0.4973 GB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.2104, allocations: 4 kB / 0.4973 GB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004096/0.2145, allocations: 1.684 MB / 0.499 GB, free: 4.188 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002035/0.2147, allocations: 136.2 kB / 0.4991 GB, free: 4.035 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.971e-05/0.2148, allocations: 19.94 kB / 0.4991 GB, free: 4.016 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004557/0.2153, allocations: 35.97 kB / 0.4992 GB, free: 3.98 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002211/0.2155, allocations: 68.91 kB / 0.4992 GB, free: 3.914 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.649e-05/0.2156, allocations: 24 kB / 0.4993 GB, free: 3.891 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000281/0.2159, allocations: 235.2 kB / 0.4995 GB, free: 3.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.2159, allocations: 0 / 0.4995 GB, free: 3.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008486/0.2167, allocations: 255.8 kB / 0.4997 GB, free: 3.41 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.0002825/0.217, allocations: 135.2 kB / 0.4998 GB, free: 3.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003274/0.2203, allocations: 1.495 MB / 0.5013 GB, free: 1.766 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.2203, allocations: 128 / 0.5013 GB, free: 1.766 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002219/0.2226, allocations: 0.9882 MB / 0.5023 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005279/0.2231, allocations: 60.23 kB / 0.5023 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2876/0.5107, allocations: 1.098 MB / 0.5034 GB, free: 46.3 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005122/0.5113, allocations: 0.8698 MB / 0.5043 GB, free: 45.6 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003757/0.5117, allocations: 77.25 kB / 0.5043 GB, free: 45.6 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000148/0.5118, allocations: 50.56 kB / 0.5044 GB, free: 45.59 MB / 382.1 MB Notification: Performance of SimCode: time 1.262e-06/0.5118, allocations: 0.875 kB / 0.5044 GB, free: 45.59 MB / 382.1 MB Notification: Performance of Templates: time 0.02723/0.5391, allocations: 15.97 MB / 0.52 GB, free: 41.1 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)