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.001095/0.001095, allocations: 105.9 kB / 16.5 MB, free: 6.688 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.001069/0.001069, allocations: 193.9 kB / 17.42 MB, free: 6.09 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.467/1.467, allocations: 222.9 MB / 241.1 MB, free: 13.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1751/0.1751, allocations: 38.03 MB / 329.3 MB, free: 8.809 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 61.81 kB / 398.1 MB, free: 34.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1157, allocations: 58.06 MB / 456.1 MB, free: 8.512 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Frequency): time 0.007973/0.1237, allocations: 6.906 MB / 463.1 MB, free: 1.566 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002881/0.1266, allocations: 1.543 MB / 464.6 MB, free: 20 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005565/0.1272, allocations: 51.73 kB / 464.6 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002775/0.1275, allocations: 63.42 kB / 464.7 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000789/0.1283, allocations: 270.7 kB / 465 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003283/0.1287, allocations: 131.8 kB / 465.1 MB, free: 15.51 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008986/0.1296, allocations: 0.9503 MB / 466.1 MB, free: 14.56 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002715/0.1299, allocations: 144.2 kB / 466.2 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003796/0.1302, allocations: 266.6 kB / 466.5 MB, free: 14.15 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005137/0.1308, allocations: 350.7 kB / 466.8 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.798e-05/0.1308, allocations: 20 kB / 466.8 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.746e-05/0.1309, allocations: 24 kB / 466.8 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001598/0.1311, allocations: 151.5 kB / 467 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002218/0.1313, allocations: 222.8 kB / 467.2 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004207/0.1317, allocations: 474.2 kB / 467.7 MB, free: 12.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.1318, allocations: 0 / 467.7 MB, free: 12.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.1318, allocations: 0 / 467.7 MB, free: 12.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.1318, allocations: 0 / 467.7 MB, free: 12.93 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.001341/0.1331, allocations: 0.8007 MB / 468.5 MB, free: 12.08 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.1332, allocations: 8.031 kB / 468.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001084/0.1333, allocations: 48.38 kB / 468.5 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006471/0.1339, allocations: 436.1 kB / 468.9 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.881e-05/0.134, allocations: 32.94 kB / 469 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.364e-05/0.1341, allocations: 36 kB / 469 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006969/0.1348, allocations: 455.6 kB / 469.5 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/0.1348, allocations: 8 kB / 469.5 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.546e-05/0.1348, allocations: 16 kB / 469.5 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.292e-05/0.1348, allocations: 8 kB / 469.5 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004934/0.1353, allocations: 312.6 kB / 469.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001869/0.1372, allocations: 1.763 MB / 471.6 MB, free: 8.801 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002219/0.1375, allocations: 143.6 kB / 471.7 MB, free: 8.633 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.78e-05/0.1376, allocations: 66.59 kB / 471.8 MB, free: 8.559 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.1376, allocations: 0 / 471.8 MB, free: 8.559 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.1376, allocations: 34.56 kB / 471.8 MB, free: 8.516 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.362e-06/0.1376, allocations: 4 kB / 471.8 MB, free: 8.512 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.0009622/0.1386, allocations: 0.6002 MB / 472.4 MB, free: 7.855 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.108e-05/0.1387, allocations: 106.8 kB / 472.5 MB, free: 7.727 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003859/0.1391, allocations: 369.5 kB / 472.9 MB, free: 7.355 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.1391, allocations: 33.83 kB / 472.9 MB, free: 7.316 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001802/0.1393, allocations: 283.3 kB / 473.2 MB, free: 7.035 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.301e-05/0.1393, allocations: 55.2 kB / 473.2 MB, free: 6.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.908e-05/0.1394, allocations: 57.7 kB / 473.3 MB, free: 6.918 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.1396, allocations: 346.8 kB / 473.6 MB, free: 6.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.317e-05/0.1397, allocations: 55.91 kB / 473.7 MB, free: 6.516 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001776/0.1398, allocations: 195 kB / 473.9 MB, free: 6.258 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002923/0.1401, allocations: 266.6 kB / 474.1 MB, free: 5.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.1402, allocations: 4 kB / 474.1 MB, free: 5.926 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003992/0.1406, allocations: 288.7 kB / 474.4 MB, free: 5.637 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.1406, allocations: 8 kB / 474.4 MB, free: 5.629 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.1406, allocations: 8 kB / 474.4 MB, free: 5.621 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.1406, allocations: 11.94 kB / 474.4 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00025/0.1409, allocations: 68.47 kB / 474.5 MB, free: 5.543 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.495e-05/0.1409, allocations: 11.98 kB / 474.5 MB, free: 5.531 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001589/0.1411, allocations: 15.91 kB / 474.5 MB, free: 5.516 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.012e-05/0.1411, allocations: 20 kB / 474.6 MB, free: 5.496 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.0001804/0.1413, allocations: 185.6 kB / 474.7 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.025e-05/0.1414, allocations: 39.52 kB / 474.8 MB, free: 5.266 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002865/0.1417, allocations: 168.7 kB / 474.9 MB, free: 5.094 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.705e-06/0.1417, allocations: 4 kB / 474.9 MB, free: 5.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.1417, allocations: 0 / 474.9 MB, free: 5.09 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.1417, allocations: 7.984 kB / 475 MB, free: 5.082 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006682/0.1424, allocations: 0.5226 MB / 475.5 MB, free: 4.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1424, allocations: 3.938 kB / 475.5 MB, free: 4.496 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001859/0.1426, allocations: 35.92 kB / 475.5 MB, free: 4.461 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.189e-06/0.1426, allocations: 4 kB / 475.5 MB, free: 4.457 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.1426, allocations: 4 kB / 475.5 MB, free: 4.453 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.1426, allocations: 4 kB / 475.5 MB, free: 4.449 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.1426, allocations: 4.328 kB / 475.5 MB, free: 4.445 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004384/0.1431, allocations: 395.9 kB / 475.9 MB, free: 4.035 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.432e-05/0.1432, allocations: 116.6 kB / 476 MB, free: 3.902 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.47e-05/0.1432, allocations: 0 / 476 MB, free: 3.902 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001663/0.1434, allocations: 11.94 kB / 476 MB, free: 3.891 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.2e-05/0.1434, allocations: 12.03 kB / 476.1 MB, free: 3.879 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.1435, allocations: 8 kB / 476.1 MB, free: 3.871 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002605/0.1437, allocations: 251.2 kB / 476.3 MB, free: 3.625 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1437, allocations: 4 kB / 476.3 MB, free: 3.621 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004061/0.1441, allocations: 72 kB / 476.4 MB, free: 3.551 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.0001232/0.1443, allocations: 107.1 kB / 476.5 MB, free: 3.438 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002785/0.1446, allocations: 162.3 kB / 476.6 MB, free: 3.281 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1446, allocations: 0 / 476.6 MB, free: 3.281 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.759e-05/0.1447, allocations: 52.02 kB / 476.7 MB, free: 3.23 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006928/0.1454, allocations: 98.38 kB / 476.8 MB, free: 3.137 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001529/0.1469, allocations: 1.037 MB / 477.8 MB, free: 2.055 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000392/0.1473, allocations: 0.835 MB / 478.7 MB, free: 1.195 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001629/0.1475, allocations: 47.25 kB / 478.7 MB, free: 1.152 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.096e-05/0.1476, allocations: 35.44 kB / 478.7 MB, free: 1.117 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1476, allocations: 0 / 478.7 MB, free: 1.117 MB / 350.1 MB Notification: Performance of Templates: time 0.006915/0.1545, allocations: 3.064 MB / 481.8 MB, free: 14.09 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)