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.001285/0.001285, allocations: 109.4 kB / 16.45 MB, free: 6.445 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.00135/0.00135, allocations: 190 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.428/1.428, 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.05396/0.05396, allocations: 8.093 MB / 299.3 MB, free: 6.637 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 63.91 kB / 414.5 MB, free: 21.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1156, allocations: 51.51 MB / 466 MB, free: 2.164 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.Islanding1): time 0.005611/0.1213, allocations: 3.613 MB / 469.6 MB, free: 14.53 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001849/0.1232, allocations: 0.9728 MB / 470.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001633/0.1234, allocations: 8 kB / 470.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004576/0.1238, allocations: 175 kB / 470.8 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005934/0.1244, 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.002929/0.1274, allocations: 1.229 MB / 472.2 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001148/0.1285, allocations: 0.4899 MB / 472.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000377/0.1289, allocations: 176.2 kB / 472.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002828/0.1292, allocations: 207.2 kB / 473.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004627/0.1297, allocations: 274.9 kB / 473.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.538e-05/0.1298, allocations: 40 kB / 473.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00078/0.1306, allocations: 271.8 kB / 473.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001223/0.1307, allocations: 99.61 kB / 473.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002801/0.131, allocations: 242.7 kB / 474 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00112/0.1321, allocations: 0.6621 MB / 474.7 MB, free: 9.461 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1322, allocations: 0 / 474.7 MB, free: 9.461 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.1322, allocations: 0 / 474.7 MB, free: 9.461 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.867e-06/0.1322, allocations: 0 / 474.7 MB, free: 9.461 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.006675/0.1389, allocations: 1.369 MB / 476 MB, free: 8.035 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.372e-05/0.1389, allocations: 8.031 kB / 476 MB, free: 8.027 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001687/0.1391, allocations: 56.38 kB / 476.1 MB, free: 7.973 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005855/0.1397, allocations: 343.4 kB / 476.4 MB, free: 7.598 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.888e-05/0.1398, allocations: 63.27 kB / 476.5 MB, free: 7.531 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.791e-05/0.1399, allocations: 40.38 kB / 476.5 MB, free: 7.492 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001229/0.1412, allocations: 0.5728 MB / 477.1 MB, free: 6.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/0.1412, allocations: 3.938 kB / 477.1 MB, free: 6.906 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.548e-05/0.1413, allocations: 16 kB / 477.1 MB, free: 6.891 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/0.1413, allocations: 8 kB / 477.1 MB, free: 6.883 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001125/0.1424, allocations: 0.5193 MB / 477.6 MB, free: 6.359 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003955/0.1464, allocations: 2.234 MB / 479.9 MB, free: 3.898 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001575/0.148, allocations: 0.7377 MB / 480.6 MB, free: 3.129 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006868/0.1487, allocations: 354.5 kB / 481 MB, free: 2.781 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001034/0.1488, allocations: 20.47 kB / 481 MB, free: 2.762 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009609/0.1498, allocations: 415 kB / 481.4 MB, free: 2.348 MB / 350.1 MB Notification: Performance of pre-optimization done (n=61): time 3.266e-06/0.1498, allocations: 0 / 481.4 MB, free: 2.348 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.008837/0.1587, allocations: 2.1 MB / 483.5 MB, free: 224 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.133e-05/0.1588, allocations: 89.61 kB / 483.6 MB, free: 116 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004607/0.1592, allocations: 286.8 kB / 483.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001024/0.1594, allocations: 41.7 kB / 483.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001668/0.1595, allocations: 181.4 kB / 484.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000212/0.1598, allocations: 205 kB / 484.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000266/0.16, allocations: 126.6 kB / 484.4 MB, free: 15.26 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.1602, allocations: 350.8 kB / 484.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005667/0.1608, allocations: 333.9 kB / 485.1 MB, free: 14.58 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005835/0.1614, allocations: 410 kB / 485.5 MB, free: 14.17 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00131/0.1627, allocations: 0.7578 MB / 486.2 MB, free: 13.4 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.1627, allocations: 0 / 486.2 MB, free: 13.4 MB / 366.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.003407/0.1661, allocations: 1.36 MB / 487.6 MB, free: 12.03 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.492e-05/0.1662, allocations: 4 kB / 487.6 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.1662, allocations: 0 / 487.6 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003229/0.1694, allocations: 0.6787 MB / 488.3 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004646/0.1699, allocations: 103.8 kB / 488.4 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008303/0.1782, allocations: 4.33 MB / 492.7 MB, free: 6.785 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006251/0.1789, allocations: 55.38 kB / 492.8 MB, free: 6.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.169e-05/0.179, 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.0003344/0.1793, allocations: 173.7 kB / 493 MB, free: 6.523 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/0.1795, allocations: 39.53 kB / 493 MB, free: 6.484 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003525/0.183, allocations: 1.339 MB / 494.3 MB, free: 5.133 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.846e-06/0.183, allocations: 4 kB / 494.3 MB, free: 5.129 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.183, allocations: 0 / 494.3 MB, free: 5.129 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/0.183, allocations: 7.984 kB / 494.3 MB, free: 5.121 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004472/0.1875, allocations: 2.033 MB / 496.4 MB, free: 3.027 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.237e-05/0.1876, allocations: 4 kB / 496.4 MB, free: 3.023 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003289/0.1879, allocations: 75.89 kB / 496.5 MB, free: 2.949 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003056/0.191, allocations: 0.6698 MB / 497.1 MB, free: 2.277 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.958e-05/0.191, allocations: 19.98 kB / 497.1 MB, free: 2.258 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007153/0.1982, allocations: 4.281 MB / 0.4897 GB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.1982, allocations: 0 / 0.4897 GB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003442/0.2017, allocations: 1.328 MB / 0.491 GB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001454/0.2019, allocations: 132.4 kB / 0.4911 GB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.495e-05/0.202, allocations: 11.98 kB / 0.4911 GB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004172/0.2024, allocations: 27.98 kB / 0.4911 GB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002274/0.2026, allocations: 60.41 kB / 0.4912 GB, free: 12.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.78e-05/0.2027, allocations: 20 kB / 0.4912 GB, free: 12.22 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002161/0.2029, allocations: 194 kB / 0.4914 GB, free: 12.03 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2029, allocations: 0 / 0.4914 GB, free: 12.03 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007452/0.2037, allocations: 207.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.0002387/0.2039, allocations: 134.4 kB / 0.4917 GB, free: 11.69 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002798/0.2067, allocations: 1.155 MB / 0.4928 GB, free: 10.52 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.934e-06/0.2067, allocations: 4 kB / 0.4929 GB, free: 10.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001741/0.2085, allocations: 0.7397 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.0004348/0.2089, allocations: 51.64 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.001614/0.2106, allocations: 0.8921 MB / 0.4945 GB, free: 8.801 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003908/0.211, allocations: 0.8298 MB / 0.4953 GB, free: 7.949 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002073/0.2112, allocations: 59.22 kB / 0.4954 GB, free: 7.891 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.2113, allocations: 43.42 kB / 0.4954 GB, free: 7.848 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2113, allocations: 0 / 0.4954 GB, free: 7.848 MB / 382.1 MB Notification: Performance of Templates: time 0.251/0.4623, allocations: 13.31 MB / 0.5084 GB, free: 45.71 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)