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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.001353/0.001353, allocations: 107.1 kB / 17.74 MB, free: 5.316 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.001279/0.001279, allocations: 188.2 kB / 18.67 MB, free: 4.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.418/1.418, allocations: 205.1 MB / 224.5 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1833/0.1833, allocations: 37.99 MB / 309.9 MB, free: 5.953 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 68.47 kB / 432.5 MB, free: 15.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1345, allocations: 55.25 MB / 487.8 MB, free: 8.348 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Frequency): time 0.007364/0.1419, allocations: 5.434 MB / 493.2 MB, free: 2.879 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002265/0.1442, allocations: 1.146 MB / 494.3 MB, free: 1.727 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004632/0.1447, allocations: 15.88 kB / 494.4 MB, free: 1.711 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003617/0.1451, allocations: 83.22 kB / 494.4 MB, free: 1.629 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00102/0.1461, allocations: 302.3 kB / 494.7 MB, free: 1.332 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003974/0.1465, allocations: 135.8 kB / 494.9 MB, free: 1.199 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009326/0.1475, allocations: 0.7045 MB / 495.6 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003465/0.1478, allocations: 176.7 kB / 495.8 MB, free: 324 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006397/0.1485, allocations: 310.7 kB / 496.1 MB, free: 12 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007069/0.1492, allocations: 330.9 kB / 496.4 MB, free: 15.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.79e-05/0.1493, allocations: 36 kB / 496.4 MB, free: 15.65 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001491/0.1495, allocations: 32 kB / 496.4 MB, free: 15.62 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001899/0.1497, allocations: 163.5 kB / 496.6 MB, free: 15.46 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003548/0.15, allocations: 242.7 kB / 496.8 MB, free: 15.22 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000636/0.1507, allocations: 494.1 kB / 497.3 MB, free: 14.74 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.1507, allocations: 4 kB / 497.3 MB, free: 14.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.997e-06/0.1507, allocations: 0 / 497.3 MB, free: 14.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.95e-05/0.1507, allocations: 0 / 497.3 MB, free: 14.73 MB / 382.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.001769/0.1525, allocations: 0.7968 MB / 498.1 MB, free: 13.89 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.1526, allocations: 15.84 kB / 498.1 MB, free: 13.87 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001434/0.1527, allocations: 52.28 kB / 498.2 MB, free: 13.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008208/0.1535, allocations: 468.1 kB / 498.6 MB, free: 13.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.984e-05/0.1536, allocations: 25 kB / 498.7 MB, free: 13.29 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.421e-05/0.1537, allocations: 36 kB / 498.7 MB, free: 13.26 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007364/0.1544, allocations: 455.6 kB / 499.2 MB, free: 12.78 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/0.1544, allocations: 4 kB / 499.2 MB, free: 12.78 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.502e-05/0.1545, allocations: 16 kB / 499.2 MB, free: 12.76 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.1545, allocations: 12 kB / 499.2 MB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004865/0.155, allocations: 308.7 kB / 499.5 MB, free: 12.45 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002159/0.1572, allocations: 1.763 MB / 0.4895 GB, free: 10.58 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002315/0.1574, allocations: 143.6 kB / 0.4896 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.98e-05/0.1575, allocations: 58.61 kB / 0.4897 GB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.163e-05/0.1576, allocations: 4 kB / 0.4897 GB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/0.1576, allocations: 34.55 kB / 0.4897 GB, free: 10.3 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.683e-06/0.1576, allocations: 0 / 0.4897 GB, free: 10.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.00114/0.1587, allocations: 0.6003 MB / 0.4903 GB, free: 9.641 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.292e-05/0.1588, allocations: 110.8 kB / 0.4904 GB, free: 9.508 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004075/0.1592, allocations: 373.6 kB / 0.4908 GB, free: 9.137 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.1593, allocations: 25.7 kB / 0.4908 GB, free: 9.105 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000201/0.1595, allocations: 283.3 kB / 0.4911 GB, free: 8.82 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.329e-05/0.1595, allocations: 55.2 kB / 0.4911 GB, free: 8.766 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.864e-05/0.1596, allocations: 65.36 kB / 0.4912 GB, free: 8.695 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.1598, allocations: 354.7 kB / 0.4915 GB, free: 8.34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.94e-05/0.1599, allocations: 59.97 kB / 0.4916 GB, free: 8.281 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000181/0.1601, allocations: 190.8 kB / 0.4918 GB, free: 8.027 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002909/0.1604, allocations: 263 kB / 0.492 GB, free: 7.703 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.1604, allocations: 4 kB / 0.492 GB, free: 7.699 MB / 382.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004731/0.1609, allocations: 293.3 kB / 0.4923 GB, free: 7.406 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.1609, allocations: 4 kB / 0.4923 GB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.1609, allocations: 12.03 kB / 0.4923 GB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.1609, allocations: 4 kB / 0.4923 GB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002463/0.1612, allocations: 71.84 kB / 0.4924 GB, free: 7.316 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.322e-05/0.1612, allocations: 7.984 kB / 0.4924 GB, free: 7.309 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001772/0.1614, allocations: 15.94 kB / 0.4924 GB, free: 7.293 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.15e-05/0.1614, allocations: 16 kB / 0.4924 GB, free: 7.277 MB / 382.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.0002439/0.1617, allocations: 189.6 kB / 0.4926 GB, free: 7.082 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.408e-05/0.1618, allocations: 35.53 kB / 0.4926 GB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002968/0.1621, allocations: 168.8 kB / 0.4928 GB, free: 6.871 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.1621, allocations: 4 kB / 0.4928 GB, free: 6.867 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.1621, allocations: 0 / 0.4928 GB, free: 6.867 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.1621, allocations: 0 / 0.4928 GB, free: 6.867 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006762/0.1628, allocations: 0.5341 MB / 0.4933 GB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.1628, allocations: 0 / 0.4933 GB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001886/0.163, allocations: 35.92 kB / 0.4934 GB, free: 6.238 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.666e-06/0.163, allocations: 7.984 kB / 0.4934 GB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/0.163, allocations: 12.02 kB / 0.4934 GB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.1631, allocations: 4 kB / 0.4934 GB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.1631, allocations: 3.938 kB / 0.4934 GB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004295/0.1635, allocations: 395.8 kB / 0.4938 GB, free: 5.801 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.23e-05/0.1636, allocations: 112.7 kB / 0.4939 GB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.589e-05/0.1637, allocations: 8 kB / 0.4939 GB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001677/0.1638, allocations: 7.938 kB / 0.4939 GB, free: 5.656 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.933e-05/0.1639, allocations: 11.98 kB / 0.4939 GB, free: 5.645 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.1639, allocations: 4 kB / 0.4939 GB, free: 5.641 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002681/0.1642, allocations: 251.2 kB / 0.4941 GB, free: 5.398 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1642, allocations: 0 / 0.4941 GB, free: 5.398 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004474/0.1646, allocations: 76 kB / 0.4942 GB, free: 5.324 MB / 382.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.0001214/0.1648, allocations: 107.2 kB / 0.4943 GB, free: 5.211 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003083/0.1651, allocations: 152.2 kB / 0.4945 GB, free: 5.062 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.1651, allocations: 3.938 kB / 0.4945 GB, free: 5.059 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.859e-05/0.1652, allocations: 53.17 kB / 0.4945 GB, free: 5.008 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000735/0.1659, allocations: 106.1 kB / 0.4946 GB, free: 4.902 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001567/0.1675, allocations: 0.9086 MB / 0.4955 GB, free: 3.949 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004667/0.168, allocations: 0.8425 MB / 0.4963 GB, free: 3.082 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.829e-05/0.1681, allocations: 31.44 kB / 0.4964 GB, free: 3.051 MB / 382.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1681, allocations: 0 / 0.4964 GB, free: 3.051 MB / 382.1 MB Notification: Performance of Templates: time 0.008663/0.1767, allocations: 4.65 MB / 0.5009 GB, free: 14.39 MB / 398.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)