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.001236/0.001236, allocations: 100.9 kB / 17.06 MB, free: 6.145 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.001166/0.001166, allocations: 195 kB / 18 MB, free: 5.219 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.224/1.224, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1628/0.1628, allocations: 37.98 MB / 309.2 MB, free: 5.945 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.001286/0.001287, allocations: 67.91 kB / 431.9 MB, free: 15.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08727/0.08856, allocations: 55.25 MB / 487.1 MB, free: 8.348 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.004151/0.09275, allocations: 3.435 MB / 490.5 MB, free: 4.887 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001809/0.09459, allocations: 1.489 MB / 492 MB, free: 3.387 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000114/0.09472, allocations: 8 kB / 492 MB, free: 3.379 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007609/0.09549, allocations: 262.9 kB / 492.3 MB, free: 3.121 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005181/0.09602, allocations: 275 kB / 492.6 MB, free: 2.852 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002587/0.09629, allocations: 111.7 kB / 492.7 MB, free: 2.742 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003305/0.09663, allocations: 331.1 kB / 493 MB, free: 2.418 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002562/0.0969, allocations: 137.9 kB / 493.1 MB, free: 2.285 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002061/0.09711, allocations: 155.4 kB / 493.3 MB, free: 2.133 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000201/0.09732, allocations: 147.5 kB / 493.4 MB, free: 1.988 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.488e-05/0.09736, allocations: 16 kB / 493.4 MB, free: 1.973 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004052/0.09777, allocations: 315.2 kB / 493.7 MB, free: 1.664 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.339e-05/0.09787, allocations: 91.77 kB / 493.8 MB, free: 1.574 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001121/0.09799, allocations: 115.4 kB / 494 MB, free: 1.461 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003864/0.09838, allocations: 339 kB / 494.3 MB, free: 1.129 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.696e-06/0.0984, allocations: 3.938 kB / 494.3 MB, free: 1.125 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.0984, allocations: 0 / 494.3 MB, free: 1.125 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.09841, allocations: 4 kB / 494.3 MB, free: 1.121 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.0005885/0.09901, allocations: 0.5064 MB / 494.8 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.09905, allocations: 11.89 kB / 494.8 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008019/0.09986, allocations: 100.5 kB / 494.9 MB, free: 468 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003034/0.1002, allocations: 264.5 kB / 495.2 MB, free: 164 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.1002, allocations: 8.375 kB / 495.2 MB, free: 156 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.049e-05/0.1002, allocations: 20.12 kB / 495.2 MB, free: 136 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004297/0.1007, allocations: 330.2 kB / 495.5 MB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.1007, allocations: 3.938 kB / 495.5 MB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.333e-05/0.1007, allocations: 8 kB / 495.5 MB, free: 15.78 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.972e-05/0.1008, allocations: 15.98 kB / 495.5 MB, free: 15.76 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003832/0.1012, allocations: 287.8 kB / 495.8 MB, free: 15.48 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001407/0.1026, allocations: 1.277 MB / 497.1 MB, free: 14.1 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003574/0.1029, allocations: 250.3 kB / 497.3 MB, free: 13.82 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.464e-05/0.103, allocations: 49.77 kB / 497.4 MB, free: 13.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.1031, allocations: 3.938 kB / 497.4 MB, free: 13.76 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.1031, allocations: 42.55 kB / 497.4 MB, free: 13.71 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.483e-06/0.1031, allocations: 4 kB / 497.4 MB, free: 13.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005323/0.1036, allocations: 284.8 kB / 497.7 MB, free: 13.42 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.389e-05/0.1037, allocations: 81.11 kB / 497.8 MB, free: 13.32 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/0.1038, allocations: 198.6 kB / 498 MB, free: 13.12 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.1039, allocations: 25.7 kB / 498 MB, free: 13.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.488e-05/0.104, allocations: 159.8 kB / 498.2 MB, free: 12.93 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.504e-05/0.104, allocations: 55.28 kB / 498.2 MB, free: 12.88 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.659e-05/0.1041, allocations: 41.72 kB / 498.3 MB, free: 12.83 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.183e-05/0.1042, allocations: 330.9 kB / 498.6 MB, free: 12.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.049e-05/0.1043, allocations: 55.91 kB / 498.6 MB, free: 12.44 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001141/0.1044, allocations: 132.9 kB / 498.8 MB, free: 12.27 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002249/0.1046, allocations: 220.6 kB / 499 MB, free: 12 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1046, allocations: 4 kB / 499 MB, free: 12 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002891/0.1049, allocations: 221.7 kB / 499.2 MB, free: 11.78 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.1049, allocations: 11.98 kB / 499.2 MB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1049, allocations: 0 / 499.2 MB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.105, allocations: 8.5 kB / 499.2 MB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001477/0.1051, allocations: 51.92 kB / 499.3 MB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.1051, allocations: 11.94 kB / 499.3 MB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.786e-05/0.1052, allocations: 11.91 kB / 499.3 MB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.782e-05/0.1053, allocations: 8 kB / 499.3 MB, free: 11.68 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.0001171/0.1054, allocations: 157.7 kB / 499.5 MB, free: 11.51 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.932e-05/0.1054, allocations: 19.75 kB / 499.5 MB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002311/0.1057, allocations: 159.2 kB / 499.6 MB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.1057, allocations: 0 / 499.6 MB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.1057, allocations: 8 kB / 499.7 MB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.1057, allocations: 0 / 499.7 MB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007294/0.1064, allocations: 0.6689 MB / 0.4886 GB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.1065, allocations: 4 kB / 0.4886 GB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.597e-05/0.1066, allocations: 23.98 kB / 0.4886 GB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.321e-06/0.1066, allocations: 7.938 kB / 0.4886 GB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.1066, allocations: 8 kB / 0.4886 GB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.1066, allocations: 8.375 kB / 0.4886 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.1066, allocations: 8 kB / 0.4887 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002714/0.1069, allocations: 339.2 kB / 0.489 GB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.184e-05/0.107, allocations: 100.9 kB / 0.4891 GB, free: 9.988 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.849e-05/0.107, allocations: 11.98 kB / 0.4891 GB, free: 9.977 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.1071, allocations: 4 kB / 0.4891 GB, free: 9.973 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.057e-05/0.1072, allocations: 23.86 kB / 0.4891 GB, free: 9.949 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.1072, allocations: 8 kB / 0.4891 GB, free: 9.941 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.989e-05/0.1073, allocations: 144.3 kB / 0.4893 GB, free: 9.801 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1073, allocations: 4 kB / 0.4893 GB, free: 9.797 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003285/0.1076, allocations: 44 kB / 0.4893 GB, free: 9.754 MB / 382.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 8.709e-05/0.1077, allocations: 107.2 kB / 0.4894 GB, free: 9.641 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002236/0.1079, allocations: 152.5 kB / 0.4895 GB, free: 9.492 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.108, allocations: 0 / 0.4895 GB, free: 9.492 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.891e-05/0.1081, allocations: 59.98 kB / 0.4896 GB, free: 9.434 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004113/0.1085, allocations: 47.56 kB / 0.4897 GB, free: 9.387 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000652/0.1091, allocations: 0.4926 MB / 0.4901 GB, free: 8.828 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002793/0.1094, allocations: 0.7632 MB / 0.4909 GB, free: 8.039 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001042/0.1095, allocations: 53.53 kB / 0.4909 GB, free: 7.984 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.126e-05/0.1096, allocations: 15.44 kB / 0.4909 GB, free: 7.969 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1096, allocations: 0 / 0.4909 GB, free: 7.969 MB / 382.1 MB Notification: Performance of Templates: time 0.003486/0.1131, allocations: 1.366 MB / 0.4923 GB, free: 6.602 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)