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.00133/0.00133, allocations: 124 kB / 17.14 MB, free: 5.914 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.001519/0.00152, allocations: 189.1 kB / 18.06 MB, free: 5 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.664/1.664, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04611/0.04611, allocations: 8.1 MB / 300 MB, free: 6.609 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 63.91 kB / 415.2 MB, free: 21.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07713/0.07832, allocations: 51.52 MB / 466.7 MB, free: 2.133 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.Islanding1): time 0.00443/0.08278, allocations: 3.605 MB / 470.3 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001795/0.0846, allocations: 0.9729 MB / 471.3 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002839/0.08491, allocations: 8 kB / 471.3 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000517/0.08544, allocations: 179 kB / 471.4 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007477/0.08623, allocations: 246.4 kB / 471.7 MB, free: 13.11 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.002267/0.08851, allocations: 1.241 MB / 472.9 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00073/0.08925, allocations: 0.4899 MB / 473.4 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002927/0.08955, allocations: 172.2 kB / 473.6 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002994/0.08986, allocations: 199.3 kB / 473.8 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004304/0.0903, allocations: 278.8 kB / 474 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.304e-05/0.09041, allocations: 36 kB / 474.1 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005441/0.09096, allocations: 279.7 kB / 474.4 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.09107, allocations: 103.6 kB / 474.5 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002433/0.09132, allocations: 242.8 kB / 474.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008264/0.09216, allocations: 0.6543 MB / 475.3 MB, free: 9.434 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.09217, allocations: 0 / 475.3 MB, free: 9.434 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.09218, allocations: 0 / 475.3 MB, free: 9.434 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.298e-05/0.0922, allocations: 0 / 475.3 MB, free: 9.434 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.005089/0.09729, allocations: 1.373 MB / 476.7 MB, free: 8.004 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.09734, allocations: 11.89 kB / 476.7 MB, free: 7.992 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001341/0.09748, allocations: 52.38 kB / 476.8 MB, free: 7.941 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004246/0.09791, allocations: 351.4 kB / 477.1 MB, free: 7.559 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.757e-05/0.09798, allocations: 63.27 kB / 477.2 MB, free: 7.492 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.033e-05/0.09806, allocations: 36.38 kB / 477.2 MB, free: 7.457 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009235/0.09899, allocations: 0.5689 MB / 477.8 MB, free: 6.879 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.09902, allocations: 3.938 kB / 477.8 MB, free: 6.875 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.23e-05/0.09908, allocations: 16 kB / 477.8 MB, free: 6.859 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.09909, allocations: 8 kB / 477.8 MB, free: 6.852 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007992/0.0999, allocations: 0.5193 MB / 478.3 MB, free: 6.328 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00283/0.1027, allocations: 2.226 MB / 480.6 MB, free: 3.875 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001203/0.104, allocations: 0.7377 MB / 481.3 MB, free: 3.105 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005052/0.1045, allocations: 362.5 kB / 481.7 MB, free: 2.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.952e-05/0.1046, allocations: 16.55 kB / 481.7 MB, free: 2.734 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007045/0.1053, allocations: 407 kB / 482.1 MB, free: 2.328 MB / 350.1 MB Notification: Performance of pre-optimization done (n=61): time 2.224e-06/0.1053, allocations: 7.938 kB / 482.1 MB, free: 2.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.007364/0.1127, allocations: 2.108 MB / 484.2 MB, free: 188 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.325e-05/0.1127, allocations: 81.67 kB / 484.3 MB, free: 88 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003224/0.1131, allocations: 282.9 kB / 484.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.699e-05/0.1131, allocations: 41.7 kB / 484.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.1133, allocations: 181.4 kB / 484.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001627/0.1134, allocations: 205 kB / 485 MB, free: 15.36 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002186/0.1137, allocations: 130.5 kB / 485.1 MB, free: 15.23 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.1138, allocations: 350.8 kB / 485.4 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005292/0.1143, allocations: 337.8 kB / 485.8 MB, free: 14.55 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005661/0.1149, allocations: 413.9 kB / 486.2 MB, free: 14.13 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001142/0.1161, allocations: 0.7462 MB / 486.9 MB, free: 13.38 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.1161, allocations: 0 / 486.9 MB, free: 13.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.00345/0.1195, allocations: 1.368 MB / 488.3 MB, free: 12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.1196, allocations: 8 kB / 488.3 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.1196, allocations: 0 / 488.3 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003178/0.1228, allocations: 0.6708 MB / 489 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004229/0.1232, allocations: 99.88 kB / 489.1 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007967/0.1312, allocations: 4.323 MB / 493.4 MB, free: 6.766 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004822/0.1317, allocations: 59.36 kB / 493.4 MB, free: 6.707 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.025e-05/0.1318, allocations: 24 kB / 493.5 MB, free: 6.684 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.0002501/0.132, allocations: 173.8 kB / 493.6 MB, free: 6.504 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.449e-05/0.1321, allocations: 39.53 kB / 493.7 MB, free: 6.465 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003696/0.1358, allocations: 1.331 MB / 495 MB, free: 5.121 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.736e-06/0.1358, allocations: 8 kB / 495 MB, free: 5.113 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.1358, allocations: 0 / 495 MB, free: 5.113 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.1359, allocations: 3.984 kB / 495 MB, free: 5.109 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004346/0.1402, allocations: 2.04 MB / 497 MB, free: 3.008 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.1402, allocations: 0 / 497 MB, free: 3.008 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002755/0.1405, allocations: 75.91 kB / 497.1 MB, free: 2.934 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003039/0.1436, allocations: 0.6771 MB / 497.8 MB, free: 2.254 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.642e-05/0.1436, allocations: 12 kB / 497.8 MB, free: 2.242 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007241/0.1509, allocations: 4.286 MB / 0.4903 GB, free: 13.81 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.1509, allocations: 0 / 0.4903 GB, free: 13.81 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003365/0.1543, allocations: 1.332 MB / 0.4916 GB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001186/0.1544, allocations: 124.4 kB / 0.4917 GB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.106e-05/0.1545, allocations: 20 kB / 0.4918 GB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000408/0.1549, allocations: 23.98 kB / 0.4918 GB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001719/0.1551, allocations: 56.42 kB / 0.4918 GB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.084e-05/0.1552, allocations: 23.94 kB / 0.4919 GB, free: 12.2 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002451/0.1554, allocations: 201.9 kB / 0.4921 GB, free: 12 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1554, allocations: 0 / 0.4921 GB, free: 12 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006811/0.1561, allocations: 207.8 kB / 0.4923 GB, free: 11.8 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.0002076/0.1563, allocations: 131.2 kB / 0.4924 GB, free: 11.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002577/0.1589, allocations: 1.147 MB / 0.4935 GB, free: 10.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.1589, allocations: 0 / 0.4935 GB, free: 10.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001687/0.1606, allocations: 0.7476 MB / 0.4942 GB, free: 9.742 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000411/0.161, allocations: 44.09 kB / 0.4943 GB, free: 9.703 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001564/0.1626, allocations: 0.929 MB / 0.4952 GB, free: 8.742 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003832/0.163, allocations: 0.8298 MB / 0.496 GB, free: 7.891 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001404/0.1632, allocations: 47.42 kB / 0.496 GB, free: 7.844 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1632, allocations: 0 / 0.496 GB, free: 7.844 MB / 382.1 MB Notification: Performance of Templates: time 0.1778/0.341, allocations: 8.771 MB / 0.5046 GB, free: 45.57 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)