Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.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.Generic.Test.AdmittanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest") translateModel(PowerSystems.Examples.Generic.Test.AdmittanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 99.27 kB / 16.51 MB, free: 6.656 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.001432/0.001432, allocations: 195.1 kB / 17.42 MB, free: 6.062 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.459/1.459, allocations: 222.9 MB / 241.1 MB, free: 15.33 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1861/0.1861, allocations: 38.03 MB / 329.3 MB, free: 8.996 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00113/0.00113, allocations: 66.23 kB / 398.1 MB, free: 34.47 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1091, allocations: 58.06 MB / 456.2 MB, free: 8.504 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.005062/0.1142, allocations: 3.666 MB / 459.8 MB, free: 4.812 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00215/0.1164, allocations: 1.516 MB / 461.3 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000185/0.1166, allocations: 7.938 kB / 461.3 MB, free: 3.281 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007191/0.1173, allocations: 239.2 kB / 461.6 MB, free: 3.047 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006138/0.118, allocations: 267.1 kB / 461.8 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002941/0.1183, allocations: 95.81 kB / 461.9 MB, free: 2.691 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005437/0.1188, allocations: 0.5573 MB / 462.5 MB, free: 2.133 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002986/0.1191, allocations: 142.1 kB / 462.6 MB, free: 1.992 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002364/0.1194, allocations: 131.4 kB / 462.8 MB, free: 1.863 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002633/0.1197, allocations: 167.4 kB / 462.9 MB, free: 1.699 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.74e-05/0.1197, allocations: 12 kB / 462.9 MB, free: 1.688 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005862/0.1203, allocations: 375.1 kB / 463.3 MB, free: 1.32 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.1204, allocations: 95.75 kB / 463.4 MB, free: 1.227 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000119/0.1205, allocations: 107.4 kB / 463.5 MB, free: 1.121 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004917/0.121, allocations: 367 kB / 463.9 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.1211, allocations: 3.938 kB / 463.9 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of FrontEnd: time 8.91e-07/0.1211, allocations: 0 / 463.9 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.164e-06/0.1211, allocations: 3.938 kB / 463.9 MB, free: 0.7539 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007333/0.1218, allocations: 0.5026 MB / 464.4 MB, free: 208 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.1219, allocations: 8.031 kB / 464.4 MB, free: 200 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009144/0.1228, allocations: 92.56 kB / 464.5 MB, free: 108 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003473/0.1232, allocations: 262.7 kB / 464.7 MB, free: 15.81 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.199e-05/0.1232, allocations: 12.33 kB / 464.7 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.941e-05/0.1232, allocations: 23.94 kB / 464.8 MB, free: 15.78 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005167/0.1238, allocations: 318.3 kB / 465.1 MB, free: 15.44 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.1238, allocations: 0 / 465.1 MB, free: 15.44 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.669e-05/0.1238, allocations: 11.98 kB / 465.1 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.375e-05/0.1239, allocations: 12 kB / 465.1 MB, free: 15.42 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004424/0.1243, allocations: 295.7 kB / 465.4 MB, free: 15.13 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001645/0.126, allocations: 1.285 MB / 466.7 MB, free: 13.74 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003892/0.1264, allocations: 246.3 kB / 466.9 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001443/0.1265, allocations: 61.62 kB / 467 MB, free: 13.4 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.319e-05/0.1266, allocations: 0 / 467 MB, free: 13.4 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.1266, allocations: 34.56 kB / 467 MB, free: 13.36 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.082e-06/0.1266, allocations: 0 / 467 MB, free: 13.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006008/0.1272, allocations: 291.9 kB / 467.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.115e-05/0.1273, allocations: 81.05 kB / 467.4 MB, free: 12.97 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001748/0.1275, allocations: 202.2 kB / 467.6 MB, free: 12.76 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.1275, allocations: 25.7 kB / 467.6 MB, free: 12.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.1276, allocations: 159.8 kB / 467.7 MB, free: 12.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.235e-05/0.1277, allocations: 51.3 kB / 467.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.129e-05/0.1277, allocations: 53.55 kB / 467.8 MB, free: 12.46 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.1279, allocations: 322.8 kB / 468.2 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.33e-05/0.128, allocations: 52 kB / 468.2 MB, free: 12.08 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001479/0.1281, allocations: 137.7 kB / 468.3 MB, free: 11.9 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002621/0.1284, allocations: 220.6 kB / 468.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1284, allocations: 0 / 468.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003345/0.1288, allocations: 229.1 kB / 468.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.1288, allocations: 4 kB / 468.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.1288, allocations: 7.938 kB / 468.8 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.1288, allocations: 4 kB / 468.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001611/0.129, allocations: 51.91 kB / 468.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/0.129, allocations: 8.422 kB / 468.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000113/0.1291, allocations: 12 kB / 468.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.1292, allocations: 12 kB / 468.9 MB, free: 11.31 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (25): * Single equations (assignments): 25 * 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.000141/0.1293, allocations: 154.1 kB / 469 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.004e-05/0.1293, allocations: 15.81 kB / 469 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002503/0.1296, allocations: 155.1 kB / 469.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.1296, allocations: 4 kB / 469.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.1296, allocations: 3.938 kB / 469.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.1296, allocations: 3.984 kB / 469.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00088/0.1305, allocations: 0.6651 MB / 469.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.1305, allocations: 4 kB / 469.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001072/0.1307, allocations: 31.86 kB / 469.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.89e-05/0.1307, allocations: 8 kB / 469.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.017e-05/0.1307, allocations: 12.06 kB / 469.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.973e-06/0.1307, allocations: 7.984 kB / 469.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.1307, allocations: 4.438 kB / 469.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003407/0.1311, allocations: 334.2 kB / 470.3 MB, free: 9.758 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.155e-05/0.1312, allocations: 100.8 kB / 470.4 MB, free: 9.641 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.622e-05/0.1312, allocations: 12 kB / 470.4 MB, free: 9.629 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001283/0.1313, allocations: 8 kB / 470.4 MB, free: 9.621 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.693e-05/0.1314, allocations: 15.92 kB / 470.4 MB, free: 9.605 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.1314, allocations: 8 kB / 470.4 MB, free: 9.598 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001364/0.1316, allocations: 152.3 kB / 470.6 MB, free: 9.449 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.1316, allocations: 0 / 470.6 MB, free: 9.449 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003785/0.1319, allocations: 44 kB / 470.6 MB, free: 9.406 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 simulation (15): * Single equations (assignments): 14 * 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.0001127/0.1321, allocations: 107.1 kB / 470.7 MB, free: 9.293 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002788/0.1324, allocations: 135.7 kB / 470.8 MB, free: 9.16 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/0.1324, allocations: 0.875 kB / 470.8 MB, free: 9.16 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.1325, allocations: 72.16 kB / 470.9 MB, free: 9.09 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004651/0.1329, allocations: 35.98 kB / 470.9 MB, free: 9.055 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009563/0.1339, allocations: 0.5721 MB / 471.5 MB, free: 8.414 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004352/0.1344, allocations: 0.7596 MB / 472.3 MB, free: 7.625 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001514/0.1345, allocations: 49.53 kB / 472.3 MB, free: 7.574 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.045e-05/0.1346, allocations: 15.44 kB / 472.3 MB, free: 7.559 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1346, allocations: 0 / 472.3 MB, free: 7.559 MB / 350.1 MB Notification: Performance of Templates: time 0.004236/0.1388, allocations: 1.271 MB / 473.6 MB, free: 6.293 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe 2>&1)