Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.Frequency.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/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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(PowerSystems.Examples.Introductory.Frequency,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Frequency") translateModel(PowerSystems.Examples.Introductory.Frequency,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Frequency") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001627/0.001627, allocations: 117.5 kB / 16.63 MB, free: 6.332 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.001914/0.001914, allocations: 191.1 kB / 17.55 MB, free: 5.801 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.435/1.435, allocations: 222.9 MB / 241.2 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2468/0.2468, allocations: 38.02 MB / 329.4 MB, free: 8.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 70.25 kB / 398.3 MB, free: 34.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1126, allocations: 58.05 MB / 456.3 MB, free: 8.406 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Frequency): time 0.008019/0.1207, allocations: 6.91 MB / 463.2 MB, free: 1.457 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00263/0.1234, allocations: 1.539 MB / 464.8 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000368/0.1238, allocations: 47.69 kB / 464.8 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002543/0.124, allocations: 59.53 kB / 464.9 MB, free: 15.81 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006901/0.1248, allocations: 270.7 kB / 465.1 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002773/0.125, allocations: 119.9 kB / 465.3 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006554/0.1257, allocations: 0.7084 MB / 466 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002869/0.126, allocations: 180.7 kB / 466.1 MB, free: 14.53 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003722/0.1264, allocations: 306.6 kB / 466.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004657/0.1269, allocations: 338.8 kB / 466.8 MB, free: 13.9 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.407e-05/0.1269, allocations: 32 kB / 466.8 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.133e-05/0.127, allocations: 40 kB / 466.8 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001482/0.1272, allocations: 159.5 kB / 467 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002277/0.1274, allocations: 242.7 kB / 467.2 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000458/0.1279, allocations: 482.2 kB / 467.7 MB, free: 12.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1279, allocations: 0 / 467.7 MB, free: 12.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1279, allocations: 0 / 467.7 MB, free: 12.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.277e-05/0.1279, allocations: 0 / 467.7 MB, free: 12.96 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001294/0.1292, allocations: 0.7968 MB / 468.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.1293, allocations: 11.89 kB / 468.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.782e-05/0.1294, allocations: 52.38 kB / 468.6 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005834/0.13, allocations: 436.1 kB / 469 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.496e-05/0.13, allocations: 33 kB / 469 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.412e-05/0.1301, allocations: 36 kB / 469.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006708/0.1307, allocations: 459.6 kB / 469.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.1308, allocations: 3.938 kB / 469.5 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.398e-05/0.1308, allocations: 12 kB / 469.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.808e-06/0.1308, allocations: 12 kB / 469.5 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004685/0.1313, allocations: 308.7 kB / 469.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001953/0.1333, allocations: 1.775 MB / 471.6 MB, free: 8.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002303/0.1335, allocations: 147.6 kB / 471.8 MB, free: 8.648 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.407e-05/0.1336, allocations: 54.67 kB / 471.8 MB, free: 8.586 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/0.1336, allocations: 4.141 kB / 471.8 MB, free: 8.582 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.782e-05/0.1337, allocations: 42.5 kB / 471.9 MB, free: 8.531 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.453e-06/0.1337, allocations: 4 kB / 471.9 MB, free: 8.527 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.0009875/0.1347, allocations: 0.5923 MB / 472.5 MB, free: 7.879 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.224e-05/0.1347, allocations: 102.8 kB / 472.6 MB, free: 7.754 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003668/0.1351, allocations: 373.5 kB / 472.9 MB, free: 7.379 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.1352, allocations: 29.7 kB / 472.9 MB, free: 7.344 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001921/0.1353, allocations: 291.4 kB / 473.2 MB, free: 7.051 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.429e-05/0.1354, allocations: 59.19 kB / 473.3 MB, free: 6.992 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.862e-05/0.1355, allocations: 57.7 kB / 473.3 MB, free: 6.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.1356, allocations: 346.8 kB / 473.7 MB, free: 6.582 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.872e-05/0.1357, allocations: 47.97 kB / 473.7 MB, free: 6.535 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001734/0.1359, allocations: 194.5 kB / 473.9 MB, free: 6.277 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003253/0.1362, allocations: 274.6 kB / 474.2 MB, free: 5.941 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1362, allocations: 0 / 474.2 MB, free: 5.941 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004048/0.1367, allocations: 292.8 kB / 474.5 MB, free: 5.648 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.1367, allocations: 8 kB / 474.5 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.535e-06/0.1367, allocations: 4 kB / 474.5 MB, free: 5.637 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.176e-05/0.1367, allocations: 8 kB / 474.5 MB, free: 5.629 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002578/0.137, allocations: 67.91 kB / 474.6 MB, free: 5.562 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/0.137, allocations: 11.94 kB / 474.6 MB, free: 5.551 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001678/0.1372, allocations: 16.38 kB / 474.6 MB, free: 5.535 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.994e-05/0.1372, allocations: 16 kB / 474.6 MB, free: 5.52 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001749/0.1374, allocations: 181.6 kB / 474.8 MB, free: 5.332 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.109e-05/0.1375, allocations: 35.53 kB / 474.8 MB, free: 5.297 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002749/0.1377, allocations: 176.7 kB / 475 MB, free: 5.117 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.1378, allocations: 4 kB / 475 MB, free: 5.113 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.1378, allocations: 448 / 475 MB, free: 5.113 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.1378, allocations: 4 kB / 475 MB, free: 5.109 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006297/0.1384, allocations: 0.5226 MB / 475.5 MB, free: 4.527 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.1384, allocations: 8 kB / 475.5 MB, free: 4.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001864/0.1386, allocations: 39.92 kB / 475.6 MB, free: 4.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.1386, allocations: 3.984 kB / 475.6 MB, free: 4.477 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.1387, allocations: 4 kB / 475.6 MB, free: 4.473 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.1387, allocations: 3.938 kB / 475.6 MB, free: 4.469 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.1387, allocations: 3.938 kB / 475.6 MB, free: 4.465 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004054/0.1391, allocations: 406.3 kB / 476 MB, free: 4.047 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.422e-05/0.1392, allocations: 108.6 kB / 476.1 MB, free: 3.922 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.762e-05/0.1392, allocations: 11.98 kB / 476.1 MB, free: 3.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001685/0.1394, allocations: 3.938 kB / 476.1 MB, free: 3.906 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.303e-05/0.1394, allocations: 15.92 kB / 476.1 MB, free: 3.891 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.1395, allocations: 8 kB / 476.1 MB, free: 3.883 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000239/0.1397, allocations: 259.2 kB / 476.4 MB, free: 3.633 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1397, allocations: 0 / 476.4 MB, free: 3.633 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004156/0.1401, allocations: 68 kB / 476.4 MB, free: 3.566 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind1.i,voltage2.theta,ind2.i) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001028/0.1402, allocations: 103.2 kB / 476.5 MB, free: 3.457 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002772/0.1405, allocations: 161.2 kB / 476.7 MB, free: 3.301 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1405, allocations: 0 / 476.7 MB, free: 3.301 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.1406, allocations: 64.09 kB / 476.8 MB, free: 3.238 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006718/0.1413, allocations: 99.08 kB / 476.9 MB, free: 3.145 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/0.1428, allocations: 1.032 MB / 477.9 MB, free: 2.07 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004143/0.1432, allocations: 0.8387 MB / 478.7 MB, free: 1.207 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001767/0.1434, allocations: 55.23 kB / 478.8 MB, free: 1.156 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.194e-05/0.1435, allocations: 27.44 kB / 478.8 MB, free: 1.129 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1435, allocations: 4 kB / 478.8 MB, free: 1.125 MB / 350.1 MB Notification: Performance of Templates: time 0.006924/0.1504, allocations: 3.21 MB / 482 MB, free: 13.95 MB / 366.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.Frequency.makefile (rm -f PowerSystems_PowerSystems.Examples.Introductory.Frequency.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.Frequency.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.Frequency.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.Frequency.sim & ./PowerSystems_PowerSystems.Examples.Introductory.Frequency -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.Frequency.pipe 2>&1)