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.001204/0.001204, allocations: 105 kB / 16.45 MB, free: 6.391 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.001193/0.001194, allocations: 189 kB / 17.38 MB, free: 5.648 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.36/1.36, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04985/0.04985, allocations: 8.098 MB / 299.3 MB, free: 6.617 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 63.91 kB / 414.5 MB, free: 21.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1282, allocations: 51.51 MB / 466 MB, free: 2.266 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.Islanding2): time 0.005931/0.1342, allocations: 4.123 MB / 470.1 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002487/0.1367, allocations: 1.086 MB / 471.2 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006201/0.1373, allocations: 8 kB / 471.2 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007418/0.1381, allocations: 198.8 kB / 471.4 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001225/0.1394, allocations: 298.1 kB / 471.7 MB, free: 12.54 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.002715/0.1421, allocations: 1.272 MB / 473 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001224/0.1434, allocations: 0.6182 MB / 473.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004378/0.1438, allocations: 217.4 kB / 473.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00051/0.1444, allocations: 259 kB / 474 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006274/0.145, allocations: 338.6 kB / 474.4 MB, free: 9.832 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001752/0.1452, allocations: 52 kB / 474.4 MB, free: 9.781 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008456/0.146, allocations: 291.7 kB / 474.7 MB, free: 9.496 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001851/0.1462, allocations: 123.5 kB / 474.8 MB, free: 9.375 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004235/0.1467, allocations: 298.5 kB / 475.1 MB, free: 9.082 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00148/0.1482, allocations: 0.7867 MB / 475.9 MB, free: 8.293 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/0.1482, allocations: 0 / 475.9 MB, free: 8.293 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.1482, allocations: 0 / 475.9 MB, free: 8.293 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.239e-05/0.1482, allocations: 0 / 475.9 MB, free: 8.293 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.006627/0.1549, allocations: 1.634 MB / 477.5 MB, free: 6.605 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.528e-05/0.1549, allocations: 12.03 kB / 477.6 MB, free: 6.594 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002534/0.1552, allocations: 64.28 kB / 477.6 MB, free: 6.531 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007609/0.156, allocations: 399.7 kB / 478 MB, free: 6.102 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001083/0.1561, allocations: 71.45 kB / 478.1 MB, free: 6.027 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001104/0.1562, allocations: 52.31 kB / 478.1 MB, free: 5.977 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001313/0.1575, allocations: 0.6934 MB / 478.8 MB, free: 5.273 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/0.1576, allocations: 0 / 478.8 MB, free: 5.273 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.146e-05/0.1576, allocations: 24 kB / 478.8 MB, free: 5.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/0.1577, allocations: 8 kB / 478.9 MB, free: 5.242 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001346/0.159, allocations: 0.6403 MB / 479.5 MB, free: 4.598 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00495/0.164, allocations: 2.705 MB / 482.2 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001617/0.1656, allocations: 1.05 MB / 483.3 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007609/0.1664, allocations: 446.7 kB / 483.7 MB, free: 80 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001511/0.1666, allocations: 32.56 kB / 483.7 MB, free: 48 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001048/0.1676, allocations: 0.4924 MB / 484.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of pre-optimization done (n=75): time 4.418e-06/0.1676, allocations: 0 / 484.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.008642/0.1763, allocations: 2.646 MB / 486.9 MB, free: 12.86 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.043e-05/0.1764, allocations: 89.7 kB / 486.9 MB, free: 12.75 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005392/0.1769, allocations: 341.6 kB / 487.3 MB, free: 12.41 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001314/0.1771, allocations: 41.7 kB / 487.3 MB, free: 12.37 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003103/0.1774, allocations: 197.3 kB / 487.5 MB, free: 12.17 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003702/0.1778, allocations: 252.2 kB / 487.8 MB, free: 11.92 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003924/0.1782, allocations: 146.7 kB / 487.9 MB, free: 11.77 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002226/0.1784, allocations: 358.8 kB / 488.3 MB, free: 11.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007713/0.1792, allocations: 417.9 kB / 488.7 MB, free: 11 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000839/0.1801, allocations: 0.4943 MB / 489.2 MB, free: 10.5 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001589/0.1817, allocations: 0.9249 MB / 490.1 MB, free: 9.562 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.865e-06/0.1817, allocations: 0 / 490.1 MB, free: 9.562 MB / 366.1 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.004324/0.186, allocations: 1.724 MB / 491.8 MB, free: 7.832 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.1861, allocations: 4 kB / 491.8 MB, free: 7.828 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.1861, allocations: 4 kB / 491.8 MB, free: 7.824 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004018/0.1901, allocations: 1.073 MB / 492.9 MB, free: 6.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004891/0.1906, allocations: 127.8 kB / 493 MB, free: 6.625 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009414/0.2, allocations: 5.335 MB / 498.3 MB, free: 1.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005604/0.2006, allocations: 71.27 kB / 498.4 MB, free: 1.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.591e-05/0.2007, allocations: 24 kB / 498.4 MB, free: 1.066 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.0003231/0.201, allocations: 189.7 kB / 498.6 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001455/0.2012, allocations: 55.28 kB / 498.7 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004323/0.2055, allocations: 1.718 MB / 0.4887 GB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.669e-06/0.2055, allocations: 8 kB / 0.4887 GB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.2056, allocations: 3.938 kB / 0.4887 GB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.909e-06/0.2056, allocations: 3.984 kB / 0.4887 GB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005113/0.2107, allocations: 2.528 MB / 0.4911 GB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/0.2107, allocations: 0 / 0.4911 GB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003255/0.211, allocations: 99.83 kB / 0.4912 GB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003761/0.2148, allocations: 0.953 MB / 0.4922 GB, free: 11.42 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.443e-05/0.2149, allocations: 23.98 kB / 0.4922 GB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008744/0.2237, allocations: 5.251 MB / 0.4973 GB, free: 6 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.2237, allocations: 0 / 0.4973 GB, free: 6 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004202/0.2279, allocations: 1.681 MB / 0.499 GB, free: 4.301 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001961/0.2281, allocations: 144.2 kB / 0.4991 GB, free: 4.141 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.464e-05/0.2282, allocations: 19.94 kB / 0.4991 GB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000501/0.2287, allocations: 35.98 kB / 0.4992 GB, free: 4.086 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000198/0.2289, allocations: 60.91 kB / 0.4992 GB, free: 4.027 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.943e-05/0.229, allocations: 27.97 kB / 0.4992 GB, free: 4 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003179/0.2293, allocations: 235.2 kB / 0.4995 GB, free: 3.77 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.51e-07/0.2294, allocations: 4 kB / 0.4995 GB, free: 3.766 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001083/0.2305, allocations: 259.8 kB / 0.4997 GB, free: 3.512 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.0003712/0.2308, allocations: 127.2 kB / 0.4998 GB, free: 3.379 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00356/0.2344, allocations: 1.499 MB / 0.5013 GB, free: 1.871 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.2344, allocations: 4 kB / 0.5013 GB, free: 1.867 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002309/0.2367, allocations: 0.9883 MB / 0.5023 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005588/0.2373, allocations: 72.11 kB / 0.5023 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2907/0.528, allocations: 1.083 MB / 0.5034 GB, free: 45.88 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005477/0.5286, allocations: 0.8665 MB / 0.5042 GB, free: 45.17 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003721/0.529, allocations: 81.72 kB / 0.5043 GB, free: 45.17 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001676/0.5291, allocations: 52.36 kB / 0.5044 GB, free: 45.16 MB / 382.1 MB Notification: Performance of SimCode: time 1.242e-06/0.5292, allocations: 0 / 0.5044 GB, free: 45.16 MB / 382.1 MB Notification: Performance of Templates: time 0.02816/0.5573, allocations: 15.98 MB / 0.52 GB, free: 40.71 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)