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.001464/0.001464, allocations: 107.1 kB / 16.45 MB, free: 6.035 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.001335/0.001335, allocations: 184.8 kB / 17.38 MB, free: 5.562 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.324/1.324, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04788/0.04788, allocations: 8.104 MB / 299.3 MB, free: 6.641 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001125/0.001125, allocations: 64.02 kB / 414.5 MB, free: 21.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09012/0.09125, allocations: 51.52 MB / 466 MB, free: 2.172 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.Islanding2): time 0.005224/0.09652, allocations: 4.127 MB / 470.1 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002026/0.09858, allocations: 1.066 MB / 471.2 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001569/0.09875, allocations: 8 kB / 471.2 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004768/0.09923, allocations: 194.8 kB / 471.4 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007024/0.09998, allocations: 314 kB / 471.7 MB, free: 12.45 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.002671/0.1027, allocations: 1.264 MB / 473 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009895/0.1037, allocations: 0.6104 MB / 473.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004312/0.1041, allocations: 225.4 kB / 473.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002976/0.1044, allocations: 259 kB / 474 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004764/0.1049, allocations: 338.6 kB / 474.4 MB, free: 9.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001059/0.105, allocations: 52 kB / 474.4 MB, free: 9.699 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005878/0.1056, allocations: 291.7 kB / 474.7 MB, free: 9.414 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001141/0.1057, allocations: 127.4 kB / 474.8 MB, free: 9.289 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003072/0.106, allocations: 298.5 kB / 475.1 MB, free: 8.996 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008857/0.1069, allocations: 0.7861 MB / 475.9 MB, free: 8.207 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.107, allocations: 4 kB / 475.9 MB, free: 8.203 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.107, allocations: 0 / 475.9 MB, free: 8.203 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.675e-06/0.107, allocations: 0 / 475.9 MB, free: 8.203 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.005673/0.1127, allocations: 1.645 MB / 477.6 MB, free: 6.504 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.1127, allocations: 12.03 kB / 477.6 MB, free: 6.492 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001517/0.1129, allocations: 68.52 kB / 477.6 MB, free: 6.426 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000512/0.1134, allocations: 403.9 kB / 478 MB, free: 5.992 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.753e-05/0.1135, allocations: 67.45 kB / 478.1 MB, free: 5.922 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.667e-05/0.1136, allocations: 52.31 kB / 478.1 MB, free: 5.871 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001017/0.1146, allocations: 0.6973 MB / 478.8 MB, free: 5.164 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.1146, allocations: 0 / 478.8 MB, free: 5.164 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.57e-05/0.1147, allocations: 27.98 kB / 478.9 MB, free: 5.137 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.459e-05/0.1147, allocations: 8 kB / 478.9 MB, free: 5.129 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000925/0.1156, allocations: 0.6404 MB / 479.5 MB, free: 4.484 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003127/0.1188, allocations: 2.701 MB / 482.2 MB, free: 1.516 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001348/0.1201, allocations: 1.054 MB / 483.3 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005773/0.1207, allocations: 454.7 kB / 483.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.135e-05/0.1208, allocations: 16.64 kB / 483.7 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007646/0.1216, allocations: 0.5002 MB / 484.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of pre-optimization done (n=75): time 1.743e-06/0.1216, allocations: 0 / 484.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.008253/0.1298, allocations: 2.642 MB / 486.9 MB, free: 12.75 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.434e-05/0.1299, allocations: 85.7 kB / 487 MB, free: 12.65 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004131/0.1304, allocations: 337.6 kB / 487.3 MB, free: 12.31 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.624e-05/0.1304, allocations: 41.7 kB / 487.3 MB, free: 12.27 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001577/0.1306, allocations: 209.5 kB / 487.5 MB, free: 12.05 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002084/0.1308, allocations: 265.7 kB / 487.8 MB, free: 11.79 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002841/0.1311, allocations: 150.6 kB / 487.9 MB, free: 11.64 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.1313, allocations: 366.7 kB / 488.3 MB, free: 11.27 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006698/0.132, allocations: 417.9 kB / 488.7 MB, free: 10.86 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006827/0.1327, allocations: 486.3 kB / 489.2 MB, free: 10.38 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001351/0.134, allocations: 0.9405 MB / 490.1 MB, free: 9.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.134, allocations: 0 / 490.1 MB, free: 9.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.00423/0.1383, allocations: 1.728 MB / 491.9 MB, free: 7.695 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.1383, allocations: 4 kB / 491.9 MB, free: 7.691 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.1383, allocations: 0 / 491.9 MB, free: 7.691 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004056/0.1424, allocations: 1.08 MB / 492.9 MB, free: 6.609 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004799/0.1429, allocations: 123.8 kB / 493.1 MB, free: 6.488 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009033/0.1519, allocations: 5.332 MB / 498.4 MB, free: 1.027 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005592/0.1525, allocations: 79.45 kB / 498.5 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.771e-05/0.1526, allocations: 31.98 kB / 498.5 MB, free: 0.918 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.0002951/0.1529, allocations: 197.7 kB / 498.7 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/0.153, allocations: 55.61 kB / 498.7 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004295/0.1573, allocations: 1.702 MB / 0.4887 GB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.1574, allocations: 12 kB / 0.4887 GB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.1574, allocations: 3.938 kB / 0.4887 GB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.447e-06/0.1574, allocations: 3.984 kB / 0.4887 GB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005279/0.1627, allocations: 2.536 MB / 0.4912 GB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.1627, allocations: 0 / 0.4912 GB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003175/0.163, allocations: 95.83 kB / 0.4913 GB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003817/0.1669, allocations: 0.9607 MB / 0.4922 GB, free: 11.26 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.689e-05/0.167, allocations: 20 kB / 0.4923 GB, free: 11.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009137/0.1761, allocations: 5.252 MB / 0.4974 GB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1761, allocations: 7.938 kB / 0.4974 GB, free: 5.84 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004032/0.1802, allocations: 1.685 MB / 0.499 GB, free: 4.137 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001437/0.1803, allocations: 136.5 kB / 0.4992 GB, free: 3.984 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.591e-05/0.1804, allocations: 19.94 kB / 0.4992 GB, free: 3.965 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004653/0.1809, allocations: 39.97 kB / 0.4992 GB, free: 3.926 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001818/0.1811, allocations: 64.91 kB / 0.4993 GB, free: 3.863 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.143e-05/0.1811, allocations: 24 kB / 0.4993 GB, free: 3.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002566/0.1814, allocations: 235.2 kB / 0.4995 GB, free: 3.609 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1814, allocations: 0 / 0.4995 GB, free: 3.609 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007534/0.1822, allocations: 259.9 kB / 0.4998 GB, free: 3.355 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.0002255/0.1824, allocations: 135.1 kB / 0.4999 GB, free: 3.215 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003186/0.1856, allocations: 1.495 MB / 0.5014 GB, free: 1.711 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.1856, allocations: 4 kB / 0.5014 GB, free: 1.707 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002223/0.1879, allocations: 0.9961 MB / 0.5024 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004714/0.1883, allocations: 64.48 kB / 0.5024 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2029/0.3912, allocations: 1.098 MB / 0.5035 GB, free: 45.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000397/0.3917, allocations: 0.8676 MB / 0.5043 GB, free: 44.89 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003337/0.392, allocations: 78.14 kB / 0.5044 GB, free: 44.88 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001431/0.3922, allocations: 51.28 kB / 0.5045 GB, free: 44.88 MB / 382.1 MB Notification: Performance of SimCode: time 6.22e-07/0.3922, allocations: 4.094 kB / 0.5045 GB, free: 44.88 MB / 382.1 MB Notification: Performance of Templates: time 0.02406/0.4162, allocations: 15.98 MB / 0.5201 GB, free: 40.43 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)