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.001442/0.001442, allocations: 105.6 kB / 17.59 MB, free: 5.441 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.002007/0.002006, allocations: 183.6 kB / 18.51 MB, free: 4.523 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.482/1.482, allocations: 222.9 MB / 242.2 MB, free: 15.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1724/0.1724, allocations: 38.02 MB / 330.4 MB, free: 8.809 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 63.27 kB / 399.5 MB, free: 34.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1056, allocations: 58.06 MB / 457.5 MB, free: 8.086 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Frequency): time 0.006915/0.1126, allocations: 5.44 MB / 463 MB, free: 2.621 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002019/0.1147, allocations: 1.103 MB / 464.1 MB, free: 1.516 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002912/0.115, allocations: 19.88 kB / 464.1 MB, free: 1.496 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002718/0.1153, allocations: 79.22 kB / 464.2 MB, free: 1.418 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007607/0.1161, allocations: 302.3 kB / 464.5 MB, free: 1.121 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003274/0.1164, allocations: 139.8 kB / 464.6 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006759/0.1171, allocations: 0.6968 MB / 465.3 MB, free: 292 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002889/0.1174, allocations: 176.7 kB / 465.5 MB, free: 108 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004453/0.1179, allocations: 306.6 kB / 465.8 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005051/0.1184, allocations: 330.7 kB / 466.1 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.423e-05/0.1185, allocations: 32 kB / 466.1 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.532e-05/0.1186, allocations: 40 kB / 466.2 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001629/0.1187, allocations: 155.5 kB / 466.3 MB, free: 15.26 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002356/0.119, allocations: 242.7 kB / 466.5 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004737/0.1195, allocations: 490.2 kB / 467 MB, free: 14.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.1195, allocations: 0 / 467 MB, free: 14.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.1195, allocations: 0 / 467 MB, free: 14.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.308e-05/0.1195, allocations: 0 / 467 MB, free: 14.54 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.001368/0.1209, allocations: 0.7813 MB / 467.8 MB, free: 13.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.1209, allocations: 15.88 kB / 467.8 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.761e-05/0.121, allocations: 56.28 kB / 467.9 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006093/0.1216, allocations: 440 kB / 468.3 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.828e-05/0.1217, allocations: 29 kB / 468.3 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.671e-05/0.1218, allocations: 36 kB / 468.4 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006105/0.1224, allocations: 451.6 kB / 468.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.1224, allocations: 3.984 kB / 468.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.538e-05/0.1224, allocations: 16 kB / 468.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/0.1225, allocations: 12 kB / 468.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004654/0.1229, allocations: 308.7 kB / 469.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002073/0.125, allocations: 1.767 MB / 470.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002312/0.1253, allocations: 151.6 kB / 471.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.639e-05/0.1254, allocations: 58.67 kB / 471.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.1254, allocations: 0 / 471.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.1254, allocations: 34.56 kB / 471.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.603e-06/0.1254, allocations: 4 kB / 471.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.001017/0.1265, allocations: 0.6079 MB / 471.8 MB, free: 9.473 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.355e-05/0.1265, allocations: 102.8 kB / 471.9 MB, free: 9.348 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003576/0.1269, allocations: 381.4 kB / 472.2 MB, free: 8.961 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.1269, allocations: 33.64 kB / 472.3 MB, free: 8.922 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001711/0.1271, allocations: 287.5 kB / 472.5 MB, free: 8.633 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.569e-05/0.1272, allocations: 55.2 kB / 472.6 MB, free: 8.578 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.217e-05/0.1273, allocations: 57.61 kB / 472.7 MB, free: 8.516 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.1274, allocations: 346.8 kB / 473 MB, free: 8.168 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.129e-05/0.1275, allocations: 51.97 kB / 473 MB, free: 8.117 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001896/0.1277, allocations: 194.5 kB / 473.2 MB, free: 7.859 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003096/0.128, allocations: 262.6 kB / 473.5 MB, free: 7.535 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.128, allocations: 0 / 473.5 MB, free: 7.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004239/0.1284, allocations: 292.9 kB / 473.8 MB, free: 7.242 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.1285, allocations: 8 kB / 473.8 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.557e-06/0.1285, allocations: 7.938 kB / 473.8 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.1285, allocations: 8 kB / 473.8 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000255/0.1288, allocations: 63.91 kB / 473.9 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.714e-05/0.1288, allocations: 11.94 kB / 473.9 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000172/0.129, allocations: 20.38 kB / 473.9 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.252e-05/0.129, allocations: 19.98 kB / 473.9 MB, free: 7.105 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.0001954/0.1292, allocations: 181.6 kB / 474.1 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.527e-05/0.1293, allocations: 39.52 kB / 474.1 MB, free: 6.879 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002981/0.1296, allocations: 164.8 kB / 474.3 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.1296, allocations: 4 kB / 474.3 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.1296, allocations: 0 / 474.3 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.1296, allocations: 4 kB / 474.3 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00067/0.1303, allocations: 0.5303 MB / 474.8 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.1303, allocations: 4 kB / 474.8 MB, free: 6.109 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001887/0.1305, allocations: 35.92 kB / 474.9 MB, free: 6.074 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.1305, allocations: 0 / 474.9 MB, free: 6.074 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.1305, allocations: 8 kB / 474.9 MB, free: 6.066 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.1306, allocations: 4.812 kB / 474.9 MB, free: 6.062 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.1306, allocations: 3.938 kB / 474.9 MB, free: 6.059 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004153/0.131, allocations: 402.2 kB / 475.3 MB, free: 5.645 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.929e-05/0.1311, allocations: 112.6 kB / 475.4 MB, free: 5.516 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.836e-05/0.1311, allocations: 12 kB / 475.4 MB, free: 5.504 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001633/0.1313, allocations: 3.938 kB / 475.4 MB, free: 5.5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.441e-05/0.1313, allocations: 16.08 kB / 475.4 MB, free: 5.484 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.1314, allocations: 7.938 kB / 475.4 MB, free: 5.477 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002623/0.1316, allocations: 255.2 kB / 475.7 MB, free: 5.234 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1316, allocations: 0 / 475.7 MB, free: 5.234 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004309/0.1321, allocations: 72 kB / 475.7 MB, free: 5.164 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.0001058/0.1322, allocations: 107.1 kB / 475.8 MB, free: 5.051 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002916/0.1325, allocations: 164.8 kB / 476 MB, free: 4.891 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1325, allocations: 0 / 476 MB, free: 4.891 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.924e-05/0.1326, allocations: 59.86 kB / 476.1 MB, free: 4.832 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006844/0.1333, allocations: 86.72 kB / 476.2 MB, free: 4.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001414/0.1347, allocations: 0.9129 MB / 477.1 MB, free: 3.789 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003839/0.1351, allocations: 0.8465 MB / 477.9 MB, free: 2.918 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.357e-05/0.1352, allocations: 31.44 kB / 477.9 MB, free: 2.887 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1352, allocations: 0 / 477.9 MB, free: 2.887 MB / 350.1 MB Notification: Performance of Templates: time 0.007448/0.1426, allocations: 4.602 MB / 482.5 MB, free: 14.3 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)