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/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.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.001148/0.001148, allocations: 109.7 kB / 16.45 MB, free: 6.426 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.001169/0.001169, allocations: 189 kB / 17.38 MB, free: 5.691 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.408/1.408, 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.05835/0.05835, allocations: 8.108 MB / 299.3 MB, free: 6.629 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001239, allocations: 59.91 kB / 414.5 MB, free: 21.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09159/0.09284, allocations: 51.52 MB / 466 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.Islanding1): time 0.004661/0.09755, allocations: 3.609 MB / 469.6 MB, free: 14.53 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001865/0.09944, allocations: 0.9689 MB / 470.6 MB, free: 13.56 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003108/0.09977, allocations: 8 kB / 470.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005334/0.1003, allocations: 183 kB / 470.8 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007144/0.1011, allocations: 246.4 kB / 471 MB, free: 13.13 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.002205/0.1033, allocations: 1.229 MB / 472.2 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000729/0.104, allocations: 0.4938 MB / 472.7 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002805/0.1043, allocations: 172.2 kB / 472.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002622/0.1046, allocations: 207.2 kB / 473.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003606/0.105, allocations: 270.9 kB / 473.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.676e-05/0.105, allocations: 40 kB / 473.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004652/0.1055, allocations: 271.8 kB / 473.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.228e-05/0.1056, allocations: 103.6 kB / 473.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000196/0.1058, allocations: 246.7 kB / 474 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006586/0.1065, allocations: 0.6504 MB / 474.7 MB, free: 9.465 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1065, allocations: 0 / 474.7 MB, free: 9.465 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1065, allocations: 4 kB / 474.7 MB, free: 9.461 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.171e-06/0.1065, allocations: 4 kB / 474.7 MB, free: 9.457 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.004356/0.1109, allocations: 1.365 MB / 476 MB, free: 8.035 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.1109, allocations: 16.02 kB / 476 MB, free: 8.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001171/0.111, allocations: 52.38 kB / 476.1 MB, free: 7.969 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004007/0.1115, allocations: 351.4 kB / 476.4 MB, free: 7.586 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.034e-05/0.1115, allocations: 63.2 kB / 476.5 MB, free: 7.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.362e-05/0.1116, allocations: 40.38 kB / 476.5 MB, free: 7.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008161/0.1124, allocations: 0.5651 MB / 477.1 MB, free: 6.906 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.1124, allocations: 3.938 kB / 477.1 MB, free: 6.902 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.339e-05/0.1125, allocations: 12 kB / 477.1 MB, free: 6.891 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.1125, allocations: 12 kB / 477.1 MB, free: 6.879 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007584/0.1133, allocations: 0.5193 MB / 477.7 MB, free: 6.355 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002571/0.1158, allocations: 2.223 MB / 479.9 MB, free: 3.906 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001143/0.117, allocations: 0.7416 MB / 480.6 MB, free: 3.133 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004811/0.1175, allocations: 354.4 kB / 481 MB, free: 2.785 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.219e-05/0.1176, allocations: 16.55 kB / 481 MB, free: 2.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006521/0.1183, allocations: 419 kB / 481.4 MB, free: 2.352 MB / 350.1 MB Notification: Performance of pre-optimization done (n=61): time 2.444e-06/0.1183, allocations: 0 / 481.4 MB, free: 2.352 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.006849/0.1251, allocations: 2.112 MB / 483.5 MB, free: 216 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.696e-05/0.1252, allocations: 81.67 kB / 483.6 MB, free: 116 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003062/0.1255, allocations: 282.9 kB / 483.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.483e-05/0.1256, allocations: 41.7 kB / 483.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.1257, allocations: 181.4 kB / 484.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001481/0.1258, allocations: 205 kB / 484.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002091/0.1261, allocations: 130.6 kB / 484.4 MB, free: 15.26 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.1262, allocations: 346.8 kB / 484.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005137/0.1267, allocations: 337.9 kB / 485.1 MB, free: 14.58 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005599/0.1273, allocations: 409.9 kB / 485.5 MB, free: 14.17 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001099/0.1284, allocations: 0.7578 MB / 486.2 MB, free: 13.4 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.1284, allocations: 0 / 486.2 MB, free: 13.4 MB / 366.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.003254/0.1317, allocations: 1.356 MB / 487.6 MB, free: 12.03 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.1317, allocations: 4 kB / 487.6 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.1317, allocations: 4 kB / 487.6 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003093/0.1348, allocations: 0.6749 MB / 488.3 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003976/0.1352, allocations: 107.8 kB / 488.4 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00738/0.1426, allocations: 4.326 MB / 492.7 MB, free: 6.789 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005188/0.1431, allocations: 59.36 kB / 492.8 MB, free: 6.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.493e-05/0.1432, allocations: 27.98 kB / 492.8 MB, free: 6.703 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.0002816/0.1435, allocations: 173.7 kB / 493 MB, free: 6.523 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.1436, allocations: 39.53 kB / 493 MB, free: 6.484 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003453/0.1471, allocations: 1.331 MB / 494.3 MB, free: 5.141 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.867e-06/0.1471, allocations: 11.94 kB / 494.3 MB, free: 5.129 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.1471, allocations: 0 / 494.3 MB, free: 5.129 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.1471, allocations: 3.984 kB / 494.3 MB, free: 5.125 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003983/0.1511, allocations: 2.029 MB / 496.4 MB, free: 3.035 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.259e-06/0.1512, allocations: 4 kB / 496.4 MB, free: 3.031 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002702/0.1514, allocations: 83.84 kB / 496.5 MB, free: 2.949 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002886/0.1543, allocations: 0.6743 MB / 497.1 MB, free: 2.273 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.348e-05/0.1544, allocations: 12 kB / 497.1 MB, free: 2.262 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006918/0.1613, allocations: 4.281 MB / 0.4897 GB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.1613, allocations: 0 / 0.4897 GB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003207/0.1645, allocations: 1.336 MB / 0.491 GB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001292/0.1647, allocations: 128.4 kB / 0.4911 GB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.828e-05/0.1648, allocations: 12 kB / 0.4911 GB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000396/0.1652, allocations: 23.98 kB / 0.4911 GB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001451/0.1653, allocations: 60.42 kB / 0.4912 GB, free: 12.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.312e-05/0.1654, allocations: 24 kB / 0.4912 GB, free: 12.22 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001987/0.1656, allocations: 193.9 kB / 0.4914 GB, free: 12.03 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1656, allocations: 0 / 0.4914 GB, free: 12.03 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006868/0.1663, allocations: 211.8 kB / 0.4916 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.0002365/0.1665, allocations: 134.4 kB / 0.4917 GB, free: 11.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002486/0.169, allocations: 1.143 MB / 0.4928 GB, free: 10.53 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.1691, allocations: 0 / 0.4928 GB, free: 10.53 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001611/0.1707, allocations: 0.7514 MB / 0.4936 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.0005013/0.1712, allocations: 48.53 kB / 0.4936 GB, free: 9.719 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001805/0.173, allocations: 0.8954 MB / 0.4945 GB, free: 8.801 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000439/0.1735, allocations: 0.8259 MB / 0.4953 GB, free: 7.953 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002253/0.1737, allocations: 71.2 kB / 0.4954 GB, free: 7.883 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/0.1738, allocations: 43.42 kB / 0.4954 GB, free: 7.84 MB / 382.1 MB Notification: Performance of SimCode: time 9.22e-07/0.1738, allocations: 0 / 0.4954 GB, free: 7.84 MB / 382.1 MB Notification: Performance of Templates: time 0.2445/0.4183, allocations: 12.79 MB / 0.5079 GB, free: 45.8 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)