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.001117/0.001122, allocations: 110.9 kB / 17.73 MB, free: 5.348 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.001209/0.00121, allocations: 192.5 kB / 18.66 MB, free: 4.422 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.216/1.216, allocations: 205.1 MB / 224.5 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.1652/0.1652, allocations: 37.97 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.001355/0.001355, allocations: 75.89 kB / 432.5 MB, free: 15.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08652/0.08789, allocations: 55.24 MB / 487.8 MB, free: 8.363 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.004613/0.09255, allocations: 3.45 MB / 491.2 MB, free: 4.887 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002024/0.0946, allocations: 1.485 MB / 492.7 MB, free: 3.391 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001459/0.09477, allocations: 11.94 kB / 492.7 MB, free: 3.379 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008/0.09558, allocations: 259 kB / 493 MB, free: 3.125 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006473/0.09624, allocations: 275 kB / 493.2 MB, free: 2.855 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002938/0.09654, allocations: 111.7 kB / 493.3 MB, free: 2.746 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004081/0.09696, allocations: 339 kB / 493.7 MB, free: 2.414 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002898/0.09726, allocations: 137.9 kB / 493.8 MB, free: 2.281 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002698/0.09754, allocations: 151.4 kB / 494 MB, free: 2.133 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002495/0.0978, allocations: 147.5 kB / 494.1 MB, free: 1.988 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.915e-05/0.09784, allocations: 12 kB / 494.1 MB, free: 1.977 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004964/0.09834, allocations: 323.2 kB / 494.4 MB, free: 1.66 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.09847, allocations: 95.77 kB / 494.5 MB, free: 1.566 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001335/0.09861, allocations: 111.5 kB / 494.6 MB, free: 1.457 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005804/0.0992, allocations: 343 kB / 495 MB, free: 1.121 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.09921, allocations: 0 / 495 MB, free: 1.121 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.09922, allocations: 0 / 495 MB, free: 1.121 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.118e-06/0.09923, allocations: 0 / 495 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.0007791/0.1, allocations: 0.5065 MB / 495.5 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.1001, allocations: 15.89 kB / 495.5 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009558/0.101, allocations: 92.55 kB / 495.6 MB, free: 472 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003432/0.1014, allocations: 260.4 kB / 495.8 MB, free: 172 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.1014, allocations: 16.36 kB / 495.8 MB, free: 156 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.824e-05/0.1015, allocations: 20.12 kB / 495.9 MB, free: 136 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000497/0.102, allocations: 330.1 kB / 496.2 MB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.102, allocations: 7.938 kB / 496.2 MB, free: 15.78 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.303e-05/0.102, allocations: 7.984 kB / 496.2 MB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.778e-05/0.1021, allocations: 12 kB / 496.2 MB, free: 15.76 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004092/0.1025, allocations: 287.8 kB / 496.5 MB, free: 15.48 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00155/0.104, allocations: 1.277 MB / 497.8 MB, free: 14.1 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003657/0.1044, allocations: 238.3 kB / 498 MB, free: 13.83 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.949e-05/0.1045, allocations: 53.75 kB / 498.1 MB, free: 13.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.1045, allocations: 7.938 kB / 498.1 MB, free: 13.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.1046, allocations: 38.5 kB / 498.1 MB, free: 13.72 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.674e-06/0.1046, allocations: 4 kB / 498.1 MB, free: 13.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005772/0.1052, allocations: 292.2 kB / 498.4 MB, free: 13.42 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.819e-05/0.1052, allocations: 77.11 kB / 498.5 MB, free: 13.33 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001687/0.1054, allocations: 202.6 kB / 498.7 MB, free: 13.12 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.1054, allocations: 25.7 kB / 498.7 MB, free: 13.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.439e-05/0.1055, allocations: 159.8 kB / 498.9 MB, free: 12.93 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.386e-05/0.1056, allocations: 43.34 kB / 498.9 MB, free: 12.89 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.419e-05/0.1056, allocations: 45.83 kB / 498.9 MB, free: 12.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.1057, allocations: 334.8 kB / 499.3 MB, free: 12.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.763e-05/0.1058, allocations: 47.91 kB / 499.3 MB, free: 12.45 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001295/0.106, allocations: 148.8 kB / 499.5 MB, free: 12.26 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002441/0.1062, allocations: 212.6 kB / 499.7 MB, free: 12.01 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1062, allocations: 4 kB / 499.7 MB, free: 12 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003342/0.1066, allocations: 229.8 kB / 499.9 MB, free: 11.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.1066, allocations: 8 kB / 499.9 MB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.1066, allocations: 4.438 kB / 499.9 MB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.1066, allocations: 4 kB / 499.9 MB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.1068, allocations: 51.91 kB / 500 MB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.1068, allocations: 4 kB / 500 MB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001015/0.1069, allocations: 11.91 kB / 500 MB, free: 11.69 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.74e-05/0.1069, allocations: 11.94 kB / 500 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.0001346/0.1071, allocations: 157.8 kB / 0.4884 GB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.897e-05/0.1071, allocations: 23.73 kB / 0.4884 GB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002453/0.1074, allocations: 151.1 kB / 0.4886 GB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.1074, allocations: 8 kB / 0.4886 GB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1074, allocations: 0 / 0.4886 GB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.1074, allocations: 0 / 0.4886 GB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007653/0.1082, allocations: 0.6611 MB / 0.4892 GB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.1082, allocations: 4 kB / 0.4892 GB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.816e-05/0.1083, allocations: 31.92 kB / 0.4893 GB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/0.1083, allocations: 7.938 kB / 0.4893 GB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.1083, allocations: 8.438 kB / 0.4893 GB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-05/0.1084, allocations: 15.92 kB / 0.4893 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.1084, allocations: 7.938 kB / 0.4893 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002898/0.1087, allocations: 327.2 kB / 0.4896 GB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.725e-05/0.1087, allocations: 108.8 kB / 0.4897 GB, free: 9.992 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.489e-05/0.1088, allocations: 4 kB / 0.4897 GB, free: 9.988 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.1089, allocations: 8 kB / 0.4897 GB, free: 9.98 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.115e-05/0.1089, allocations: 19.86 kB / 0.4898 GB, free: 9.961 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/0.109, allocations: 15.98 kB / 0.4898 GB, free: 9.945 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001252/0.1091, allocations: 148.3 kB / 0.4899 GB, free: 9.801 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1091, allocations: 4 kB / 0.4899 GB, free: 9.797 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003343/0.1094, allocations: 44 kB / 0.49 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.961e-05/0.1095, allocations: 99.19 kB / 0.4901 GB, free: 9.648 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002412/0.1098, allocations: 148.4 kB / 0.4902 GB, free: 9.504 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.1098, allocations: 4.188 kB / 0.4902 GB, free: 9.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.361e-05/0.1099, allocations: 63.84 kB / 0.4903 GB, free: 9.438 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004083/0.1103, allocations: 51.52 kB / 0.4903 GB, free: 9.387 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007994/0.1111, allocations: 0.5295 MB / 0.4908 GB, free: 8.785 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/0.1114, allocations: 0.7515 MB / 0.4916 GB, free: 8.008 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.057e-05/0.1115, allocations: 23.42 kB / 0.4916 GB, free: 7.984 MB / 382.1 MB Notification: Performance of SimCode: time 1.813e-06/0.1115, allocations: 0 / 0.4916 GB, free: 7.984 MB / 382.1 MB Notification: Performance of Templates: time 0.003925/0.1154, allocations: 2.315 MB / 0.4938 GB, free: 5.664 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)