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 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.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.001534/0.001534, allocations: 114.2 kB / 17.75 MB, free: 5.355 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.001781/0.001781, allocations: 185.4 kB / 18.68 MB, free: 4.434 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.315/1.315, allocations: 205.1 MB / 224.6 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1712/0.1712, allocations: 37.99 MB / 309.9 MB, free: 5.977 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.001388/0.001388, allocations: 75.89 kB / 432.5 MB, free: 15.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09858/0.09997, allocations: 55.24 MB / 487.8 MB, free: 8.367 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.004423/0.1044, allocations: 3.446 MB / 491.2 MB, free: 4.895 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001901/0.1064, allocations: 1.489 MB / 492.7 MB, free: 3.395 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.1065, allocations: 11.94 kB / 492.7 MB, free: 3.383 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007771/0.1073, allocations: 251 kB / 493 MB, free: 3.137 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005161/0.1078, allocations: 286.9 kB / 493.2 MB, free: 2.855 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002496/0.108, allocations: 107.7 kB / 493.4 MB, free: 2.75 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003595/0.1084, allocations: 339.1 kB / 493.7 MB, free: 2.418 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002712/0.1087, allocations: 129.9 kB / 493.8 MB, free: 2.293 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001989/0.1089, allocations: 151.4 kB / 494 MB, free: 2.145 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000207/0.1091, allocations: 155.5 kB / 494.1 MB, free: 1.992 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.633e-05/0.1092, allocations: 16 kB / 494.1 MB, free: 1.977 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004092/0.1096, allocations: 311.2 kB / 494.4 MB, free: 1.672 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001059/0.1097, allocations: 99.75 kB / 494.5 MB, free: 1.574 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001084/0.1098, allocations: 99.48 kB / 494.6 MB, free: 1.477 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004026/0.1102, allocations: 350.9 kB / 495 MB, free: 1.133 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1102, allocations: 0 / 495 MB, free: 1.133 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.286e-06/0.1102, allocations: 3.984 kB / 495 MB, free: 1.129 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.706e-06/0.1103, allocations: 0 / 495 MB, free: 1.129 MB / 366.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.0006227/0.1109, allocations: 0.4948 MB / 495.5 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.1109, allocations: 23.81 kB / 495.5 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008449/0.1118, allocations: 96.53 kB / 495.6 MB, free: 480 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003298/0.1121, allocations: 264.4 kB / 495.8 MB, free: 176 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.1121, allocations: 16.38 kB / 495.9 MB, free: 160 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.305e-05/0.1122, allocations: 20.12 kB / 495.9 MB, free: 140 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004566/0.1127, allocations: 322.2 kB / 496.2 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.1127, allocations: 0 / 496.2 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.576e-05/0.1127, allocations: 15.94 kB / 496.2 MB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.312e-05/0.1128, allocations: 15.98 kB / 496.2 MB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004037/0.1132, allocations: 283.8 kB / 496.5 MB, free: 15.49 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001531/0.1147, allocations: 1.289 MB / 497.8 MB, free: 14.1 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003651/0.1151, allocations: 230.4 kB / 498 MB, free: 13.84 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.162e-05/0.1152, allocations: 57.75 kB / 498.1 MB, free: 13.78 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.431e-05/0.1152, allocations: 11.88 kB / 498.1 MB, free: 13.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.1152, allocations: 34.56 kB / 498.1 MB, free: 13.72 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.1152, allocations: 0 / 498.1 MB, free: 13.72 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005777/0.1158, allocations: 292.7 kB / 498.4 MB, free: 13.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/0.1159, allocations: 81.11 kB / 498.5 MB, free: 13.33 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001565/0.116, allocations: 190.7 kB / 498.7 MB, free: 13.14 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.1161, allocations: 33.7 kB / 498.7 MB, free: 13.1 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.547e-05/0.1162, allocations: 159.8 kB / 498.9 MB, free: 12.94 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.413e-05/0.1162, allocations: 43.48 kB / 498.9 MB, free: 12.89 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.842e-05/0.1163, allocations: 45.7 kB / 498.9 MB, free: 12.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.1164, allocations: 326.8 kB / 499.3 MB, free: 12.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.586e-05/0.1165, allocations: 51.91 kB / 499.3 MB, free: 12.46 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001385/0.1166, allocations: 148.8 kB / 499.5 MB, free: 12.27 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002307/0.1169, allocations: 220.6 kB / 499.7 MB, free: 12.01 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1169, allocations: 0 / 499.7 MB, free: 12.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003009/0.1172, allocations: 221.1 kB / 499.9 MB, free: 11.79 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.1172, allocations: 8.438 kB / 499.9 MB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.1172, allocations: 12.06 kB / 499.9 MB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.1172, allocations: 4 kB / 499.9 MB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001572/0.1174, allocations: 47.92 kB / 500 MB, free: 11.72 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.1174, allocations: 11.92 kB / 500 MB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001015/0.1175, allocations: 7.906 kB / 500 MB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.75e-05/0.1175, allocations: 12 kB / 500 MB, free: 11.69 MB / 382.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.00013/0.1177, allocations: 157.7 kB / 0.4884 GB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.038e-05/0.1177, allocations: 19.75 kB / 0.4884 GB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002509/0.118, allocations: 159.1 kB / 0.4886 GB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.118, allocations: 0 / 0.4886 GB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.118, allocations: 0 / 0.4886 GB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.622e-05/0.1181, allocations: 96.91 kB / 0.4887 GB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.437e-05/0.1181, allocations: 0 / 0.4887 GB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.789e-05/0.1182, allocations: 11.94 kB / 0.4887 GB, free: 11.22 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.166e-05/0.1182, allocations: 11.92 kB / 0.4887 GB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002885/0.1185, allocations: 308.1 kB / 0.489 GB, free: 10.9 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002676/0.1188, allocations: 401.8 kB / 0.4894 GB, free: 10.49 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.792e-05/0.1189, allocations: 51.97 kB / 0.4894 GB, free: 10.44 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.541e-05/0.119, allocations: 140.3 kB / 0.4896 GB, free: 10.3 MB / 382.1 MB Notification: Performance of Backend: time 4.01e-07/0.119, allocations: 0 / 0.4896 GB, free: 10.3 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007988/0.1198, allocations: 318.6 kB / 0.4899 GB, free: 9.984 MB / 382.1 MB Notification: Performance of SimCode: time 0.0007817/0.1206, allocations: 0.8521 MB / 0.4907 GB, free: 9.086 MB / 382.1 MB Notification: Performance of Templates: time 0.005572/0.1262, allocations: 2.794 MB / 0.4934 GB, free: 6.289 MB / 382.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)